Making a VPN

DA-LION-619

Honorary Master
Joined
Aug 22, 2009
Messages
13,774
Reaction score
1,613
Location
Randburg
Do any of you guru's here know how to go about this? I have a VPS running Ubuntu that I use for downloading torrents and that's pretty much it. I'll be the only person using it so something light on resources would be cool.
 
Looks simple enough. Thanks very much!

Even simpler for you.

I wrote this a few days back for Ubuntu 14.04 LTS 64bit:

Download the correct version of OpenVPN Access Server for your OS architecture (32bit or 64bit).

Use the openvpn-as-2.0.7-Ubuntu13.i386.deb for 32 bit and openvpn-as-2.0.7-Ubuntu13.amd_64.deb for 64 bit installs.

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.i386.deb

OR

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.amd_64.deb

1.) Use dpkg to install the .deb file. To do this we can run:

dpkg -i openvpn-as-2.0.7-Ubuntu13.amd_64.deb

2.) OpenVPN Access Server should have installed however we need to secure our installation by changing the password for the openvpn user. We do this as follows:

sudo passwd openvpn

You will then be prompted to enter a new password. Make sure this is one you can remember and one that is secure!

3.) You can login to OpenVPN access server via the following URL's.

Note that the admin user interface is for configuration changes. You can create users, view logs and reports etc here.
Note that the client user interface is where you download your OpenVPN client that you will use to connect to your VPN.

Access Server web UIs are available here:
Admin UI: https://YourVpsIPHere:943/admin
Client UI: https://YourVpsIPHere:943/

4.) We are done. You can now enjoy your VPN!
 
Last edited:
Even simpler for you.

I wrote this a few days back for Ubuntu 14.04 LTS 64bit:

Download the correct version of OpenVPN Access Server for your OS architecture (32bit or 64bit).

Use the openvpn-as-2.0.7-Ubuntu13.i386.deb for 32 bit and openvpn-as-2.0.7-Ubuntu13.amd_64.deb for 64 bit installs.

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.i386.deb

OR

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.amd_64.deb

1.) Use dpkg to install the .deb file. To do this we can run:

dpkg -i openvpn-as-2.0.7-Ubuntu13.amd_64.deb

2.) OpenVPN Access Server should have installed however we need to secure our installation by changing the password for the openvpn user. We do this as follows:

sudo passwd openvpn

You will then be prompted to enter a new password. Make sure this is one you can remember and one that is secure!

3.) You can login to OpenVPN access server via the following URL's.

Note that the admin user interface is for configuration changes. You can create users, view logs and reports etc here.
Note that the client user interface is where you download your OpenVPN client that you will use to connect to your VPN.

Access Server web UIs are available here:
Admin UI: https://YourVpsIPHere:943/admin
Client UI: https://YourVpsIPHere:943/

4.) We are done. You can now enjoy your VPN!

Will try it out, thanks!
 
Even simpler for you.

I wrote this a few days back for Ubuntu 14.04 LTS 64bit:

Download the correct version of OpenVPN Access Server for your OS architecture (32bit or 64bit).

Use the openvpn-as-2.0.7-Ubuntu13.i386.deb for 32 bit and openvpn-as-2.0.7-Ubuntu13.amd_64.deb for 64 bit installs.

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.i386.deb

OR

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.amd_64.deb

1.) Use dpkg to install the .deb file. To do this we can run:

dpkg -i openvpn-as-2.0.7-Ubuntu13.amd_64.deb

2.) OpenVPN Access Server should have installed however we need to secure our installation by changing the password for the openvpn user. We do this as follows:

sudo passwd openvpn

You will then be prompted to enter a new password. Make sure this is one you can remember and one that is secure!

3.) You can login to OpenVPN access server via the following URL's.

Note that the admin user interface is for configuration changes. You can create users, view logs and reports etc here.
Note that the client user interface is where you download your OpenVPN client that you will use to connect to your VPN.

Access Server web UIs are available here:
Admin UI: https://YourVpsIPHere:943/admin
Client UI: https://YourVpsIPHere:943/

4.) We are done. You can now enjoy your VPN!

Nice, bookmarked
 
Even simpler for you.

I wrote this a few days back for Ubuntu 14.04 LTS 64bit:

Download the correct version of OpenVPN Access Server for your OS architecture (32bit or 64bit).

Use the openvpn-as-2.0.7-Ubuntu13.i386.deb for 32 bit and openvpn-as-2.0.7-Ubuntu13.amd_64.deb for 64 bit installs.

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.i386.deb

OR

wget http://swupdate.openvpn.org/as/openvpn-as-2.0.7-Ubuntu13.amd_64.deb

1.) Use dpkg to install the .deb file. To do this we can run:

dpkg -i openvpn-as-2.0.7-Ubuntu13.amd_64.deb

2.) OpenVPN Access Server should have installed however we need to secure our installation by changing the password for the openvpn user. We do this as follows:

sudo passwd openvpn

You will then be prompted to enter a new password. Make sure this is one you can remember and one that is secure!

3.) You can login to OpenVPN access server via the following URL's.

Note that the admin user interface is for configuration changes. You can create users, view logs and reports etc here.
Note that the client user interface is where you download your OpenVPN client that you will use to connect to your VPN.

Access Server web UIs are available here:
Admin UI: https://YourVpsIPHere:943/admin
Client UI: https://YourVpsIPHere:943/

4.) We are done. You can now enjoy your VPN!

Okay, this didn't work. Everything is installed, I changed the password but I can't open up the UI any help?
 
Okay, this didn't work. Everything is installed, I changed the password but I can't open up the UI any help?

The user is 'openvpn' and the password is the one you specified.

This definitely works as I just set it up on my Digital Ocean droplet again.
 
I'm not using Digital Ocean, but my VPS is set up the same.

You're clearly doing something wrong.

From a blank Ubuntu 14.04 LTS template those work 100%.

I just re-installed it now to confirm this and all I followed was my blurb - 2 mins from start to finish.

Edit: Do you have iptables blocking port 443 or any such firewall in place?
 
Last edited:
Might I need to open that port? I have a torrent client installed and that is working fine
 
You're clearly doing something wrong.

From a blank Ubuntu 14.04 LTS template those work 100%.

I just re-installed it now to confirm this and all I followed was my blurb - 2 mins from start to finish.

Edit: Do you have iptables blocking port 443 or any such firewall in place?

Nope port 443 works
 
Okay, my VPS provider Host1plus disables Tun, PPP etc. Thus VPN set-up wasn't working. Thanks for all the help!
 
Okay, my VPS provider Host1plus disables Tun, PPP etc. Thus VPN set-up wasn't working. Thanks for all the help!

That has NOTHING to do with what you said. You stated that you couldn't LOGIN and access the UI, not that your account couldn't dial in via the application. Sigh - next time be more specific it will help a great deal.
 
Last edited:
That has NOTHING to do with what you said. You stated that you couldn't LOGIN and access the UI, not that your account couldn't dial in via the application. Sigh - next time be more specific it will help a great deal.

I couldn't figure that out so I just wiped the machine as its just for playing around with... It's only $2 a month...
 
Top
Sign up to the MyBroadband newsletter
X