Hey
I am having a problem setting up IP forwarding on my 2.2.14 kernel.
I have tried to forward all WWW requests from the external IP address to an
internal address, but with no joy.
The command I am trying is:
ipmasqadm portfw -a -P tcp -L a.b.c.d 80 -R 192.168.0.100 80
where a.b.c.d is my IP address and 192.168.0.100 is the internal web serving
machine.
I am using a farily bare-bones IP chainset at the moment in order to get
this thing up and running
The salient bits are:
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
/sbin/ipchains -M -S 7200 10 160
/sbin/ipchains -A input -j ACCEPT -i eth0 -s 0/0 67 -d 0/0 68 -p udp
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ
Note that I am allowing the bootp stuff through since I am sitting on an
Optus cable (DHCP).
I tried ACCEPTing all forwarded packets, but that did not help at all. Any
hints as to what I am doing wrong would be most appreciated.
Cheers
Stephen Graham
NB - I have no intention of running a web server (in case the Optus 'server
police' read this), it is just the easiest thing I knew to test if I had
forwarding running OK. I really need to know so that I can get SpeakFreely
running.
--
If it weren't for the last minute, nothing would ever get done.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text