try adding this before all the rules..
/sbin/ipchains -M -S 7200 10 160
Also, is the 192.168.100.1 the default gateway?
thanks,
George Vieira
Network Administrator
http://www.citadelcomputer.com.au
PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C
PGP KeyID: 0x38A9A10C
-----Original Message-----
From: Gauci, Geoffrey (GP) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 23, 2000 11:38 AM
To: '[EMAIL PROTECTED]'
Subject: [SLUG] IPMASQADM Problem
i am trying to get ip port forwarding working
my enviroment Exchange 5.5 + proxy on ip 192.168.100.2
My linux connection box 192.168.100.1
ppp conection static ip - 200.200.200.200 (eg)
i am currently running Redhat 6.2 - 2.2.14-5
my config
ipchains -F
ipchains -M -S 7200 120 120
ipchains -P forward DENY
ipchains -A forward -i ppp0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
/usr/sbin/ipmasqadm portfw -a -P tcp -L 200.200.200.200 25 -R 192.168.100.2
25
/usr/sbin/ipmasqadm portfw -a -P tcp -L 200.200.200.200 110 -R 192.168.100.2
110
/usr/sbin/ipmasqadm portfw -a -P tcp -L 200.200.200.200 119 -R 192.168.100.2
119
/usr/sbin/ipmasqadm portfw -a -P tcp -L 200.200.200.200 143 -R 192.168.100.2
143
My problem is that i keep getting errors from users sending mail to my
exchange server, about 50% fail with this message.....
------Transcript of session follows -------
[EMAIL PROTECTED]
Remote connection was abruptly disconnected.
the line seems to be fine it does not disconnect.. telnet to the box from
outside works fine no drop outs, if i connect with pcanywhere to the
exchange box i keep getting timeouts (i do portfw on the approprite
pcanywhere ports)...
i think the problem is with the ipmasqadm portfw routine.... as the ipchains
section seems to work without a hicup.....
please HELP!!!!!!
Thanks Geoff Gauci
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug