better handling of home http server
[automated-distro-installer] / wrt-disabled-firewall-rules
index a0041d70470bba769534d23bc1a82c73772dde3e..3190f0b7775c33d32de2add34cd8c0cc8ff6b799 100644 (file)
@@ -5,6 +5,32 @@ firewall rules, temporarily disabled until I get them working
       # each port forward needs corresponding forward in the vpn server
 
 
+#http/https
+config redirect
+       option src              wan
+       option src_dport        443
+       option dest             lan
+       option dest_ip          192.168.1.2
+       option proto            tcp
+config rule
+       option src              wan
+       option target           ACCEPT
+       option dest_port        443
+       option proto            tcp
+
+config redirect
+       option src              wan
+       option src_dport        80
+       option dest             lan
+       option dest_ip          192.168.1.2
+       option proto            tcp
+config rule
+       option src              wan
+       option target           ACCEPT
+       option dest_port        80
+       option proto            tcp
+
+
 config redirect
     option name bittorrent
     option src              vpn