|
Posted by Micheal Robert Zium on November 5, 2004, 11:42 pm
If you were Registered and logged in, you could reply and use other advanced thread options
c4y0 wrote:
>iptables -A INPUT -p tcp --dport 2021 -j ACCEPT
>iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 2021 -j DNAT --to
10.1.1.2:2021
>iptables -A FORWARD -i eth0 -p tcp -d 10.1.1.2 --dport 2021 -j ACCEPT
You need to decide what you want to do. Accept those ports into the
firewall itself, or forward it to your LAN computer. I suspect using
the last two lines is what you want.
|