Why Do Cloudflare Tunnels Work Only with VPN on My Home Network?

0
6
Asked By TechGuru123 On

I've set up Cloudflare tunnels to connect to various services on my home lab, and I can access everything through [subdomain.domain.net](http://subdomain.domain.net) from outside my home network without issues. However, when I'm at home, I encounter a problem—I receive an error saying, "This site can't provide a secure connection; ERR_SSL_VERSION_OR_CIPHER_MISMATCH." Interestingly, when I turn on my VPN, everything works perfectly. Does anyone know why this is happening?

3 Answers

Answered By CloudWizard90 On

Have you checked that the TLS version and cipher suites are consistent whether your VPN is on or off? Sometimes, local configurations can lead to mismatches that cause connection issues. If you're using configurations like Let's Encrypt for HTTPS, this could also lead to problems if your computer is trying to access the service locally, potentially causing certificate mismatch errors.

Answered By HomeLabHero On

It sounds like you might need to set up split DNS for your home network. When you're connected to your VPN, it forces your connection to appear as if it's coming from outside, which is why it works. On your internal network, you might be accessing your external IP, which generally won't connect without specific settings like Hairpin NAT. Check your router settings on how it's configured for accessing your local services.

Answered By NetworkingNinja On

You might want to ensure that your tunnel is correctly set up. If you're routing through your public IP without proper port forwarding configured on your router, that could cause issues when accessing your services from within your home network. Using split DNS can allow you to point to your local IP instead of the external one. This way, your requests don’t have to leave your network to get handled.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.