summaryrefslogtreecommitdiffstats
path: root/tests/configs/match-complex
diff options
context:
space:
mode:
Diffstat (limited to 'tests/configs/match-complex')
-rw-r--r--tests/configs/match-complex17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/configs/match-complex b/tests/configs/match-complex
new file mode 100644
index 0000000..6363403
--- /dev/null
+++ b/tests/configs/match-complex
@@ -0,0 +1,17 @@
+HostName bogus
+
+Match originalhost target host bogus
+ User rand
+
+Match originalhost remote localuser rando
+ User calrissian
+
+# Just to set user for subsequent match
+Match originalhost www
+ User calrissian
+
+Match !canonical originalhost www host bogus localuser rando user calrissian
+ Port 7777
+
+Match !canonical !originalhost www host bogus localuser rando !user calrissian
+ Port 1234