Premier commit
This commit is contained in:
4
roles/r-ext/files/nat.sh
Executable file
4
roles/r-ext/files/nat.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||
iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE
|
||||
iptables -t nat -A POSTROUTING -o enp0s9 -j MASQUERADE
|
||||
Reference in New Issue
Block a user