[CentOS] You can't get there from here

Brian Mathis brian.mathis at gmail.com
Fri Jan 18 21:54:23 UTC 2008


On Jan 18, 2008 4:11 PM, Miark <mlist2 at gardnerbusiness.com> wrote:
> Having been accomodating about it in the past, the technical
> geniuses at Comcast have permanently blocked port 25, separating
> me (at my home office) from my employer's e-mail server.
>
> What can be done on the server side to keep Postfix listening on
> 25 _and_ accept my connections on some other port? Is there a
> Postfix solution? iptables maybe?
>
> Miark

A "simple" solution would be to use SSH port forwarding from your
system to the remote server.  You'd need SSH access to another server
outside of Comcast's network, like maybe one at work.  Then you would
use the SSH command line:
    ssh -L 2525:mailServer:25 -N username at remoteServer
where mailServer is the DNS name or IP address of the mail server, and
remoteServer is the server name you have ssh access to.  Then you set
your outgoing mail server to 127.0.0.1 port 2525.

The more complex solution is to set up a VPN between your office and
the work office.  Another option is to just use the Comcast mail
server for outgoing mail, depending on your requirements.



More information about the CentOS mailing list