Those line's effectively mean forward my local port 8443 to the remote host's 8443. The local port + remote port (and even the remote host) don't need to be the same.
Since it’s forwarding a TCP port your aren’t limited to forwarding just the web traffic either. I forward:
- Database ports (run mysql or psql locally for example)
- Docker socket
- Backend api ports
- Redis port
- Webserver port
And more...
Then you just use local clients as if those things were all running on your local machine
Since it’s forwarding a TCP port your aren’t limited to forwarding just the web traffic either. I forward:
And more...Then you just use local clients as if those things were all running on your local machine