22.1.2 - Captive Portal, redirect not working - Help

Started by fede909, July 15, 2022, 02:02:39 PM

Previous topic - Next topic
July 15, 2022, 02:02:39 PM Last Edit: July 15, 2022, 03:38:10 PM by fede909
Hello, i0m new on OPNsense. I tell you my configuration.

I have a pc with 2 network cards, wan, and Lan.

Wan with this IP address: 192.168.1.200
Lan with this IP address: 170.16.10.1 with DHCP enables from 172.16.10.20 to 172.16.10.200.

I have set the rules on the firewall section, allowing DNS and others....I have set Captive Portal with Local Database.

Now if I connect a pc to the LAN card I have internet, but I do not have the possibility to navigate. If I digit www.google.com I have an error "DNS PROBE STARTED" and the Captiv portal page does not displayed. But if i digit an ip the system show me the captiv e portal.

In the OPNsens I have set de default DNS to google 8.8.8.8. In fact, if i disable Captive Portal the pc navigates normally...

I have no idea what's going bad. Anyone can help me?

I have followed this guide: https://www.sunnyvalley.io/docs/network-security-tutorials/how-to-configure-captive-portal-on-opnsense#accessing-the-internet-from-the-guest-network