SOCKS Proxy with SSH

 

1.0 Installation

  • Server: OpenSSH
  • Client: ssh command

2.0 Configuration

ssh -D $LOCALPORT $SERVERNAME
# Alternative port to 22
-p 22222
 
# Use identity key
-i "private.key"
 
# No remote command
-N
 
# Start in Background
-f

3.0 Usage

3.1 Browser

SOCKS5 Proxy:

localhost $LOCALPORT

4.0 Hints

5.0 References