For each dnat line, add an accept line in forward:

$IPTABLES -A FORWARD -p tcp --dport 25 -m state --state NEW -d
192.168.0.1 -j ACCEPT
$IPTABLES -A FORWARD -p tcp --dport 80 -m state --state NEW -d
192.168.0.1 -j ACCEPT
$IPTABLES -A FORWARD -p tcp --dport 22 -m state --state NEW -d
192.168.0.1 -j ACCEPT

Andreas

----- Original Message -----
From: "Mike Burger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 9:47 PM
Subject: Re: DNAT?


> Try http://www.bubbanfriends.org/~mburger/fwscript.txt
>
> I've added a diagram, at the top, and enclosed a comment in a box of
> ###'s.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to