OpenVPN is a software application for setting up VPN connections. It is currently deployed for ExteNet to allow connection the subnet their mNET systems reside on so we can receive traps for them.
To install OpenVPN on Red Hat first the EPEL repo must be added to yum. Please ensure correct version is installed.
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sudo rpm -ivh epel-release-6-8.noarch.rpm
Once that is done it can be installed as normal through yum
sudo yum install openvpn
Configuration files and certs were provided by ExteNet and placed in the following locations to configure the system:
/etc/openvpn/mnet-vpn.conf /etc/openvpn/mnet/ca.crt /etc/openvpn/mnet/client02.crt /etc/openvpn/mnet/client02.key
To run it just use the openvpn command pointing to the config file, i.e.
sudo openvpn /etc/openvpn/mnet-vpn.conf
sudo service openvpn start sudo service openvpn stop
/var/log/messages
If you encounter the following error when starting openvpn at home: 'Can't assign requested address'
Run the following commands:
Step 1. Open a Terminal window. (Found in Applications, Utilities.) Step 2. Enter the following commands:
OBS! Please make sure to replace en1 with your actual Internet interface. By default you have: