ALL=0.0.0.0/0
Att
Em 29-04-2012 01:14, Moksha Tux escreveu:
$IPTABLES -A INPUT -p TCP -s ALL -d 200.200.200.200 --dport 80 -j
ACCEPT
$IPTABLES -t nat -A PREROUTING -p TCP -s ALL -d 200.200.200.200
--dport 80 -j DNAT --to-destination 10.10.10.10:80
$IPTABLES -A FORWARD -p TCP -d 10.10.10.10 --dport 80 -i $WAN -o $LAN
-j ACCEPT
$IPTABLES -A FORWARD -p TCP -s 10.10.10.10 -i $LAN -o $WAN -j ACCEPT
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]