Redirect to Captive portal is not working with PROXY enabled

Started by karaiodova, February 14, 2018, 12:39:34 PM

Previous topic - Next topic
Hi
I just installed  OPNsense 18.1.2. When I enable Captive portal redirection works, but when I enable WEB PROXY, redirection doesn't work, users have internet without authentication.
At Captive portal-Administration-Authenticate using is Local Database
an
At Web Proxy- Administration - Autentication method is Local Database again.

I hope someone can help me.

There is a checkbox in your captive portal settings to allow bouncing through the proxy.


Cheers,
Franco

Redirection from Captive Portal to Web-Proxy is transparent.
Transparent proxy doesn't use authentication.
So, you can look at proxy access-log to find proxy connections from Captive Portal's guestnet to internet.

I have the same worries.
If I activate the captive portal and check http and https proxy I have the authentication request but no traffic log in the transparent proxy /

If I create the rules nat 3128 - 3129 I have the log but not the authentication page



Do you have shared forwarding enabled? Firewall: Settings: Advanced.

I did not know this option.
I activated it but it does not change anything.
Should I change the rules of the guest network next?

Hi, I just had the same problem, and to fix it I just disabled the NAT rules I created when creating the transparent proxy. and miraculously it works. Good luck