So, basically. Get a cheapo NAT based VPS from here -
https://i-83.net
Apparently they've got a Black Friday deal on for 15% off! (code - 15OFFNAT)
As mentioned, I went for the £4.50/year London option.
I installed ubuntu 14.04 lts x64 since it's nice and easy. I imagine the Debian options will be fine too.
I initially followed the instructions here -
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04 - but it didn't work in the end, but it did teach me about most of the settings, which was nice.
I then followed these instructions, which is basically just an automated script -
https://quadhost.net/account/knowledgebase/6/Install-OpenVPN-on-a-NAT-Server.html
This worked great first time. One setting I added to /etc/openvpn/server.conf was
Code:
duplicate-cn
This means you can use the same client file across multiple devices, saving you from generating a new one for new devices. It will generate a client.ovpn file which you transfer to your devices and load into the openvpn client.
The biggest issue I had when I first rented the server was getting my head around the NAT based port system. It's actually fairly simple. If I read the initial emails that were sent I would have realised that.
The server the VPS is on has an IPv4 IP - this is the external IP
Your VPS has an internal IP - essentially a LAN IP. The port numbers are based off that eg:
External IP
123.123.123.123
Internal IP
192.168.40.50
Your open ports are defined by the last part of the IP "50"
Open ports:
5001-5020
and 5022 for SSH
So 123.123.123.123:5022 would be the SSH port/address for your VPS.
EDITED: 25 Nov 2016 19:35 by ANT_THOMAS