Linux SSH Setup with Terminal

Last updated by Shayne M on May 22, 2013 10:30

Linux is one of the easiest systems to use port forwarding on. Just open a command prompt / terminal window, and run the following:

ssh -C -D127.0.0.1:8080 -p443 [email protected]

  • -C: (optional) will enable compression over the link. Can improve speeds depending on the type of data being sent
  • is the local IP you want the socks proxy to listen on
  • 8080: is the localport you want to open a socks proxy, to configure in your network applications.
  • 443: is the remote port that our server is listening on - available in the server list in our members area
  • username: is your VPNSecure members username
  • servername.vpnsecure.me: is the individual server you want to connect to - you can find a list in our members area under "servers"

Once you hit enter you will be prompted for your VPNSecure members area password, and connect the SSH tunnel. Then you just need to configure your browser or internet applications to use this tunnel, connecting to server with the local port you chose above.

We have proxy setup guides available for common browsers here:

Automating Logins:

If you would like to automate the login process see our "expect" scripting guide - http://support.vpnsecure.me/entries/21361577-linux-automatic-ssh-tunnel-script

VPNSecure Provides Secure VPN servers in over 45+ Countries

If you are a looking for a versatile easy to use VPN service, checkout Today