mumble-jail
Este commit está contenido en:
8
development/mumble-jail/iptables.sh
Archivo ejecutable
8
development/mumble-jail/iptables.sh
Archivo ejecutable
@@ -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
|
||||
Referencia en una nueva incidencia
Block a user