Iptable blocking letsencrypt


#1

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


#2

Hi,

Can you share your server system and version with us?

Thank you


#3

Try to accept https before your reject rule.


#4

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


#5

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