tail -f /var/log/syslog
發現如下錯誤:
g_dbus_method_invocation_take_error: assertion 'error != NULL' failed
解決方法:
$ sudo su
$ systemctl stop strongswan
$ ike-scan 網關地址
查看其中的輸出結果 ,SA=(Enc=3DES Hash=md5 Auth=PSK Group=2:modp1024 LifeType=Seconds LifeDuration(4)=0x00007080)
找到 Enc 、Hash、Group 三個字段的值,填入下圖中顯示的:
-
Phase1 Algorithms : 3des-md5-modp1024
-
Phase2 Algorithms : 3des-md5
再次連接即可。