From: Gavin O Gorman (ogormag2 at domain mail.dcu.ie)
Date: Wed 20 Jun 2001 - 13:20:19 IST
Haven't really touched too much on ipchains so am looking for a hand !
Usual setup in here, internal private ip network connected to the internet
via IP masq on a Debian machine with fixed ip.
What i want to do is forward a port on the debian machine to an internal
machine, same port.
My rule is
IPCHAINS -A forward -j MASQ -p tcp -s ip.of.gate.way/32 9500 -d
192.168.102.26/32 9500 -i eth1 -l
eth1 is the card with the external IP. Is this right ? Do i need to create
another rule to send information back the other way, from
the internal machine out or will the masq part of the rule be aware of
? Any other comments would be good.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:46 GMT