Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Problem with Captive Portal
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problem with Captive Portal (Read 4593 times)
andreadepau
Newbie
Posts: 6
Karma: 0
Problem with Captive Portal
«
on:
August 05, 2019, 02:24:16 pm »
Hi,
i've search in the Forum bat i didn't found a solution for my problem.
The first time that i set up the Captive Portal with the local database, the Portal it worked but I couldn't log in, return authentication failed. Than, I have setup again, also with Voucher, but now the portal is no longer displayed and the session time out. Can you help me to solve this issue?
I've tested this configuration in a VM on VirtualBox, and also on the Miniserver SMALL3 HW.
Thank you
Logged
tong2x
Full Member
Posts: 223
Karma: 9
Re: Problem with Captive Portal
«
Reply #1 on:
August 16, 2019, 06:39:39 pm »
setup detailes and config?
one lan? ips etc.
without captive evrything is ok?
Logged
andreadepau
Newbie
Posts: 6
Karma: 0
Re: Problem with Captive Portal
«
Reply #2 on:
August 16, 2019, 06:42:28 pm »
Thanks for reply.
Now i cannot check because i'm in vacation. Next monday i can send you all information. But yes, without Captive Portal, all works great!
Logged
tong2x
Full Member
Posts: 223
Karma: 9
Re: Problem with Captive Portal
«
Reply #3 on:
August 17, 2019, 01:55:40 am »
it may be a DNS issue or a firewall rule issue
it would be clear if more info such as settings and screen shoots of rules
just post here when available, have a nice vacation
Logged
andreadepau
Newbie
Posts: 6
Karma: 0
Re: Problem with Captive Portal
«
Reply #4 on:
August 19, 2019, 09:52:46 am »
Hi, here some information:
OPNSENSE LAB
LAN em1 192.168.56.254/24
WAN em0 DHCP: 10.0.2.15/24
VLAN12 em2 192.168.112.254/24
Windows 10 VM
LAN DHCP on VLAN12 (em2)
Attached you can see the rules set on the VLAN12.
Without Captive Portal i can browse all sites, and when i create new one CP authentication failed.
Logged
andreadepau
Newbie
Posts: 6
Karma: 0
Re: Problem with Captive Portal
«
Reply #5 on:
August 26, 2019, 10:04:21 am »
Ok, i've troubleshoot the problem and found that:
1. disabled captive portal
2. removed captiveportal sqlite database
3. enable captive portal
this create a new one captive portal DB with the zone number structure.
Now portal works great, but not for HTTPS sites.
There is a way to redirect the https traffics through captive portal?
Otherwise, there is a way to open the captive portal in other Windows, then forward to another page in the browser?
Thank you very much.
Logged
tong2x
Full Member
Posts: 223
Karma: 9
Re: Problem with Captive Portal
«
Reply #6 on:
August 29, 2019, 03:34:19 pm »
generally speaking no
there are tutorials with activating https, but most https will break...
since the point being that, SSL is supposed to ensure security of the link
and that it will not be intercepted...
captive portal basically "intercept" connection, hence https breaks.
by forcing a different https cert it will show the login but may not be able to pass to the correct server/site
the question is... could it be possible to always force a redirect to non https
even if original link is https
«
Last Edit: August 29, 2019, 03:37:17 pm by tong2x
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Problem with Captive Portal