Add a new Debian container within Proxmox. For this tutorial I am using Debian Wheezy.

Shell into the server and run the following to update it:

 
apt-get update 

Then::

 
apt-get upgrade 

Now we install OpenVPN Access Server:

Debian 32 bit:

wget http://swupdate.openvpn.org/as/openvpn-as-1.8.5-Debian6.i386.deb

Debian 6 64 Bit:

wget http://swupdate.openvpn.org/as/openvpn-as-1.8.5-Debian6.amd_64.deb 

To Install, run the following command

32 Bit:

dpkg -i openvpn-as-1.8.5-Debian6.i386.deb

64 Bit:

dpkg -i openvpn-as-1.8.5-Debian6.amd_64.deb

Now lets change the openvpn user password:

 
passwd openvpn 

Now browse to http://xxx.xxx.xxx.xx:943/admin/ (change x’s with your actual IP address)

Login with user: openvpn and the password you set above. This gives you access to the admin panel.

openvpnlogin

To install the local OpenVPN client browse to http://xxx.xxx.xxx.xx:943 and you should be presented with a download. Simply download the client and run it. You should be prompted with username and password.

OpenVPN ADMIN SETUP

https://www.linuxtutorial.co.uk/open-vpn-access-server-admin-setup

PORT FORWARDING

Remember to Port forward 443, 1194 and 943 through to your VM on the router to allow VPN access.

TROUBLESHOOTING

https://www.linuxtutorial.co.uk/openvpn-iptables-service-not-started-because-of-error-svc_run_except/

ERROR: iptables service not started because of error (SVC_RUN_EXCEPT)

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk.