mac连接服务器端会报错如下:
Feb 26 15:10:14 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[21] 123.58.9.18 #26: ESP traffic information: in=0B out=94B
Feb 26 15:10:14 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk" #26: deleting state (STATE_MAIN_R3)
Feb 26 15:10:14 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[21] 123.58.9.18: deleting connection "l2tp-psk"[21] 123.58.9.18 instance with peer 123.58.9.18 {isakmp=#0/ipsec=#0}
Feb 26 15:10:14 izj6cb393gayijp3r7ticfz pluto[2717]: packet from 123.58.9.18:4500: received and ignored empty informational notification payload
Feb 26 15:10:25 izj6cb393gayijp3r7ticfz xl2tpd[2790]: xl2tpd[2790]: Maximum retries exceeded for tunnel 40776. Closing.
Feb 26 15:10:25 izj6cb393gayijp3r7ticfz xl2tpd[2790]: xl2tpd[2790]: Connection 52 closed to 123.58.9.18, port 52402 (Timeout)
Feb 26 15:10:56 izj6cb393gayijp3r7ticfz xl2tpd[2790]: xl2tpd[2790]: Unable to deliver closing message for tunnel 40776. Destroying anyway.
Feb 26 15:12:38 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[20] 123.58.9.18 #28: responding to Main Mode from unknown peer 123.58.9.18
Feb 26 15:12:38 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[20] 123.58.9.18 #28: transition from state STATE_MAIN_R0 to state STATE_MAIN_R1
Feb 26 15:12:38 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[20] 123.58.9.18 #28: STATE_MAIN_R1: sent MR1, expecting MI2
Feb 26 15:12:38 izj6cb393gayijp3r7ticfz pluto[2717]: packet from 123.58.9.18:201: phase 1 message is part of an unknown exchange
我这边本地测试有两个设备Android(小米6)和mac pro,连接到一个wifi,出口ip相同 我本地测试如下:
我服务器环境是centos7,我通过观察日志 journalctl -f 发现这个应该是因为一个wifi出去的ip相同会有冲突
mac连接服务器端会报错如下: Feb 26 15:10:14 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[21] 123.58.9.18 #26: ESP traffic information: in=0B out=94B Feb 26 15:10:14 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk" #26: deleting state (STATE_MAIN_R3) Feb 26 15:10:14 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[21] 123.58.9.18: deleting connection "l2tp-psk"[21] 123.58.9.18 instance with peer 123.58.9.18 {isakmp=#0/ipsec=#0} Feb 26 15:10:14 izj6cb393gayijp3r7ticfz pluto[2717]: packet from 123.58.9.18:4500: received and ignored empty informational notification payload Feb 26 15:10:25 izj6cb393gayijp3r7ticfz xl2tpd[2790]: xl2tpd[2790]: Maximum retries exceeded for tunnel 40776. Closing. Feb 26 15:10:25 izj6cb393gayijp3r7ticfz xl2tpd[2790]: xl2tpd[2790]: Connection 52 closed to 123.58.9.18, port 52402 (Timeout) Feb 26 15:10:56 izj6cb393gayijp3r7ticfz xl2tpd[2790]: xl2tpd[2790]: Unable to deliver closing message for tunnel 40776. Destroying anyway. Feb 26 15:12:38 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[20] 123.58.9.18 #28: responding to Main Mode from unknown peer 123.58.9.18 Feb 26 15:12:38 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[20] 123.58.9.18 #28: transition from state STATE_MAIN_R0 to state STATE_MAIN_R1 Feb 26 15:12:38 izj6cb393gayijp3r7ticfz pluto[2717]: "l2tp-psk"[20] 123.58.9.18 #28: STATE_MAIN_R1: sent MR1, expecting MI2 Feb 26 15:12:38 izj6cb393gayijp3r7ticfz pluto[2717]: packet from 123.58.9.18:201: phase 1 message is part of an unknown exchange