Connecting to OpenVPN

Connecting to OpenVPN2017-09-14T01:53:33+00:00

Connecting to OpenVPN

VPN stands for Virtual Private Network. Once you are connected, all web site traffic will be directed through PSU’s VPN hardware, and it will appear that you are connected physically to PSU’s network. This will allow you to use private MCECS services that require a connection to the PSU network, like remote desktop and VNC.

This guide is for Ubuntu distributions, and will likely work with other Debian-based linuxes.

CECS vs CECS Full Tunnel

We offer two configuration options for OpenVPN. The Full Tunnel will send all of your network communication, eg going to, through MCECS.
However the CECS or “Split Tunnel” configuration will only be used to connect to MCECS machines and resources, like the terminal server or print server.

Connecting Using the Command Line Client

The recommended way of connecting to the OpenVPN is using the command line OpenVPN client.

Installing OpenVPN and Downloading the Config Files

Run this in a terminal window:

sudo apt-get install openvpn unzip wget
unzip -d cecs_linux_openvpn

Connecting to the OpenVPN

Run this in a terminal window:

cd cecs_linux_openvpn
sudo openvpn cecs.ovpn

Leave this terminal window open while you want to be connected to the OpenVPN. To disconnect CTRL+C while focused on the terminal window that holds you OpenVPN connection. If you just close the terminal window without properly disconnecting you might either remain connected, or get the OpenVPN software into a confused state where networking doesn’t work properly. If this happens run “sudo killall openvpn” in a terminal window, or reboot your machine.

Connecting to the OpenVPN (full tunnel)

Run this in a terminal window:

cd cecs_linux_openvpn
sudo openvpn cecs_full_tunnel.ovpn


A common issue when using the regular OpenVPN configs (split tunnel) is that your DNS systems DNS server might not allow traffic from the IP address you get assigned when connected to the OpenVPN. An easy work around for this is to configure your system to use fully public DNS servers like Google’s. Google’s public DNS servers are and