All pastes #167271 Raw Edit

Something

public text v1 · immutable
·published 2006-09-11 20:44 UTC
rendered paste body
eth0=lan
eth1=internett

echo "1" > /proc/sys/net/ipv4/ip_forward
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT