How to connect via SSH to a linux mint system that is connected via OpenVPN
- by Hilyin
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:
Open Terminal
Type: sudo apt-get install network-manager-openvpn
Press Y to continue.
Type: sudo restart network-manager
Download BTGuard certificate (CA) by typing: sudo wget -O /etc/openvpn/btguard.ca.crt http://btguard.com/btguard.ca.crt
Click on the Network Manager icon, expand VPN Connections, and choose Configure VPN
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..
.
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
Click Advanced... near the bottom of the window.
Under the General tab, check the box next to Use a TCP connection
Click OK, then click Apply.
Setup complete!
How To Connect
Click on the Network Manager icon in the panel bar.
Click on VPN Connections
Select BTGuard VPN
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.
Once connected, the Network Manager icon will have a lock next to it indicating you are browsing securely with BTGuard.