vps as solution for VPN on public internet access points

i think most that i want to write on this post is already tolden  in head :)but anyway

most people using laptops with “free” access points on fastfood points/ airports and other places.

most of this points have a limited traffic access to internet with lot of port filters.

but as a usual user with unsual ports :)i want always to access everyting from everywhere with same quality as from home

after searching in internet for solution trying my-freedom and other servies that giving only non full speed access i become to idea that its easier to have own VPN server running somewhere in cheep or almost free  hosting.

what we will need

  1. we will need to register account on amazon AWS, for that we need to go to http://aws.amazon.com/free/ and register there, after we will get tear of amazon vps :)

  2. we need to install virtual instance, i took the “US-East Micro Instance с Ubuntu 10.4″ with 10gb hard drive , on community AMI’s you can find it with name ami-c2a255ab.

3. when server is up and running we will need putty or (in my case just a terminal as i’m a mac user) for login to server.

  1. we will need to have no-ip.com account as on every restart intance will get new ip address, how to configure no-ip.com for linux host you can find on this article https://help.ubuntu.com/community/DynamicDNS

at server we need to install OpenVPN. there is a lot of good manuals how to do it, but in sort words

we need to read http://library.linode.com/networking/openvpn/ubuntu-10.04-lucid this very good article about OpenVPN.

and try to start own one , with config file

port 443
proto udp
dev tap
########################
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem
##################################
tls-server
mode server
duplicate-cn
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
##################################
server 172.0.1.0 255.255.255.0
ifconfig-pool-persist clients.txt
push “redirect-gateway”
push “dhcp-option DNS 172.0.1.1″
############################
client-to-client
keepalive 10 120
max-clients 100
###############################
user root
group root
##################################
persist-key
persist-tun
status          /var/log/openvpn/status_server.log
log             /var/log/openvpn/openvpn_server.log
log-append      /var/log/openvpn/append_server.log
verb 3

after the server is running, we need just to download windows/mac client and configure it on your laptop.

as you can see from config file my openvpn server is running on 443 (HTTPS) port, which is open almost everywhere,

if for some meters HTTPS is closed in point from where you want to connect you can try to use 53UDP (bind) port

from my own experience its open almost everywhere :)

ask questions/configure and enjoy your 15GB of free traffic from Amazon AWS. :)

y

comments powered by Disqus