Iptable blocking letsencrypt

I’ve checked my iptables rules and cannot find what rule is causing inaccessibility, but when I disable the rules the site works and when I enable the rules the site doesn’t load and I get a "Assessment failed: Unable to connect to the server " from https://www.ssllabs.com/ssltest/analyze.html.
I’d appreciate any help with this.
Here is a display of my rules:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp – anywhere anywhere
ACCEPT all – anywhere anywhere
ACCEPT tcp – anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp – anywhere anywhere state NEW tcp multiport dports 5901:5903,6001:6003
ACCEPT tcp – anywhere anywhere tcp dpt:http
ACCEPT tcp – anywhere anywhere tcp dpt:http
ACCEPT tcp – anywhere anywhere tcp dpt:ndmp
REJECT all – anywhere anywhere reject-with icmp-host-prohibited
ACCEPT tcp – anywhere anywhere tcp dpt:https
ACCEPT tcp – anywhere anywhere tcp dpt:https

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all – anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Hi,

Can you share your server system and version with us?

Thank you

Try to accept https before your reject rule.

1 Like

Good. I removed the reject line preceding the https lines and now it seems to be okay. Thanks for the help.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.