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

再次连接即可。

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