add backup host ssh
authorIan Kelling <ian@iankelling.org>
Sun, 25 Sep 2016 04:23:25 +0000 (21:23 -0700)
committerIan Kelling <ian@iankelling.org>
Mon, 6 Feb 2017 06:21:41 +0000 (22:21 -0800)
wrt-setup

index dbef44323b7f4cfc027652547d4c868c5f4c79f9..b8d62f256a4f43ac0284f723dc7c01aa8e53bcea 100755 (executable)
--- 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