Please follow the below template, it will help us to help you!
Expected Behaviour:
Allow ports 80 and 443 only for the PiHole Management interface.
I would also like to keep the current iptables configuration that timeouts connection to speed up the process of ad blocking
cat /etc/iptables/rules.v4
# Generated by iptables-save v1.6.0 on Fri Sep 7 08:54:11 2018
*filter
:INPUT ACCEPT [8:512]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [6:1008]
-A INPUT -p tcp -m tcp --dport 443 -j REJECT --reject-with tcp-reset
-A INPUT -p udp -m udp --dport 80 -j REJECT --reject-with icmp-port-unreachable
-A INPUT -p udp -m udp --dport 443 -j REJECT --reject-with icmp-port-unreachable
-A INPUT -p tcp -m tcp --dport 443 -j REJECT --reject-with tcp-reset
-A INPUT -p udp -m udp --dport 80 -j REJECT --reject-with icmp-port-unreachable
-A INPUT -p udp -m udp --dport 443 -j REJECT --reject-with icmp-port-unreachable
COMMIT
# Completed on Fri Sep 7 08:54:11 2018
Actual Behaviour:
I have setup my SSL certificate under lighttpd.conf. If I clear the iptables I am able to connect with https.
But I don't really like the idea of clearing the iptables.
How can I keep the existing iptables but also allow 80,443 for the pi hole interface?
/moderator (@mibere) edit: public debug token output removed