- Create a EC2 instance using
Ubuntu 14.04
. - In
Secure Group Inbound Rules
, add aSSH Rule(TCP, Port 22, 0.0.0.0/0)
and aCustom TCP Rule(TCP, Port 1723, 0.0.0.0/0)
. - Optional: Associate a Elastic IP with the instance.
- SSH into the instance.
sudo apt-get install pptpd
.sudo vim /etc/pptpd.conf
. Uncommentlocalip 192.168.0.1
andremoteip 192.168.0.234-238,192.168.0.245
.sudo vim /etc/ppp/pptpd-options
. Uncommentms-dns
andms-wins
. Change the IP to Google's DNS like this: