diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-07-13 16:04:53 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-07-15 13:18:26 +0200 |
commit | 3af38a4d673c37ed46d7d8d43ad03a94799ad09d (patch) | |
tree | ff58714ca75a7439e7fdfa3b9cb751294673c0fe /smoketest/configs | |
parent | a2ff17e46ec030168de044ac06ffd5023a3d6a22 (diff) | |
download | vyos-1x-3af38a4d673c37ed46d7d8d43ad03a94799ad09d.tar.gz vyos-1x-3af38a4d673c37ed46d7d8d43ad03a94799ad09d.zip |
pki: ipsec: l2tp: T2816: T3642: Move IPSec/L2TP code into vpn_ipsec.py and update to use PKI.
Diffstat (limited to 'smoketest/configs')
-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 |