All pastes #337952 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-03 01:57 UTC
rendered paste body
iptables --flush 
iptables --table nat --flush
iptables -Z
iptables --delete-chain 
iptables --table nat --delete-chain 
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --append FORWARD --in-interface eth1 -j ACCEPT 
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE