Home Forums OS X Server and Client Discussion Questions and Answers VPN Setup – Not Working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #372547
    JerryZ
    Participant

    I 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.220

    I 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 enabled

    vpn 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 failed

    I’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.

    #372548
    JerryZ
    Participant

    Additional 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 started

    5/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

    #372549
    JerryZ
    Participant

    I resolved this issue with port forwarding the Server VPN ports on my AEBS –
    udp: 500, 4500; udp/tcp: 50

    This allowed me to get the VPN working.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed