iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add backup host ssh
[automated-distro-installer]
/
wrt-setup
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
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
EOF