Add localhost explicitly as bind_address
This commit is contained in:
parent
8e4d21fdbd
commit
c0d97c883d
1 changed files with 2 additions and 2 deletions
|
@ -33,10 +33,10 @@ Tunnels are associated to _ports_. In the following, you will have to specify a
|
|||
|
||||
Ok, let's do it.
|
||||
|
||||
The following will open a regular ssh connection to Hawk. In addition, the argument `-R $MY_PROXY_PORT` will establish a reverse port forwarding tunnel which opens at port `$MY_PROXY_PORT` on the Hawk side and provides a SOCKS5 proxy.
|
||||
The following will open a regular ssh connection to Hawk. In addition, the argument `-R localhost:$MY_PROXY_PORT` will establish a reverse port forwarding tunnel which opens at port `$MY_PROXY_PORT` on the Hawk side and provides a SOCKS5 proxy.
|
||||
```bash
|
||||
local> MY_PROXY_PORT=XXXX # choose a port number between 10000 and 60000
|
||||
local> ssh -R $MY_PROXY_PORT hawk.hww.hlrs.de
|
||||
local> ssh -R localhost:$MY_PROXY_PORT hawk.hww.hlrs.de
|
||||
```
|
||||
|
||||
The tunnel will remain open as long as the connection to Hawk is open. The tunnel will close as soon as your connection closes. Please note, that we do recommend to _not use_ command line arguments to keep the connection open in the background as you may loose track of open reverse tunnels.
|
||||
|
|
Loading…
Reference in a new issue