aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-29 13:46:58 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-03-29 13:46:58 +0200
commit5802954a2af0be2546c329789f54cd30866f8a8a (patch)
treedd020e9badb63530d2474dd1f428d7a4a654f181
parent344208d40e0e4348fac156c89624f147042de973 (diff)
Allow inbound connections on redirected ports
-rwxr-xr-xdoc/le-iptables.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/le-iptables.sh b/doc/le-iptables.sh
index dff1fea..28cecae 100755
--- a/doc/le-iptables.sh
+++ b/doc/le-iptables.sh
@@ -7,3 +7,6 @@ for host in outbound1.letsencrypt.org outbound2.letsencrypt.org; do
--source $host --dport $port --jump REDIRECT --to-ports $dest
done
done
+
+iptables --table filter --append INPUT --protocol tcp \
+ --match multiport --dports 8080,8443 --jump ACCEPT