iankelling.org
/
git
/
automated-distro-installer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3c627f
)
add backup host ssh
author
Ian Kelling
<ian@iankelling.org>
Sun, 25 Sep 2016 04:23:25 +0000
(21:23 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Mon, 6 Feb 2017 06:21:41 +0000
(22:21 -0800)
wrt-setup
patch
|
blob
|
history
diff --git
a/wrt-setup
b/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