Re: debian-firewall: how do I let SMTP through with ipmasq ??
Thanks for taking the time to answer my questions. Tamas suggests the portfw
module which seems to make sense. I thought that was what "ipchains -A forward"
did but obviously it is a little different.
"ipmasqadm portfw" gives me the following syntax.
Usage: portfw -a -P PROTO -L LADDR LPORT -R RADDR RPORT [-p PREF]
Does xADDR need the netmask like IPCHAINS ? (eg. a.b.c.d/32 or
Can xPORT be a port range (eg. 1000:1100) ?
I assume I can redirect mail from a.b.c.d:25 to 192.168.0.5:25 with the
"ipmasqadm portfw -a P tcp -L a.b.c.d 25 -R 192.168.0.5 25"
Is this correct ?
Do I need to put this in a /etc/ipmasq/rules/.rul file somewhere (where ?) or is
the /etc/ipmasq/modules file the place for it ?
Will an entry of "portfw -a P tcp -L a.b.c.d 25 -R 192.168.0.5 25" in the modules
file do the trick ?
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com