rangement et tp_pxe
This commit is contained in:
3
tp_pxe/nat.sh
Executable file
3
tp_pxe/nat.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||
iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE # eth0 est l'interface externe
|
||||
Reference in New Issue
Block a user