Tag: port forwarding

Forward Ports Through a Linux Gateway with iptables NAT

Why Your Port Forwarding Isn’t Working A very common mistake with port forwarding on Linux is assuming a single DNAT rule is enough. You add one iptables rule, try to hit your server from outside, and… nothing. In reality, proper forwarding through a Linux gateway needs three things working together: IP forwarding in the kernel, packet filtering rules in the…

Read More »