diff --git a/sio1/sisr1/scripts/nat.sh b/sio1/sisr1/scripts/nat.sh new file mode 100755 index 0000000..0bc9e64 --- /dev/null +++ b/sio1/sisr1/scripts/nat.sh @@ -0,0 +1,4 @@ +#!/bin/bash +echo 1 | sudo dd of=/proc/sys/net/ipv4/ip_forward +iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE +iptables -t nat -A POSTROUTING -o enp0s8 -j MASQUERADE