Guides tagged “port forwarding”

Step-by-step MdmHost guides about port forwarding, sorted A-Z.

5 guides

  • NAT, masquerade and port forwarding with nftables

    Use nftables to masquerade VPN clients out through your VPS and forward ports to a backend with DNAT. Includes IP forwarding, forward chain rules and a complete VPN gateway ruleset.

    AdvancedLinux server5 min read
  • Port forwarding and masquerading with firewalld

    Forward a port to another local port or to a different host with firewalld, enable masquerading so replies find their way back, then test and make the rules permanent.

    AdvancedLinux server4 min read
  • Port forwarding and NAT with UFW before.rules

    Forward a public port on your VPS to a backend server or VPN client with UFW. Turn on IP forwarding, add a nat table to before.rules, allow routed traffic and test from outside.

    AdvancedLinux server5 min read
  • SSH tunnels: local, remote and dynamic (SOCKS) port forwarding

    Use SSH port forwarding to reach a private database, expose a local service temporarily, or browse through your server with a SOCKS proxy.

    IntermediateLinux VPS and any SSH server2 min read
  • Tunnel Remote Desktop port 3389 through SSH

    Carry Remote Desktop inside an encrypted SSH connection to your Windows VPS, connect mstsc to localhost, and only then tighten public access to port 3389.

    AdvancedWindows server5 min read

Browse by topic

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.