nouveau fichier : sio2/CYBERSECURITE/02-check/check
nouveau fichier : sio2/SISR/05-pxe/dhcpd.conf nouveau fichier : sio2/SISR/05-pxe/enp0s3 nouveau fichier : sio2/SISR/05-pxe/enp0s8 nouveau fichier : sio2/SISR/05-pxe/isc-dhcp-server nouveau fichier : sio2/SISR/05-pxe/nat.sh
This commit is contained in:
5
sio2/SISR/05-pxe/nat.sh
Executable file
5
sio2/SISR/05-pxe/nat.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
echo 1 > /proc/sys/net/ipv4/ip_forward
|
||||
sudo iptables -F -t nat
|
||||
sudo iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE
|
||||
Reference in New Issue
Block a user