Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] Transparent Proxy and Captive Portal Authentication
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Transparent Proxy and Captive Portal Authentication (Read 21611 times)
iosense
Newbie
Posts: 27
Karma: 1
[SOLVED] Transparent Proxy and Captive Portal Authentication
«
on:
February 06, 2016, 09:49:12 am »
I have only "redirect traffic to proxy" NAT rule and this is not working properly with Captive Portal.
Traffic is not routed to the Captive Portal Login page.
How do I do that?
In addition, HTTPS traffic is not working at all, this is a separate issue!
Code:
[Select]
# Ports IP Ports Description
80 (HTTP) 127.0.0.1 3128 redirect traffic to proxy
«
Last Edit: September 28, 2016, 02:21:57 pm by franco
»
Logged
iosense
Newbie
Posts: 27
Karma: 1
Re: Transparent Proxy and Captive Portal Authentication
«
Reply #1 on:
February 12, 2016, 06:04:05 am »
Does anyone have a knowledge of it?
Logged
FSY
Newbie
Posts: 5
Karma: 0
Re: Transparent Proxy and Captive Portal Authentication
«
Reply #2 on:
September 13, 2016, 04:39:45 pm »
I have the same problem. Can I use Captive Portal with Transparent Proxy in the same LAN ?
Do you have a solution ?
Logged
franco
Administrator
Hero Member
Posts: 17654
Karma: 1610
Re: Transparent Proxy and Captive Portal Authentication
«
Reply #3 on:
September 18, 2016, 11:53:00 pm »
There is an issue in the packet filter chaining in FreeBSD, which we use. ipfw (Captive Portal) and pf (NAT) are executed in a chain and pf makes packages disappear so users will not end up in the Captive Portal.
The problem is the FreeBSD stance is "use both at your own risk" and so we are now digging through the kernel code of FreeBSD to find a solution. There is a very similar issue with the Captive Portal and Multi-WAN.
It's not a simple scripting issue. We hope to fix this for 17.1.
Logged
franco
Administrator
Hero Member
Posts: 17654
Karma: 1610
Re: Transparent Proxy and Captive Portal Authentication
«
Reply #4 on:
September 28, 2016, 02:21:40 pm »
Ad found a better way for 16.7.5: one can how edit your captive portal zone to use the HTTP or HTTPS proxy directly. I'm marking this solved.
«
Last Edit: September 28, 2016, 02:29:29 pm by franco
»
Logged
wifimasters
Newbie
Posts: 19
Karma: 1
Re: [SOLVED] Transparent Proxy and Captive Portal Authentication
«
Reply #5 on:
November 21, 2016, 06:27:27 pm »
thanks franco, will test later. More power
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] Transparent Proxy and Captive Portal Authentication