From 5d3de42f47bf53385686b13db929768cfb2788d2 Mon Sep 17 00:00:00 2001 From: NHAS Date: Wed, 3 May 2023 16:01:10 +1200 Subject: [PATCH] Add missing file --- ...e_rule_definitions_and_mfa_preference.json | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 internal/config/test_mutliple_rule_definitions_and_mfa_preference.json diff --git a/internal/config/test_mutliple_rule_definitions_and_mfa_preference.json b/internal/config/test_mutliple_rule_definitions_and_mfa_preference.json new file mode 100644 index 00000000..a2944960 --- /dev/null +++ b/internal/config/test_mutliple_rule_definitions_and_mfa_preference.json @@ -0,0 +1,48 @@ +{ + "Lockout": 5, + "HelpMail": "help@example.com", + "MaxSessionLifetimeMinutes": 2, + "SessionInactivityTimeoutMinutes": 1, + "ExternalAddress": "192.168.121.61", + "DatabaseLocation": "file::memory:", + "Webserver": { + "Public": { + "ListenAddress": ":8081" + }, + "Tunnel": { + "Port": "8080" + } + }, + "Authenticators": { + "Issuer": "192.168.121.61" + }, + "Wireguard": { + "DevName": "wg45", + "ListenPort": 53230, + "PrivateKey": "aEOTM9QSRsPFs4UMKeeLfsXDJiu6lCoKzVNyxnrsZVQ=", + "Address": "192.168.1.1/24", + "MTU": 1420, + "PersistentKeepAlive": 25 + }, + "Acls": { + "Policies": { + "*": { + "Allow": [ + "7.7.7.7 icmp" + ], + "Mfa": [ + "8.8.8.8 11/tcp" + ] + }, + "tester": { + "Allow": [ + "7.7.7.7 22/tcp", + "8.8.8.8 icmp 8080/any" + ], + "Mfa": [ + "8.8.8.8 9080/any 40-1024/tcp" + ] + } + } + } +} \ No newline at end of file