ipchains - help with ext to int
I would like to run a webserver on my network behind my linux firewall. I am using ipchains currently which masqs traffic from internal to external without issues.. but I'm stuck trying to open a port to the internal network.
ppp0 is my external facing nic 123.123.123.123
eth1 is my internal facing nic 192.168.0.1
192.168.0.2 is the machine I wish to connect ppp0:8080 too
From localhost on the linux box I can telnet to this machine
I think I have tried everything with no success....
For testing... I have turn my firewall off and have input/forward and output set to ACCEPT
# I created a new chain
ipchains -N web
# catch 8080 and forward to web chain
ipchains -I input -p tcp -s 0/0 8080 -j web
ipchains -A web -s 0/0 8080 -d 192.168.0.2 8080 -j MASQ
Please help
Richard.