A simple and effective solution is to use a reverse proxy over HTTPS to tunnel your SSH connection. In this guide, I’ll walk you through setting up this method using Nginx and SSL, ensuring secure and reliable access to your server.
透過 SSH Tunnel 可以達到傳輸的加密或是網路和防火牆的穿透。 <!-- more --> 舉例來說,我有一台電腦 A 不能對外連線,有一台伺服器 B 可以對外連線,而電腦 A 是可以連線到伺服器 B 的,這時就可以在 A 和 B 之間建立 Tunnel 並將 A 要做的事情轉傳給 B,讓 B 幫忙連到外網完成。 這樣的概念類似於 `Port Forwarding` 或是 `Proxy`。
If you have any kind of Linux/Unix server accessible over SSH, it's very easy to use it as a simple proxy server. This can be used as a form of a simple VPN tunnel (for example, to bypass content filters and other restrictions on your local Internet c
To create a dynamic port forwarding, open your terminal and run the following command: Now, you will need to open your web browser and configure a proxy to use 127.0.0.1 and port 8080. So all traffic from your browser will be redirected through the tunnel