Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Reggae on July 16, 2005, 12:14:42 PM

Title: port 25 help needed urgently
Post by: Reggae on July 16, 2005, 12:14:42 PM
Hi all
New ISP and port 25 is blocked, but only for incoming traffic. I've searched the forum and tried the following:
installed redir and added:
"/usr/local/bin/redir --lport=2525 --laddr=82.143.221.xxx --cport=25 --caddr=127.0.0.1 --transproxy"
to /etc/rc.d/rc.local
Also opened port 2525 both TCP and UDP in the firewall.
At GratisDns i set up a MX-backup/portforward.
Still I'm not recieving mail.
telnet localhost:25 responds
telnet from outside on 25 times out
telnet from outside on 2525 responds but "connectition closed by foreign host"
What am I doing wrong?
Title: port 25 help needed urgently
Post by: Reggae on July 17, 2005, 03:01:12 PM
A restart of the spamfilter and all is honky dory :-D
Title: Re: port 25 help needed urgently
Post by: TrevorB on July 23, 2005, 07:38:51 AM
Quote from: "Reggae"
Hi all
New ISP and port 25 is blocked, but only for incoming traffic. I've searched the forum and tried the following:
installed redir and added:
"/usr/local/bin/redir --lport=2525 --laddr=82.143.221.xxx --cport=25 --caddr=127.0.0.1 --transproxy"
to /etc/rc.d/rc.local

I would suggest that you make the --caddr=82.143.221.xxx as well (otherwise the external interface looks like an internal to smeserver).

Trevor B
PS. This does work...