projects
/
iot2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
926e568
)
Removing forward rules on router for SSH traffic entirely after Sentinel bootstrap...
author
rtrimana
<rtrimana@uci.edu>
Thu, 21 Dec 2017 19:51:46 +0000
(11:51 -0800)
committer
rtrimana
<rtrimana@uci.edu>
Thu, 21 Dec 2017 19:51:46 +0000
(11:51 -0800)
iotjava/iotruntime/master/RouterConfig.java
patch
|
blob
|
history
diff --git
a/iotjava/iotruntime/master/RouterConfig.java
b/iotjava/iotruntime/master/RouterConfig.java
index
e6e0413
..
48bb8f6
100644
(file)
--- a/
iotjava/iotruntime/master/RouterConfig.java
+++ b/
iotjava/iotruntime/master/RouterConfig.java
@@
-648,8
+648,8
@@
public final class RouterConfig {
strConfigHost + " -d " + strMonitorHost + " -p tcp --dport ssh");
pwConfig.println("-A OUTPUT -j ACCEPT -s " +
strConfigHost + " -d " + strMonitorHost + " -p tcp --sport ssh");
- pwConfig.println("-A FORWARD -j ACCEPT -p tcp --dport ssh");
- pwConfig.println("-A FORWARD -j ACCEPT -p tcp --sport ssh");
+
//
pwConfig.println("-A FORWARD -j ACCEPT -p tcp --dport ssh");
+
//
pwConfig.println("-A FORWARD -j ACCEPT -p tcp --sport ssh");
}