Forward TCP and UDP Traffic Across the Network With iptables
This is the third post of the series that started with “Changes to My Network, Sponsored By XMPP”. The Problem In that article, nearly at the very end, I was pointing out that a solution was needed for the XMPP traffic on non-Web ports (TCP and UDP other than 80 and 443) to be routed from a cloud VPS to my home server. I tried some NGINX configuration using its module streams, but it didn’t work, so I will post here how I ended up solving that using Linux’ –the kernel itself– packet filter rules through iptables. ...