nsbin/minifirewall

4 lines
111 B
Text
Raw Normal View History

modprobe ip_tables
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward