All pastes #21026 Raw Edit

Stuff

public text v1 · immutable
#21026 ·published 2005-08-24 20:07 UTC
rendered paste body
        $IFCONFIG eth1:2 64.135.20.204 broadcast 64.235.20.208 netmask 255.255.255.248 up
        $IPTABLES -A PREROUTING -t nat -d 64.135.20.204 -j DNAT --to 192.168.16.6
        $IPTABLES -A FORWARD -d 192.168.16.6 -i eth1 -o eth0 -j ACCEPT
        $IPTABLES -A POSTROUTING -t nat -o eth0 -s 192.168.16.6 -j SNAT --to-source 64.135.20.204