IPtables problem
Hej List.
I have a problem wit my Firewall - That is build upon Soekris 4801 with Debian Stable and IPTABLES.
I have from my work - been giving a internet connection - with static IP - and a range with 2 IP more.
Now I would like to use the extra IP for more cases. Eth0 = WAN
eth0:0 WAN - extra IP 1
eth0:1 WAN - extra IP 2
eth1 = Lan
eth2 = DMZ
eth3 = testzone ( Pluto system)
I have placed my script here - http://linux.pbj-design.dk/IPTABLES.TXT
so you'll be able to se itt.
The problem is that I cannot get the connection on the extra IP1 to forward all request on port 22 & 80 - to the machine that is placed in eth3. I only gets a - Cannot display the page. I know the server is working OK - caurse when I place my computer on eth3 subnet - and point directly - it works. So don't quite know what I'm doing wrong here - so please guide me to the rigth direction.
Thanks a lot!
Signature · 8 lines
Med Venlig Hilsen Greetings Per Jørgensen Linux-user 393221 [email protected] <mailto:[email protected]> <mailto:[email protected]>http://linux.pbj-design.dk <http://linux.pbj-design.dk/>
Hello,
Quoted 2 lines · Per Jørgensen
The problem is that I cannot get the connection on the extra IP1 to forward all request on port 22 & 80 - to the machine that is placed in eth3.
I think that the following rule is wrong :
Quoted 1 line
$IPTABLES -A FORWARD -i $WAN -d $WAN1_IP -o $PLUTO -j wantopluto
"-d $WAN1_IP" should be removed.
This script is a very early beta version, isn't it ?