From 8336fc0157121029bc677993b310ca0ff566b256 Mon Sep 17 00:00:00 2001 From: "tiago.ferreira" Date: Thu, 7 Aug 2025 13:04:19 +0000 Subject: [PATCH] Atualizar router.sh --- router.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/router.sh b/router.sh index 88c22cd..d8768cc 100644 --- a/router.sh +++ b/router.sh @@ -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