X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=b244bcaa8985955dba072980afbb0db164324e22;hb=114c4b67d43d7fa1cd7b5014153b82aa8492c74d;hp=3fa44d229d81e7cbc44616eed3fd3f1917ee939a;hpb=1a5548031efc4a1fa88ca94237eac3033cf97ef1;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index 3fa44d2..b244bca 100755 --- a/wrt-setup +++ b/wrt-setup @@ -185,8 +185,18 @@ config rule option target ACCEPT option dest_port 22 +config redirect + option name ssh + option src wan + option src_dport 2222 + option dest_port 22 + option dest_ip 192.168.1.3 + option dest lan +config rule + option src wan + option target ACCEPT + option dest_port 2222 -#http/https config redirect option src wan option src_dport 443 @@ -210,7 +220,6 @@ config rule option target ACCEPT option dest_port 80 option proto tcp - EOF @@ -219,15 +228,15 @@ EOF dnsmasq_restart=false v cedit /etc/hosts <