Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.03 KB | None | 0 0
  1. apt-get install strongswan network-manager-strongswan
  2.  
  3. https://launchpad.net/~seriy-pr/+archive/ubuntu/network-manager-l2tp
  4.  
  5. Jul 2 14:44:00 xen ipsec_setup: Starting Openswan IPsec 2.6.38...
  6. Jul 2 14:44:01 xen ipsec_setup: Using KLIPS/legacy stack
  7. Jul 2 14:44:01 xen kernel: [ 49.125995] sha512_ssse3: Neither AVX nor SSSE3 is available/usable.
  8. Jul 2 14:44:01 xen kernel: [ 49.152561] sha256_ssse3: Neither AVX nor SSSE3 is available/usable.
  9. Jul 2 14:44:01 xen kernel: [ 49.172064] AVX instructions are not detected.
  10. Jul 2 14:44:01 xen kernel: [ 49.189713] AVX instructions are not detected.
  11. Jul 2 14:44:01 xen kernel: [ 49.207982] AVX instructions are not detected.
  12. Jul 2 14:44:01 xen kernel: [ 49.232719] AVX instructions are not detected.
  13. Jul 2 14:44:01 xen kernel: [ 49.261421] AVX instructions are not detected.
  14. Jul 2 14:44:01 xen kernel: [ 49.287047] AVX or AES-NI instructions are not detected.
  15. Jul 2 14:44:01 xen kernel: [ 49.307848] AVX or AES-NI instructions are not detected.
  16. Jul 2 14:44:01 xen ipsec_setup: No KLIPS support found while requested, desperately falling back to netkey
  17. Jul 2 14:44:01 xen ipsec_setup: NETKEY support found. Use protostack=netkey in /etc/ipsec.conf to avoid attempts to use KLIPS. Attempting to continue with NETKEY
  18. Jul 2 14:44:01 xen kernel: [ 49.329498] NET: Registered protocol family 15
  19. Jul 2 14:44:01 xen ipsec_setup: Using NETKEY(XFRM) stack
  20. Jul 2 14:44:01 xen kernel: [ 49.403213] Initializing XFRM netlink socket
  21. Jul 2 14:44:01 xen kernel: [ 49.501839] sha512_ssse3: Neither AVX nor SSSE3 is available/usable.
  22. Jul 2 14:44:01 xen kernel: [ 49.516281] sha256_ssse3: Neither AVX nor SSSE3 is available/usable.
  23. Jul 2 14:44:01 xen kernel: [ 49.539742] AVX instructions are not detected.
  24. Jul 2 14:44:01 xen kernel: [ 49.561641] AVX instructions are not detected.
  25. Jul 2 14:44:01 xen kernel: [ 49.579962] AVX instructions are not detected.
  26. Jul 2 14:44:01 xen kernel: [ 49.604578] AVX instructions are not detected.
  27. Jul 2 14:44:01 xen kernel: [ 49.621050] AVX instructions are not detected.
  28. Jul 2 14:44:01 xen kernel: [ 49.646920] AVX or AES-NI instructions are not detected.
  29. Jul 2 14:44:01 xen kernel: [ 49.667841] AVX or AES-NI instructions are not detected.
  30. Jul 2 14:44:01 xen kernel: [ 49.686945] netlink: 24 bytes leftover after parsing attributes in process `ip'.
  31. Jul 2 14:44:01 xen ipsec_setup: ...Openswan IPsec started
  32. Jul 2 14:44:01 xen pluto: adjusting ipsec.d to /etc/ipsec.d
  33. Jul 2 14:44:01 xen ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
  34. Jul 2 14:44:01 xen NetworkManager[806]: <info> VPN connection 'OTOY Cluster' (Connect) reply received.
  35. Jul 2 14:44:11 xen NetworkManager[806]: <warn> VPN plugin failed: 7
  36. Jul 2 14:44:42 xen NetworkManager[806]: <warn> VPN connection 'OTOY Cluster' (IP Config Get) timeout exceeded.
  37. Jul 2 14:44:42 xen NetworkManager[806]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
  38. Jul 2 14:44:47 xen NetworkManager[806]: <info> VPN service 'l2tp' disappeared
  39. Jul 2 14:51:35 xen kernel: [ 503.672175] netlink: 24 bytes leftover after parsing attributes in process `ip'.
  40. Jul 2 14:51:35 xen kernel: [ 503.680945] ip_tables: (C) 2000-2006 Netfilter Core Team
  41. Jul 2 14:51:35 xen kernel: [ 503.686441] ip6_tables: (C) 2000-2006 Netfilter Core Team
  42. Jul 2 14:52:04 xen NetworkManager[806]: <info> Starting VPN service 'l2tp'...
  43. Jul 2 14:52:04 xen NetworkManager[806]: <info> VPN service 'l2tp' started (org.freedesktop.NetworkManager.l2tp), PID 3589
  44. Jul 2 14:52:04 xen NetworkManager[806]: <info> VPN service 'l2tp' appeared; activating connections
  45. Jul 2 14:52:04 xen NetworkManager[806]: <info> VPN plugin state changed: starting (3)
  46. Jul 2 14:52:04 xen ipsec_setup: Stopping Openswan IPsec...
  47. Jul 2 14:52:05 xen kernel: [ 533.776479] netlink: 24 bytes leftover after parsing attributes in process `ip'.
  48. Jul 2 14:52:05 xen kernel: [ 534.105661] NET: Unregistered protocol family 15
  49. Jul 2 14:52:06 xen ipsec_setup: ...Openswan IPsec stopped
  50.  
  51. sudo apt install
  52. intltool
  53. libtool
  54. network-manager-dev
  55. libnm-util-dev
  56. libnm-glib-dev
  57. libnm-glib-vpn-dev
  58. libnm-gtk-dev
  59. libnm-dev
  60. libnma-dev
  61. ppp-dev
  62. libdbus-glib-1-dev
  63. libsecret-1-dev
  64. libgtk-3-dev
  65. libglib2.0-dev
  66. xl2tpd
  67. strongswan
  68.  
  69. git clone https://github.com/nm-l2tp/network-manager-l2tp.git
  70. cd network-manager-l2tp
  71. autoreconf -fi
  72. intltoolize
  73.  
  74. Make sure no errors have occurred.
  75.  
  76. ./configure
  77. --disable-static --prefix=/usr
  78. --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu
  79. --libexecdir=/usr/lib/NetworkManager
  80. --localstatedir=/var
  81. --with-pppd-plugin-dir=/usr/lib/pppd/2.4.7
  82.  
  83. Make sure no errors occurred.
  84.  
  85. make
  86. sudo make install
  87.  
  88. Remove AppArmor settings for IPSec:
  89.  
  90. sudo apparmor_parser -R /etc/apparmor.d/usr.lib.ipsec.charon
  91. sudo apparmor_parser -R /etc/apparmor.d/usr.lib.ipsec.stroke
  92.  
  93. sudo apt remove xl2tpd
  94. sudo apt install libpcap0.8-dev
  95.  
  96. wget https://github.com/xelerance/xl2tpd/archive/v1.3.6/xl2tpd-1.3.6.tar.gz
  97. tar xvzf xl2tpd-1.3.6.tar.gz
  98. cd xl2tpd-1.3.6
  99. make
  100. sudo make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement