Four kinds of forward
Local · Remote · SOCKS on This Mac · SOCKS on Server
- Local: a port on your Mac reaches a service behind the server, like a database.
- Remote: a port on the server reaches your Mac, for example a site in development.
- A SOCKS proxy on your Mac or on the server, to route a browser or a whole app.
- Several forwards in one tunnel, Unix sockets included.