← Back to team overview

ubuntu-server-tips team mailing list archive

[Bug 413054] Re: ssh socks proxy

 

That's great, thanks :)

** Description changed:

- To open a dynamic SOCKS proxy with SSH, just use 'ssh -D port
- user@host', where port should be your desired proxy port. Then use this
- forward with any SOCKS compatible application to route traffic through
- the remote host. You can also use DynamicForward in .ssh/config (look at
- man ssh_config).
- 
- 
- (just found out this only works with the netcat-openbsd package)
- 
- To use a SOCKS proxy with SSH through netcat, add this to your
- .ssh/config:
- 
- Host host-via-socks
- HostName host
- ProxyCommand /usr/bin/nc localhost:8080 %h %p
- 
- (replace 8080 with your SOCKS port)
+ For a lightweight VPN alternative, have a look at ssh + netcat-openbsd
+ for SOCKS proxy support.

** Changed in: ubuntu-server-tips
       Status: Incomplete => Confirmed

-- 
ssh socks proxy
https://bugs.launchpad.net/bugs/413054
You received this bug notification because you are a member of Ubuntu
Server Tips, which is subscribed to Ubuntu Server Tips.

Status in Ubuntu Server Tips: Confirmed

Bug description:
For a lightweight VPN alternative, have a look at ssh + netcat-openbsd for SOCKS proxy support.