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