OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Redirect to Captive portal is not working with PROXY enabled
« previous next »
  • Print
Pages: [1]

Author Topic: Redirect to Captive portal is not working with PROXY enabled  (Read 6881 times)

karaiodova

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Redirect to Captive portal is not working with PROXY enabled
« on: February 14, 2018, 12:39:34 pm »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13702
  • Karma: 1178
    • View Profile
Re: Redirect to Captive portal is not working with PROXY enabled
« Reply #1 on: February 15, 2018, 10:38:07 am »
There is a checkbox in your captive portal settings to allow bouncing through the proxy.


Cheers,
Franco
Logged

evbevz

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Redirect to Captive portal is not working with PROXY enabled
« Reply #2 on: February 21, 2018, 09:51:35 am »
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.
Logged

chocapic

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Redirect to Captive portal is not working with PROXY enabled
« Reply #3 on: March 05, 2018, 04:54:56 pm »
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
Logged

chocapic

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Redirect to Captive portal is not working with PROXY enabled
« Reply #4 on: March 05, 2018, 05:08:02 pm »
attached my conf
Logged

chocapic

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Redirect to Captive portal is not working with PROXY enabled
« Reply #5 on: March 05, 2018, 05:09:11 pm »
my rules
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13702
  • Karma: 1178
    • View Profile
Re: Redirect to Captive portal is not working with PROXY enabled
« Reply #6 on: March 06, 2018, 07:56:51 am »
Do you have shared forwarding enabled? Firewall: Settings: Advanced.
Logged

chocapic

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Redirect to Captive portal is not working with PROXY enabled
« Reply #7 on: March 07, 2018, 10:15:50 am »
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?
Logged

koceila

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
    • View Profile
Re: Redirect to Captive portal is not working with PROXY enabled
« Reply #8 on: May 04, 2018, 01:54:51 am »
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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Redirect to Captive portal is not working with PROXY enabled
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2