all computers can login to vpn, except one.
At my office I am running an Apple server (El Capitan with server 5.2). VPN is enabled and running.
When I connect to the VPN from home with my ancient MacBook Pro (2009, Sierra) everything works as expected. When my wife logs in using her MacBook Air (2015, Sierra) everything works as expected. So do all other computers and iPhones at home.
But when I try to log in using my MacBook Air (2015, Sierra), I cannot connect.
The server log shows this:
2018-01-04 17:25:53 CET Incoming call... Address given to client = 192.168.1.200
Thu Jan
4 17:25:53 2018 : Directory Services Authentication plugin initialized
Thu Jan
4 17:25:53 2018 : Directory Services Authorization plugin initialized
Thu Jan
4 17:25:53 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:53 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:53 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:53 2018 : L2TP incoming call in progress from ‘xxx.xxx.xxx.xxx’…
Thu Jan
4 17:25:53 2018 : L2TP received SCCRQ
Thu Jan
4 17:25:53 2018 : L2TP sent SCCRP
2018-01-04 17:25:54 CET Incoming call... Address given to client = 192.168.1.201
Thu Jan
4 17:25:54 2018 : Directory Services Authentication plugin initialized
Thu Jan
4 17:25:54 2018 : Directory Services Authorization plugin initialized
Thu Jan
4 17:25:54 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:54 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:54 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:54 2018 : L2TP incoming call in progress from 'xxx.xxx.xxx.xxx'...
Thu Jan
4 17:25:54 2018 : L2TP received SCCRQ
Thu Jan
4 17:25:54 2018 : L2TP sent SCCRP
2018-01-04 17:25:56 CET Incoming call... Address given to client = 192.168.1.202
Thu Jan
4 17:25:56 2018 : Directory Services Authentication plugin initialized
Thu Jan
4 17:25:56 2018 : Directory Services Authorization plugin initialized
Thu Jan
4 17:25:56 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:56 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:56 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:25:56 2018 : L2TP incoming call in progress from 'xxx.xxx.xxx.xxx'...
Thu Jan
4 17:25:56 2018 : L2TP received SCCRQ
Thu Jan
4 17:25:56 2018 : L2TP sent SCCRP
2018-01-04 17:26:00 CET Incoming call... Address given to client = 192.168.1.203
Thu Jan
4 17:26:00 2018 : Directory Services Authentication plugin initialized
Thu Jan
4 17:26:00 2018 : Directory Services Authorization plugin initialized
Thu Jan
4 17:26:00 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:00 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:00 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:00 2018 : L2TP incoming call in progress from 'xxx.xxx.xxx.xxx'...
Thu Jan
4 17:26:00 2018 : L2TP received SCCRQ
Thu Jan
4 17:26:00 2018 : L2TP sent SCCRP
2018-01-04 17:26:04 CET Incoming call... Address given to client = 192.168.1.204
Thu Jan
4 17:26:04 2018 : Directory Services Authentication plugin initialized
Thu Jan
4 17:26:04 2018 : Directory Services Authorization plugin initialized
Thu Jan
4 17:26:04 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:04 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:04 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:04 2018 : L2TP incoming call in progress from 'xxx.xxx.xxx.xxx'...
Thu Jan
4 17:26:04 2018 : L2TP received SCCRQ
Thu Jan
4 17:26:04 2018 : L2TP sent SCCRP
2018-01-04 17:26:08 CET Incoming call... Address given to client = 192.168.1.205
Thu Jan
4 17:26:08 2018 : Directory Services Authentication plugin initialized
Thu Jan
4 17:26:08 2018 : Directory Services Authorization plugin initialized
Thu Jan
4 17:26:08 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:08 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:08 2018 : publish_entry SCDSet() failed: Success!
Thu Jan
4 17:26:08 2018 : L2TP incoming call in progress from 'xxx.xxx.xxx.xxx'...
Thu Jan
4 17:26:08 2018 : L2TP received SCCRQ
Thu Jan
4 17:26:08 2018 : L2TP sent SCCRP
2018-01-04 17:26:13 CET
--> Client with address = 192.168.1.200 has hungup
2018-01-04 17:26:14 CET
--> Client with address = 192.168.1.201 has hungup
2018-01-04 17:26:16 CET
--> Client with address = 192.168.1.202 has hungup
2018-01-04 17:26:18 CET
--> Client with address = 192.168.1.203 has hungup
2018-01-04 17:26:21 CET
--> Client with address = 192.168.1.204 has hungup
2018-01-04 17:26:24 CET
--> Client with address = 192.168.1.205 has hungup
So at least there is communication between my computer and the server. Why it assigns 5 IP addresses is beyond me though.
On my Air, var/log/ppp/log shows:
Mon Dec
4 18:59:38 2017 : publish_entry SCDSet() failed: Success!
Mon Dec
4 18:59:38 2017 : publish_entry SCDSet() failed: Success!
Mon Dec
4 18:59:38 2017 : l2tp_get_router_address
Mon Dec
4 18:59:38 2017 : l2tp_get_router_address 192.168.0.1 from dict 1
Mon Dec
4 18:59:38 2017 : L2TP connecting to server ‘yyy.yyy.yyy.yyy’ (yyy.yyy.yyy.yyy)...
Mon Dec
4 18:59:38 2017 : IPSec connection started
Mon Dec
4 18:59:38 2017 : IPSec phase 1 client started
Mon Dec
4 18:59:38 2017 : IPSec phase 1 server replied
Mon Dec
4 18:59:39 2017 : IPSec phase 2 started
Mon Dec
4 18:59:39 2017 : IPSec phase 2 established
Mon Dec
4 18:59:39 2017 : IPSec connection established
Mon Dec
4 18:59:39 2017 : L2TP sent SCCRQ
Mon Dec
4 18:59:59 2017 : L2TP cannot connect to the server
I know the timestamps don't match, but I tried many times to connect and just could not find matching times anymore.
But this does not always happen. Sometimes I try to connect and it just works. When I disconnect and try again 5 minutes later it times out again.
Where to start looking for what causes this? It's not very practical to ask for my wife's computer or dig out the old MacBook Pro every time I need to do something on one of my office computers...
Thanks,
Arjen
MacBook Air (13-inch, Early 2015), macOS Sierra (10.12.6)