Home › Forums › OS X Server and Client Discussion › Questions and Answers › VPN Setup – Not Working
- This topic has 2 replies, 1 voice, and was last updated 18 years, 6 months ago by
JerryZ.
-
AuthorPosts
-
May 2, 2008 at 11:46 pm #372547
JerryZ
ParticipantI am having a basic problem with VPN on a Simple Server home install.
Here are my basics:My Server is Behind an existing Gateway/Router and sits on the Network
1) Setup Router
ï router lan address = 192.168.1.1
ï subnet mask = 255.255.255.0
ï dhcp on
ï dhcp server starts at = 192.168.1.9
ï dhcp server ends at = 192.168.1.200
ï dns server (opendns servers) = 208.67.222.222, 208.67.220.220I used this setup for VPN
Setup Server Preferences
ï open server preferences
ï go to file sharing: turn on file sharing
ï go to vpn: turn on vpn
shared secret = somethingsecretive
ip address range = 192.168.1.101 – 192.168.1.199
ï go to users
ï make new user(s) with all options enabledvpn type = L2TP over IPSec
When I attempt to connect with wireless or ethernet, I get a failed to connect error.
May 2 10:23:56 macbook-pro-15 pppd[4210]: L2TP connecting to server ‘xxxx.dyndns.org’ (24.2.xxx.xx)…
May 2 10:23:59 macbook-pro-15 pppd[4210]: IPSec connection started
May 2 10:24:09 macbook-pro-15 pppd[4210]: IPSec connection failedI’ve Got Dyndns working, and it appears the other services, File Sharing, Wiki, etc.
Ideally, I would like to use this VPN connection when I am away from home to get email & browse securely.
May 3, 2008 at 12:11 am #372548JerryZ
ParticipantAdditional info from the log
5/2/08 8:09:06 PM pppd[3130] pppd 2.4.2 (Apple version 314) started by root, uid 501
5/2/08 8:09:07 PM pppd[3130] L2TP connecting to server ‘xxxxxxxxx.dyndns.org’ (xx.x.xxx.90)…5/2/08 8:09:08 PM com.apple.launchd[108] (com.seagate.notificationexec.plist) Throttling respawn: Will start in 10 seconds
5/2/08 8:09:10 PM pppd[3130] IPSec connection started5/2/08 8:09:11 PM pppd[3130] IPSec connection established
5/2/08 8:09:11 PM pppd[3130] L2TP connection established.
5/2/08 8:09:11 PM pppd[3130] Connect: ppp0 <--> socket[34:18]
5/2/08 8:09:12 PM pppd[3130] MS-CHAP authentication failed:
5/2/08 8:09:12 PM pppd[3130] Connection terminated.
5/2/08 8:09:12 PM pppd[3130] L2TP disconnecting…5/2/08 8:09:12 PM pppd[3130] L2TP disconnected
May 3, 2008 at 12:35 am #372549JerryZ
ParticipantI resolved this issue with port forwarding the Server VPN ports on my AEBS –
udp: 500, 4500; udp/tcp: 50This allowed me to get the VPN working.
-
AuthorPosts
- You must be logged in to reply to this topic.