From 5802954a2af0be2546c329789f54cd30866f8a8a Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 29 Mar 2016 13:46:58 +0200 Subject: Allow inbound connections on redirected ports --- doc/le-iptables.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3