From 3f83561d3da3c06a22e78e5c29f3c09ad05c299d Mon Sep 17 00:00:00 2001 From: smithjord3 Date: Sat, 29 Oct 2022 21:33:56 +1300 Subject: [PATCH] Add tests --- .../test_roaming_all_routes_mfa_priority.json | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 config/test_roaming_all_routes_mfa_priority.json diff --git a/config/test_roaming_all_routes_mfa_priority.json b/config/test_roaming_all_routes_mfa_priority.json new file mode 100644 index 00000000..5c4ad849 --- /dev/null +++ b/config/test_roaming_all_routes_mfa_priority.json @@ -0,0 +1,37 @@ +{ + "Lockout": 5, + "HelpMail": "help@example.com", + "MaxSessionLifetimeMinutes": 2, + "SessionInactivityTimeoutMinutes": 1, + "ExternalAddress": "192.168.121.61", + "DatabaseLocation": "file::memory:", + "Issuer": "192.168.121.61", + "Webserver": { + "Public": { + "ListenAddress": ":8081" + }, + "Tunnel": { + "ListenAddress": "192.168.1.1:8080" + } + }, + "Wireguard": { + "DevName": "wg45", + "ListenPort": 53230, + "PrivateKey": "aEOTM9QSRsPFs4UMKeeLfsXDJiu6lCoKzVNyxnrsZVQ=", + "Address": "192.168.1.1/24", + "MTU": 1420, + "PersistentKeepAlive": 25 + }, + "Acls": { + "Policies": { + "*": { + "Allow": [ + "0.0.0.0/0" + ], + "Mfa": [ + "8.8.8.8" + ] + } + } + } +} \ No newline at end of file