OPNsense Forum

English Forums => General Discussion => Topic started by: Regular0208 on December 27, 2022, 09:38:11 pm

Title: No Internet, SSL Error [Solved]
Post by: Regular0208 on December 27, 2022, 09:38:11 pm
I am having a strange issue with connecting to the internet. I can ping external IPs like 1.1.1.1 and even reach my port forwarded services from the internet, but when I load a page I get an err_cert_authority_invalid error, HTTP sites also don't load. I can connect to a cloud VPN server and browse perfectly so there is a connection to the WAN. I'm not a networking expert, but it seems to me like a NAT issue. I have OPNsense running virtualized in Proxmox, with the WAN port passed through and the LAN port as virtio.
Title: Re: No Internet, SSL Error
Post by: bartjsmit on December 28, 2022, 12:56:59 pm
Could you have a (transparent) proxy between you and the internet? Try browsing to a non-existent website like https://akljakljoihogioonbjoakijllcjom.com/ If there is a proxy, it will give you an error message. If there isn't, you'll get a browser error about failed DNS.

Bart...
Title: Re: No Internet, SSL Error
Post by: Regular0208 on December 29, 2022, 04:29:22 am
At a real https address I get the error:
On an http site I get:
On a nonexistant site I get:

I use a local pi-hole which I know works because when I connect to a VPN, I still use local DNS and the internet loads normally.
Title: Re: No Internet, SSL Error
Post by: bartjsmit on December 29, 2022, 09:57:21 am
Could it be that happy eyeballs is switching between IPv4 and IPv6 addresses? Try with a browser that's not so adamant about HSTS, like Firefox.

Always worth a packet trace to see what's happening exactly ;)
Title: Re: No Internet, SSL Error
Post by: Regular0208 on December 30, 2022, 07:55:53 pm
Wireshark seems to suggest that the site is responding. I took a closer look at the SSL certificate and the issuer and all data fields just say localhost. I tried a few different browsers but couldn't get past the cert error. I was thinking about the setup and I think it may be related to the LAN bridge I set up (https://docs.opnsense.org/manual/how-tos/lan_bridge.html). I think it was working before then, but I did double-check the guide to make sure I did everything exactly as stated.
Title: Re: No Internet, SSL Error [Solved]
Post by: Regular0208 on April 10, 2023, 07:38:55 pm
I just want to post for anyone who may have the same problem. My issue was enabling NAT Reflection in the advanced firewall settings. It was the first 2, for 1:1 and for port forwards, that give me this ssl error.