diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-17 07:24:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-17 07:24:32 +0200 |
commit | b04c4e21a07126d40702123e1122cd200883ccda (patch) | |
tree | ff58714ca75a7439e7fdfa3b9cb751294673c0fe /smoketest | |
parent | a2ff17e46ec030168de044ac06ffd5023a3d6a22 (diff) | |
parent | 3af38a4d673c37ed46d7d8d43ad03a94799ad09d (diff) | |
download | vyos-1x-b04c4e21a07126d40702123e1122cd200883ccda.tar.gz vyos-1x-b04c4e21a07126d40702123e1122cd200883ccda.zip |
Merge pull request #924 from sarthurdev/ipsec_l2tp_pki
pki: ipsec: l2tp: T2816: T3642: Move IPSec/L2TP code into vpn_ipsec.py and update to use PKI.
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/configs/pki-ipsec | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/smoketest/configs/pki-ipsec b/smoketest/configs/pki-ipsec index 5025117f7..6fc239d27 100644 --- a/smoketest/configs/pki-ipsec +++ b/smoketest/configs/pki-ipsec @@ -105,6 +105,33 @@ vpn { } } } + l2tp { + remote-access { + authentication { + local-users { + username alice { + password notsecure + } + } + mode local + } + client-ip-pool { + start 192.168.255.2 + stop 192.168.255.254 + } + ipsec-settings { + authentication { + mode x509 + x509 { + ca-cert-file /config/auth/ovpn_test_ca.pem + server-cert-file /config/auth/ovpn_test_server.pem + server-key-file /config/auth/ovpn_test_server.key + } + } + } + outside-address 192.168.150.1 + } + } rsa-keys { local-key { file /config/auth/ovpn_test_server.key |