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:

[html]
apt-get update
[/html]

Then::

[html]
apt-get upgrade
[/html]

Now we install OpenVPN Access Server:

Debian 32 bit:

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

Debian 6 64 Bit:

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

To Install, run the following command

32 Bit:
[html]
dpkg -i openvpn-as-1.8.5-Debian6.i386.deb
[/html]

64 Bit:
[html]
dpkg -i openvpn-as-1.8.5-Debian6.amd_64.deb
[/html]

Now lets change the openvpn user password:

[html]
passwd openvpn
[/html]

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://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://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@matthewc424.sg-host.com.