[PATCH] firewall: provide examples of ssh port relocation on firewall and IPsec passt...
[openwrt/svn-archive/archive.git] / package / firewall / files / firewall.config
index 7904cedb879140804a8afa1f7f76258538a05516..bee162549e78e2c73abfeb4e9acdbed6bca2f822 100644 (file)
@@ -75,6 +75,28 @@ config include
 #      option dest_port        80 
 #      option proto            tcp
 
+# port redirect of remapped ssh port (22001) on wan
+#config redirect
+#      option src              wan
+#      option src_dport        22001
+#      option dest             lan
+#      option dest_port        22
+#      option proto            tcp
+
+# allow IPsec/ESP and ISAKMP passthrough
+#config rule
+#      option src              wan
+#      option dest             lan
+#      option protocol         esp
+#      option target           ACCEPT
+
+#config rule
+#      option src              wan
+#      option dest             lan
+#      option src_port         500
+#      option dest_port        500
+#      option proto            udp
+#      option target           ACCEPT
 
 ### FULL CONFIG SECTIONS
 #config rule