0

I am connecting to a VPN Server set up following instructions in https://github.com/hwdsl2/setup-ipsec-vpn

And I setup the clients following https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md#os-x

Under the same LAN, one of my client(OSX 10.14.5, firewall off) connected successfully

# Contents of `cat /var/log/ppp.log`
Tue Jun 11 14:46:46 2019 : publish_entry SCDSet() failed: Success!
Tue Jun 11 14:46:46 2019 : publish_entry SCDSet() failed: Success!
Tue Jun 11 14:46:46 2019 : l2tp_get_router_address
Tue Jun 11 14:46:46 2019 : l2tp_get_router_address 192.168.3.1 from dict 1
Tue Jun 11 14:46:46 2019 : L2TP connecting to server ‘xxx.xxx.xxx.xxx’ (xxx.xxx.xxx.xxx)...
Tue Jun 11 14:46:46 2019 : IPSec connection started
Tue Jun 11 14:46:46 2019 : IPSec phase 1 client started
Tue Jun 11 14:46:47 2019 : IPSec phase 1 server replied
Tue Jun 11 14:46:47 2019 : IPSec phase 2 started
Tue Jun 11 14:46:48 2019 : IPSec phase 2 established
Tue Jun 11 14:46:48 2019 : IPSec connection established
Tue Jun 11 14:46:48 2019 : L2TP sent SCCRQ
Tue Jun 11 14:46:48 2019 : L2TP received SCCRP
Tue Jun 11 14:46:48 2019 : L2TP sent SCCCN
Tue Jun 11 14:46:48 2019 : L2TP sent ICRQ
Tue Jun 11 14:46:48 2019 : L2TP received ICRP
Tue Jun 11 14:46:48 2019 : L2TP sent ICCN
Tue Jun 11 14:46:48 2019 : L2TP connection established.
Tue Jun 11 14:46:48 2019 : L2TP set port-mapping for en0, interface: 8, protocol: 0, privatePort: 0

But the other client(also OSX 10.14.5, firewall off) failed to connect

# Contents of `cat /var/log/ppp.log`
Tue Jun 11 14:44:04 2019 : publish_entry SCDSet() failed: Success!
Tue Jun 11 14:44:04 2019 : publish_entry SCDSet() failed: Success!
Tue Jun 11 14:44:04 2019 : l2tp_get_router_address
Tue Jun 11 14:44:04 2019 : l2tp_get_router_address 192.168.3.1 from dict 1
Tue Jun 11 14:44:04 2019 : L2TP connecting to server 'xxx.xxx.xxx.xxx' (xxx.xxx.xxx.xxx)...
Tue Jun 11 14:44:04 2019 : L2TP sent SCCRQ
Tue Jun 11 14:44:24 2019 : L2TP cannot connect to the server

Can somebody gives me a hint?

New contributor
jchnxu is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

jchnxu is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.