OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Captive portal and Web proxy conflict
« previous next »
  • Print
Pages: [1]

Author Topic: Captive portal and Web proxy conflict  (Read 4618 times)

ackahforson

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Captive portal and Web proxy conflict
« on: February 22, 2017, 07:03:48 pm »
I have made the following observation and would appreciate assistance. Running ver 17.1.1

1. Captive portal works great with user authentication for my lan and wifi guests
2. Web Proxy (transparent proxy ) works great with access restrictions

The issue is when I enable both captive portal (http transparent proxy enabled) and web proxy(http transparent proxy) in tandem.
I setup firewall rules per the documentation (https://docs.opnsense.org/manual/how-tos/proxytransparent.html and https://docs.opnsense.org/manual/how-tos/cachingproxy.html) to block proxy bypass and redirect traffic to proxy.

This brings about a whole lot of undesired effects:
1. web pages are incredibly slow to open on both lan and OPT1(wifi) interfaces
2. captive portal page usually does not show up for a new client on the network and when it does, there a redirect issues.

Any advice on how to set up OPNsense to catch all clients and present them with the login as well as benefit from the web proxy access control list feature will be much appreciated.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Captive portal and Web proxy conflict
« Reply #1 on: February 22, 2017, 07:17:05 pm »
Can you retry it after upgrading to 17.1.2 (check the box in the captive portal settings instead of using a NAT rule in the firewall area)?

this fix is in the update from today.
Logged

gaurovsoni

  • Newbie
  • *
  • Posts: 17
  • Karma: 2
    • View Profile
Re: Captive portal and Web proxy conflict
« Reply #2 on: March 09, 2017, 06:29:35 am »
see my reply here
https://forum.opnsense.org/index.php?topic=4679.0
Logged

BriceMac4Pro

  • Newbie
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
Re: Captive portal and Web proxy conflict
« Reply #3 on: July 17, 2017, 05:12:58 pm »
I Also have the problem.
17.1.9

I follow the Documentation TUTO there :
https://docs.opnsense.org/manual/how-tos/cachingproxy.html  For Caching Proxy
https://docs.opnsense.org/manual/how-tos/proxywebfilter.html for Web Filtering
and https://docs.opnsense.org/manual/captiveportal.html for Captive Portal

Captive Portal Alone: Works great
Caching / Web Filter Proxy Alon : Works Great

But all together not working, i just saw a page one time, but it was super slow.

Maybe the doc is too old and need to be refreshed.
In addition here is my Firewall Configuration. LAN will be the Captive Portal network.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: Captive portal and Web proxy conflict
« Reply #4 on: July 18, 2017, 03:15:49 pm »
Does setting Firewall: Settings: Advanced: [ x ] Shared forwarding help here?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Captive portal and Web proxy conflict
 

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