How to connect via SSH to a linux mint system that is connected via OpenVPN

Posted by Hilyin on Server Fault See other posts from Server Fault or by Hilyin
Published on 2012-12-10T22:14:51Z Indexed on 2012/12/10 23:06 UTC
Read the original article Hit count: 239

Filed under:
|
|
|
|

Is there a way to make SSH port not get sent through VPN so when my computer is connected to a VPN, it can still be remoted in via SSH from its non-VPN IP?

I am using Mint Linux 13.

Thank you for your help!

This is the instructions I followed to setup the VPN:

  1. Open Terminal

  2. Type: sudo apt-get install network-manager-openvpn

  3. Press Y to continue.

  4. Type: sudo restart network-manager

  5. Download BTGuard certificate (CA) by typing: sudo wget -O /etc/openvpn/btguard.ca.crt http://btguard.com/btguard.ca.crt

  6. Click on the Network Manager icon, expand VPN Connections, and choose Configure VPN

  7. A Network Connections window will appear with the VPN tab open. Click Add. 8. A Choose A VPN Connection Type window will open. Select OpenVPN in the drop-down menu and click Create.. .

  8. In the Editing VPN connection window, enter the following:

Connection name: BTGuard VPN

Gateway: vpn.btguard.com

Optional: Manually select your server location by using ca.vpn.btguard.com for Canada or eu.vpn.btguard.com for Germany.

Type: select Password

User name: username

Password: password

CA Certificate: browse and select this file: /etc/openvpn/btguard.ca.crt

  1. Click Advanced... near the bottom of the window.

  2. Under the General tab, check the box next to Use a TCP connection

  3. Click OK, then click Apply.

Setup complete!

How To Connect

  1. Click on the Network Manager icon in the panel bar.

  2. Click on VPN Connections

  3. Select BTGuard VPN

  4. The Network Manager icon will begin spinning. You may be prompted to enter a password. If so, this is your system account keychain password, NOT your BTGuard password.

  5. Once connected, the Network Manager icon will have a lock next to it indicating you are browsing securely with BTGuard.>

© Server Fault or respective owner

Related posts about linux

Related posts about ssh