X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=044bf826e5510f25541e908a77013dd4d291eeaf;hb=d9b78f72ce932fff58c4b031f35f8722d8dbae33;hp=4d208c0eea476ea6a77d2d4607b5cd9acddb197a;hpb=ce6db3967cb73d7169cc8b410e53e2ecbd506752;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index 4d208c0..044bf82 100755 --- a/wrt-setup +++ b/wrt-setup @@ -169,6 +169,33 @@ config rule option src wan option target ACCEPT option dest_port 22 + + +#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 + EOF