A small VPN replacement with SSH
Summary
Hackaday explains SSH tunnels and TUN devices that make remote networks securely reachable without an additional VPN service. The approach needs a reachable SSH server. Local and dynamic forwarding support different destinations.
Ideas
- SSH encrypts the transport to the remote computer.
- Port forwarding publishes individual remote services locally.
- TUN devices can route all IP traffic through the tunnel.
Insights
- An existing secure access can take on several networking tasks.
- An SSH tunnel stays simpler than a VPN but scales less well.
Recommendations
- Restrict forwarding to the networks you need.
- Use WireGuard for permanent multi-user VPNs.
References
Links to the original source and the Web Archive open in a new tab.