Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
23
rated 0 times [  23] [ 0]  / answers: 1 / hits: 205089  / 3 Years ago, sat, june 12, 2021, 5:09:57

I know there are many tutorials on the net for setting up VPN client and server.



I you find one that is simple/short, I am interested only in the server part.



For client, I will use OS X so I prefer a solution that uses L2TP over IPsec or PPTP because I suppose Cisco IPsec would cost something.



I don't want to spent too many hours setting it up. You know, maybe someone already made a setup script :)



Note: I am using an EC2 micro instance running Ubuntu 12.04 on it.


More From » vpn

 Answers
2

UPDATE: As of Sierra, macOS no longer supports PPTP vpn. This answer is not valid for macOS clients Sierra and beyond.



PPTP via PoPToP is easy




  1. apt-get install pptpd

  2. edit /etc/pptpd.conf and set the remoteip option to a range on your network that is NOT served by your DHCP server.

  3. edit /etc/ppp/chap-secrets and add a username and password



e.g.



vpnuser pptpd vpnpassword *


This is all it takes to setup pptp. Now test it with your OS X client.


[#39443] Sunday, June 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ndeecru

Total Points: 109
Total Questions: 128
Total Answers: 117

Location: Czech Republic
Member since Thu, Aug 11, 2022
2 Years ago
;