l2tp连不上的问题
Tofloor
poster avatar
junmoxiao
deepin
2018-03-03 05:25
Author
本帖最后由 junmoxiao 于 2018-3-2 21:31 编辑

https://bbs.deepin.org/user/33250
我看了这个帖子
https://bbs.deepin.org/post/153665#vpn

解决方案说是改vpn的配置文件,指定加密方式,但是我看了https://github.com/nm-l2tp/network-manager-l2tp/wiki/Known-Issues#querying-vpn-server-for-its-ikev1-algorithm-proposals 这个链接,看不懂他是怎么从输出对应到配置的
下面是我执行ike-scan的输出,那我应该怎么改配置文件呢?

其中ip被我改了哈,不是真实ip

  1. junmoxiao@cat:~/test$ sudo ./ike-scan.sh 115.222.222.222 | grep SA
  2. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  3.         SA=(Enc=3DES Hash=MD5 Auth=PSK Group=2:modp1024 LifeType=Seconds LifeDuration(4)=0x00007080)
  4.         SA=(Enc=3DES Hash=MD5 Auth=PSK Group=5:modp1536 LifeType=Seconds LifeDuration(4)=0x00007080)
  5.         SA=(Enc=3DES Hash=MD5 Auth=PSK Group=14:modp2048 LifeType=Seconds LifeDuration(4)=0x00007080)
  6.         SA=(Enc=3DES Hash=MD5 Auth=PSK Group=15:modp3072 LifeType=Seconds LifeDuration(4)=0x00007080)
  7. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  8. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  9. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  10. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  11.         SA=(Enc=3DES Hash=SHA1 Auth=PSK Group=2:modp1024 LifeType=Seconds LifeDuration(4)=0x00007080)
  12.         SA=(Enc=3DES Hash=SHA1 Auth=PSK Group=5:modp1536 LifeType=Seconds LifeDuration(4)=0x00007080)
  13.         SA=(Enc=3DES Hash=SHA1 Auth=PSK Group=14:modp2048 LifeType=Seconds LifeDuration(4)=0x00007080)
  14.         SA=(Enc=3DES Hash=SHA1 Auth=PSK Group=15:modp3072 LifeType=Seconds LifeDuration(4)=0x00007080)
  15. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  16. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  17. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  18. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  19.         SA=(Enc=3DES Hash=SHA2-384 Auth=PSK Group=2:modp1024 LifeType=Seconds LifeDuration(4)=0x00007080)
  20.         SA=(Enc=3DES Hash=SHA2-384 Auth=PSK Group=5:modp1536 LifeType=Seconds LifeDuration(4)=0x00007080)
  21.         SA=(Enc=3DES Hash=SHA2-384 Auth=PSK Group=14:modp2048 LifeType=Seconds LifeDuration(4)=0x00007080)
  22.         SA=(Enc=3DES Hash=SHA2-384 Auth=PSK Group=15:modp3072 LifeType=Seconds LifeDuration(4)=0x00007080)
  23. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  24. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  25. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  26.         SA=(Enc=3DES Hash=SHA2-512 Auth=PSK Group=2:modp1024 LifeType=Seconds LifeDuration(4)=0x00007080)
  27.         SA=(Enc=3DES Hash=SHA2-512 Auth=PSK Group=5:modp1536 LifeType=Seconds LifeDuration(4)=0x00007080)
  28.         SA=(Enc=3DES Hash=SHA2-512 Auth=PSK Group=14:modp2048 LifeType=Seconds LifeDuration(4)=0x00007080)
  29.         SA=(Enc=3DES Hash=SHA2-512 Auth=PSK Group=15:modp3072 LifeType=Seconds LifeDuration(4)=0x00007080)
  30. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  31.         SA=(Enc=AES Hash=MD5 Auth=PSK Group=2:modp1024 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  32.         SA=(Enc=AES Hash=MD5 Auth=PSK Group=5:modp1536 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  33.         SA=(Enc=AES Hash=MD5 Auth=PSK Group=14:modp2048 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  34.         SA=(Enc=AES Hash=MD5 Auth=PSK Group=15:modp3072 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  35. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  36. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  37. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  38. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  39.         SA=(Enc=AES Hash=SHA1 Auth=PSK Group=2:modp1024 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  40.         SA=(Enc=AES Hash=SHA1 Auth=PSK Group=5:modp1536 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  41.         SA=(Enc=AES Hash=SHA1 Auth=PSK Group=14:modp2048 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  42.         SA=(Enc=AES Hash=SHA1 Auth=PSK Group=15:modp3072 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  43. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  44. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  45. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  46. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  47.         SA=(Enc=AES Hash=SHA2-384 Auth=PSK Group=2:modp1024 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  48.         SA=(Enc=AES Hash=SHA2-384 Auth=PSK Group=5:modp1536 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  49.         SA=(Enc=AES Hash=SHA2-384 Auth=PSK Group=14:modp2048 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  50.         SA=(Enc=AES Hash=SHA2-384 Auth=PSK Group=15:modp3072 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  51. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  52. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  53. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  54. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  55.         SA=(Enc=AES Hash=SHA2-512 Auth=PSK Group=2:modp1024 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  56.         SA=(Enc=AES Hash=SHA2-512 Auth=PSK Group=5:modp1536 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  57.         SA=(Enc=AES Hash=SHA2-512 Auth=PSK Group=14:modp2048 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  58.         SA=(Enc=AES Hash=SHA2-512 Auth=PSK Group=15:modp3072 KeyLength=128 LifeType=Seconds LifeDuration(4)=0x00007080)
  59. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  60. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  61.         SA=(Enc=AES Hash=MD5 Auth=PSK Group=14:modp2048 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  62.         SA=(Enc=AES Hash=MD5 Auth=PSK Group=15:modp3072 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  63. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  64. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  65. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  66. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  67.         SA=(Enc=AES Hash=SHA1 Auth=PSK Group=2:modp1024 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  68.         SA=(Enc=AES Hash=SHA1 Auth=PSK Group=5:modp1536 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  69.         SA=(Enc=AES Hash=SHA1 Auth=PSK Group=14:modp2048 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  70.         SA=(Enc=AES Hash=SHA1 Auth=PSK Group=15:modp3072 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  71. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  72. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  73. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  74. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  75.         SA=(Enc=AES Hash=SHA2-384 Auth=PSK Group=2:modp1024 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  76.         SA=(Enc=AES Hash=SHA2-384 Auth=PSK Group=5:modp1536 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  77.         SA=(Enc=AES Hash=SHA2-384 Auth=PSK Group=14:modp2048 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  78.         SA=(Enc=AES Hash=SHA2-384 Auth=PSK Group=15:modp3072 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  79. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  80. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  81. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  82. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  83.         SA=(Enc=AES Hash=SHA2-512 Auth=PSK Group=2:modp1024 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  84.         SA=(Enc=AES Hash=SHA2-512 Auth=PSK Group=5:modp1536 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  85.         SA=(Enc=AES Hash=SHA2-512 Auth=PSK Group=14:modp2048 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  86.         SA=(Enc=AES Hash=SHA2-512 Auth=PSK Group=15:modp3072 KeyLength=192 LifeType=Seconds LifeDuration(4)=0x00007080)
  87. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  88. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  89. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  90. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  91. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  92. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  93. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)
  94. 115.222.222.222        Notify message 14 (NO-PROPOSAL-CHOSEN)

Copy the Code


Reply Favorite View the author
All Replies
avatar
186******86
deepin
2019-09-10 17:37
#1
楼主,问题解决了吗?我也遇到一样的问题。
Reply View the author