firewall: document rules for IPSec ESP/ISAKMP with 'name' option
[openwrt/staging/lynxis/omap.git] / package / network / config / firewall / files / firewall.config
index ba7e4ec0b3fe1cb3217dfff67796821ba5ee30d1..8874e9882c3083932fc90e061739dc265992eb61 100644 (file)
@@ -59,8 +59,8 @@ config rule
        option name             Allow-DHCPv6
        option src              wan
        option proto            udp
-       option src_ip           fe80::/10
-       option dest_ip          fe80::/10
+       option src_ip           fc00::/6
+       option dest_ip          fc00::/6
        option dest_port        546
        option family           ipv6
        option target           ACCEPT
@@ -114,6 +114,21 @@ config rule
        option family           ipv6
        option target           ACCEPT
 
+config rule
+       option name             Allow-IPSec-ESP
+       option src              wan
+       option dest             lan
+       option proto            esp
+       option target           ACCEPT
+
+config rule
+       option name             Allow-ISAKMP
+       option src              wan
+       option dest             lan
+       option dest_port        500
+       option proto            udp
+       option target           ACCEPT
+
 # include a file with users custom iptables rules
 config include
        option path /etc/firewall.user
@@ -157,20 +172,6 @@ config include
 #      option dest_port        22
 #      option proto            tcp
 
-# allow IPsec/ESP and ISAKMP passthrough
-config rule
-       option src              wan
-       option dest             lan
-       option proto            esp
-       option target           ACCEPT
-
-config rule
-       option src              wan
-       option dest             lan
-       option dest_port        500
-       option proto            udp
-       option target           ACCEPT
-
 ### FULL CONFIG SECTIONS
 #config rule
 #      option src              lan