I've followed this tutorial to build a VPN on EC2:
But when I run these steps, I always fail to connect to EC2 through VPN. Every time, the system confirms a connection, but eventually the system stops and reports a failure.
In the log:
/var/log/messages, I can see:
pppd 2.4.5 started by ec2-user, uid 0 Using interface ppp0 Connect: ppp0 <--> /dev/pts/0 Modem hangup
I am confused on these items:
- What kind of IP should I input to
/etc/pptpd.conf? My IP domain is 192.168.0.xxx. I input 192.168.0.1 and 192.168.0.2-100 to
/etc/pptpd.conf. Will this be a check point?
- How to check if I have enabled port 1723 on EC2?
Can anybody give me some ideas on how to debug this case?