libreswan: backport deprecating KLIPS

remove building kernel module, it is not used and is not working with 4.19

rework the ready to use l2tp-ipsec example

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
Lucian Cristian
2019-04-21 16:47:51 +03:00
parent 50e017f7df
commit b4b98e2922
5 changed files with 1020 additions and 69 deletions
+3 -10
View File
@@ -1,17 +1,10 @@
# This file holds shared secrets (PSK) and XAUTH user passwords used for
# authentication. See pluto(8) manpage or the libreswan website.
# Unlike older openswan, this file does NOT contain any X.509 related
# information such as private key :RSA statements as these now reside
# in the NSS database. See:
#
# https://libreswan.org/wiki/Using_NSS_with_libreswan
# https://libreswan.org/wiki/Migrating_from_Openswan
#
# The preferred method for adding secrets is to create a new file in
# the /etc/ipsec.d/ directory, so it will be included via the include
# line below
#A.B.C.D %any : PSK "SsEeCcRrEeTt"
include /etc/ipsec.d/*.secrets
# A.B.C.D %any : PSK "SsEeCcRrEeTt"
: PSK "SsEeCcRrEeTt"
# include /etc/ipsec.d/*.secrets