OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Captive Portal does not redirect to login page
« previous next »
  • Print
Pages: [1]

Author Topic: Captive Portal does not redirect to login page  (Read 11319 times)

DahOne

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Captive Portal does not redirect to login page
« on: April 21, 2019, 08:53:38 am »
Hi All, i'm now transitioning to OpnSense from pfSense. I have set up a box and everything works great except for Captive Portal. I am using vouchers with my setup.
My problem is that the captive portal page doesn't appear when I try to access the internet, i just get a "page cannot be displayed" error. If i were to go to the captive portal page manually (192.168.125.1:8000) I can login and from there i can access the internet just fine.
Can someone point me in the right direction to have this done automatically?

Regards,
Logged

nwx

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Captive Portal does not redirect to login page
« Reply #1 on: April 23, 2019, 12:49:15 pm »
Hi,

I have actualy the same problem with a clean install of opnsense + updates.
My configuration is very basic :
1 physical NIC with 3 VLAN

Without captive portal all works fine, but when I activate captive portal (with or without vouchers) I launch the web browsers (firefox, edge or chrome) and I'm not redirected to the captive portal web page.

thanx for your answers
Logged

hbc

  • Hero Member
  • *****
  • Posts: 501
  • Karma: 47
    • View Profile
Re: Captive Portal does not redirect to login page
« Reply #2 on: April 23, 2019, 03:19:00 pm »
Sounds like similar problem in this thread:

https://forum.opnsense.org/index.php?topic=12109.msg57508
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

nwx

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Captive Portal does not redirect to login page
« Reply #3 on: April 24, 2019, 09:44:58 am »
Hi,
Thank you for your answer ! Indeed it seems your tips is working !

But it's extremely annoying :s Today most of user have https://www.google.com in home webpage.

Anyone knows if this problem could be resolved in a future update ?

I will make some tests with a second NIC without VLAN tagging. I'll make a feed back soon

Thank you
Logged

rackg

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 3
  • Ethical hacker
    • View Profile
Re: Captive Portal does not redirect to login page
« Reply #4 on: April 24, 2019, 02:42:48 pm »
I am using Transparent Web Proxy +  Captive Portal and have issues with redirecting automatically on the browser launch. Any solution ?
Logged
-RackG

rackg

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 3
  • Ethical hacker
    • View Profile
Re: Captive Portal does not redirect to login page
« Reply #5 on: May 13, 2019, 04:11:40 am »
Quote from: nwx on April 24, 2019, 09:44:58 am
Hi,
Thank you for your answer ! Indeed it seems your tips is working !

But it's extremely annoying :s Today most of user have https://www.google.com in home webpage.

Anyone knows if this problem could be resolved in a future update ?

I will make some tests with a second NIC without VLAN tagging. I'll make a feed back soon

Thank you
Any updates from your test results ?
Logged
-RackG

nwx

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Captive Portal does not redirect to login page
« Reply #6 on: May 15, 2019, 08:50:15 am »
Hi !

Unfortunately no ! My test with dedicated NIC for the guestNet have not worked.
I'm actualy looking for a solution that I force client's web browser to call an http page by default.

I'll make some feed back soon as possible.

NwX
Logged

rackg

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 3
  • Ethical hacker
    • View Profile
Re: Captive Portal does not redirect to login page
« Reply #7 on: May 21, 2019, 01:23:48 pm »
Just wonder why the issue exist on LAN and GUESTNET Ethernet connections. How other users in this forum or commercial firewall solves it ? I see the DHCP advanced options doesn't help here also as per RFC https://tools.ietf.org/html/rfc7710.

Any clues ?
Logged
-RackG

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Captive Portal does not redirect to login page
 

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