X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=b8d62f256a4f43ac0284f723dc7c01aa8e53bcea;hb=97429d7ee05f7e8b490fe521636dc3fb58b2a775;hp=dbef44323b7f4cfc027652547d4c868c5f4c79f9;hpb=a3c627f7e5244bf960abe250175d80b3e814e54b;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index dbef443..b8d62f2 100755 --- a/wrt-setup +++ b/wrt-setup @@ -184,6 +184,19 @@ config rule option src wan 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 + EOF