Hello there! I've been setting up my firewall, but as I started it my external (remote) clients couldn't anymore connect to my AS/400. The situation is like this: my central LAN is connected to other 4 LANs via router (dial-up). My LinuxBox is the gateway for all the traffic done on these LANs. I've put the default policies to be DROP for both INPUT and FORWARD chains, and ACCEPT for OUTPUT chain. I've set up some rules to accept traffic on the INPUT and FORWARD chains. Now, I also put a specific line to allow incoming traffic to my AS/400. Its IP is 192.168.0.200, so I added:
$IPT -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT $IPT -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT $IPT -A FORWARD -m state --state NEW -d 192.168.0.200 -i eth0 -j ACCEPT eth0 is my LAN interface, eth1 the one connecting me to my router (outside world). IPT is (obviously) iptables. What am I doing wrong? Why is my AS/400 only working from inside my LAN? Thanx for every suggestion... Boniforti Flavio Informa Srl Via 42 Martiri, 165 28924 Verbania (VB) Tel +39 0323 586216 Fax +39 0323 586672 http://www.co-ver.it/informa
