Ran Qiangjun

Blog/Bloglet about Drupal, Ops, and mORe

Across the Great Wall

Submitted by jungle on Sat, 09/21/2019 - 02:03

See https://linuxize.com/post/how-to-setup-ssh-tunneling/ and https://sockslist.net/articles/google-chrome-proxy-how-to-use

ssh -N -D 9090 [USER]@[SERVER_IP]

The options used are as follows:

  • -N - Tells SSH not to execute a remote command.
  • -D 9090 - Opens a SOCKS tunnel on the specified port number.
  • [USER]@[SERVER_IP] - Your remote SSH user and server IP address.
  • To run the command in the background use the -f option.

If your SSH server is listening on a port other than 22 (the default) use the -p [PORT_NUMBER] option.

Besides socks, leave other settings empty.

©2021 ranqiangjun.com. All rights reserved.