I am at wits end and
do not know what to do. I am trying to get my firewall to forward port 80
to an internal web server. I have three NIC
cards: eth0 = internal private numbers, eth1 = internal
private numbers for web server, eth2 = public/internet numbers. I am
using a small script:
ipchains
-F
ipmasqadm portfw
-f
ipchains -P output
ACCEPT
ipchains -P forward
MASQ
ipchains -P output
ACCEPT
echo 1 >
/proc/sys/net/ipv4/ipforward
ipchains -A forward
-s 0.0.0.0/0 -d 192.168.56.10 -i eth1 -j MASQ
ipmasqadm portfw -a
-P tcp -L 207.202.255.134 80 -R 192.168.56.10 80
I know this is a
wide open firewall but I still cannot hit the internal web server. I have
checked and recheck the kernel configuration and I am sure it correct. I
have also check all the NIC interfaces and they all seems to be working
correctly. If anyone has any ideas I would sure like to hear
them.
Brian
|