Hey guys,
I'm trying to forward packs for smtp, pop3, bind, http, and squid
to an internal machine on my network. I'm running the 2.2.2 kernel
with all the firewalling/forwarding enabled. For some reason, it
just won't work. These are the rules I have set:
# default set to accept for testing purposes
ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
# Log all tcp connections to port 25
ipchains -A input -j ACCEPT -P tcp -s 0.0.0.0/0 25 -d GatewayAddress/32
25 -l
# Just trying to get one of them to work first, then I'll do the rest
ipmasqadm portfw -a -P tcp -L GatewayAddress 25 -R ServerAddress 25
If I go to another machine and telnet to GatewayAddress port 25, it just
sits there
until it times out. The machine I telnet from will show "SYN sent" to
GatewayAddress:smtp
in netstat. The logs in the gateway don't show any connection to port 25,
nor does netstat.
It does this no matter what machine I use as the ServerAddress or what
machine I telnet from.
Am I supposed to use ipmasqadm under 2.2, or is there something else I
should be using? Anyone have any ideas?
Thanks,
John
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]