From 97429d7ee05f7e8b490fe521636dc3fb58b2a775 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sat, 24 Sep 2016 21:23:25 -0700 Subject: [PATCH] add backup host ssh --- wrt-setup | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.30.2