Este commit está contenido en:
Your Name
2020-05-28 10:32:34 +00:00
padre beba11d520
commit 61f0f159cf
Se han modificado 4 ficheros con 320 adiciones y 0 borrados

Ver fichero

@@ -0,0 +1,8 @@
#!/bin/bash
iptables -t nat -D PREROUTING -s $1 -p tcp -m tcp --dport 64738 -j DNAT --to-destination 172.9.0.101:64738
iptables -t nat -D PREROUTING -s $1 -p udp -m udp --dport 64738 -j DNAT --to-destination 172.9.0.101:64738
iptables -t nat -D POSTROUTING -s $1 ! -o docker0 -j MASQUERADE
#iptables -t nat -I PREROUTING 1 -s $1 -p tcp -m tcp --dport 64738 -j DNAT --to-destination 172.9.0.101:64738
#iptables -t nat -I PREROUTING 2 -s $1 -p udp -m udp --dport 64738 -j DNAT --to-destination 172.9.0.101:64738
#iptables -t nat -A POSTROUTING -s $1 ! -o docker0 -j MASQUERADE