Atualizar router.sh
This commit is contained in:
@@ -21,3 +21,10 @@ iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE
|
|||||||
iptables -t nat -A PREROUTING -p tcp --dport 10000 -j DNAT --to-destination 192.168.200.2:22
|
iptables -t nat -A PREROUTING -p tcp --dport 10000 -j DNAT --to-destination 192.168.200.2:22
|
||||||
iptables -t nat -A PREROUTING -p tcp --dport 10001 -j DNAT --to-destination 192.168.200.3:22
|
iptables -t nat -A PREROUTING -p tcp --dport 10001 -j DNAT --to-destination 192.168.200.3:22
|
||||||
iptables -t nat -A PREROUTING -p tcp --dport 10002 -j DNAT --to-destination 172.17.0.2:22
|
iptables -t nat -A PREROUTING -p tcp --dport 10002 -j DNAT --to-destination 172.17.0.2:22
|
||||||
|
|
||||||
|
apt clean
|
||||||
|
|
||||||
|
history -c
|
||||||
|
history -w
|
||||||
|
|
||||||
|
reboot
|
||||||
Reference in New Issue
Block a user