Atualizar router.sh

This commit is contained in:
2025-08-07 13:04:19 +00:00
parent 250dde4722
commit 8336fc0157

View File

@@ -14,6 +14,8 @@ ip address add 192.168.56.200/24 dev enp0s10
sysctl -w net.ipv4.ip_forward=1
iptables -t nat -F
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