I have a thick problem. On a linuxrouter with Debian 2.2 I would like to
make masquerading
between the interface eth0 (WAN) and eth2 (LAN).
Interface eth0 should although work as quite normally router to eth1(DMZ).
First times - until everything is working - there is no importance on
security...
I tried the following without success:
#!/bin/sh
# /etc/init.d/rc.firewall
# simple masquerading and routing between outside and dmz
ipchains -F
ipcahins -X
ipchains -P input DENY
ipchains -P output DENY
ipchains -P forward DENY
ipchains -A input -i lo -j ACCEPT
ipchains -A output -i lo -j ACCEPT
ipchains -A forward -s 192.168.0.0/24 -i eth0 -j MASQ
thanks for your help and Merry X-Mas!
ludmilla