Hello,
I have issue with SSH going out (tcp 22) to server outside my network. I use ZeroTier VPN (added to LAN interface list) and this NAT line
Chain dstnat, action dst-nat, in interface list LAN, dst port 22 (connect to home server from VPN)
But when I try to connect from internal network to ssh outside my network, this dst-nat redirect it to local port.
Any ideas why is it going through dstnat chain when I expect srcnat? I solved it by adding in interface VPN but I would like to understand reason behind this behaviour.
Best regards,
Filip
I have issue with SSH going out (tcp 22) to server outside my network. I use ZeroTier VPN (added to LAN interface list) and this NAT line
Chain dstnat, action dst-nat, in interface list LAN, dst port 22 (connect to home server from VPN)
But when I try to connect from internal network to ssh outside my network, this dst-nat redirect it to local port.
Any ideas why is it going through dstnat chain when I expect srcnat? I solved it by adding in interface VPN but I would like to understand reason behind this behaviour.
Best regards,
Filip
Statistics: Posted by RabbRubb — Tue Dec 31, 2024 3:17 pm