G'day,
I'm having a little trouble getting our mail gateway to forward pop and web access
requests to an internal machine. I have used ipchains and ipmasqadm to forward port 80
and port 110 to the internal machine, but it wont actually forward. I have enabled ip
forwarding by setting /proc/sys/net/ipv4/ip_forward to 1.
These are the settings I have used, and for testing purposes, they are the only
ipchains and ipmasqadm commands that have been used.
ipchains -I input -p tcp -y -d $externalip 110 -m 1
ipmasqadm mfw -I -m 1 -r $internalip 110
ipchains -I input -p tcp -y -s 0/0 -d externalip 80 -m 2
ipmasqadm mfw -I -m 2 -r internalip 80
Any help will be appreciated.
Regards,
Josh Dixon
Senior Projects and Network Administrator
Royal Australasian College of Physicians
Email: [EMAIL PROTECTED]
Phone: 02 9256 5476
Fax: 02 9252 3310
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug