X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=8293e9d1325fa961e2a894f0c3df71da6dd69032;hb=0a2a4d11ef323da19d0cebe2f5ec7b1be7bd15bc;hp=3fa44d229d81e7cbc44616eed3fd3f1917ee939a;hpb=1a5548031efc4a1fa88ca94237eac3033cf97ef1;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index 3fa44d2..8293e9d 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 <