From: Ian Kelling Date: Sun, 25 Sep 2016 04:23:25 +0000 (-0700) Subject: add backup host ssh X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=commitdiff_plain;h=97429d7ee05f7e8b490fe521636dc3fb58b2a775 add backup host ssh --- 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