ubuntu16.04使用L2TP時出現service failed to start解決辦法tail -f /var/log/syslog

原文鏈接:http://www.pianshen.com/article/3099545762/
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

再次連接即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章