Local port forwarding

Local port forwardingA client on your Mac connects to a local listener. SSH carries the stream to the server, which opens the remote target. Responses travel back through the same tunnel. Reach a remote service through a local port on your Mac.SSH SERVERYOUR MACPort mappingEncrypted SSHClient on MacDatabase appLocal listener127.0.0.1:15432SSH serverYour trusted hostRemote target127.0.0.1:5432Dashed: port mapping. Solid: service access. Replies return through the same tunnel.The target’s loopback address refers to the SSH server, not your Mac.