nsbin/minifirewall

4 lines
111 B
Plaintext

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