SOCKS proxy over SSH
SOCKS proxy over SSH
A proxy-aware application requests destinations through a local SOCKS5 listener and SSH server. DNS depends on the client; optional UDP requires the supported relay and TCP control connection.
YOUR MAC
SSH SERVER
One SOCKS listener. Client-selected destinations.
Port mapping
Encrypted SSH
Proxy-aware app
Requests a host + port
SOCKS5 listener
127.0.0.1:1080
SSH server
Opens the target
Destination
Requested service
TCP streams are bidirectional. The client must explicitly use this SOCKS listener.
DNS: socks5h sends the hostname through the proxy; client-side DNS stays local.
Optional UDP: UDP ASSOCIATE + open TCP control + compatible remote Python 3 relay.