5 lines
172 B
Bash
Executable File
5 lines
172 B
Bash
Executable File
#!/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
|