OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Captive Portal not working
« previous next »
  • Print
Pages: [1]

Author Topic: Captive Portal not working  (Read 6094 times)

Pablitus

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Captive Portal not working
« on: August 10, 2016, 07:05:38 pm »
Hello, I have an OPNSENSE 16.7 deploy in one equipment who handles the Guest network in my company

Interfaces are:
LAN - For users and Access Points
WAN - Connected to a Cablemodem
OPT1 - Connected to a ADSL Router

I enable yesterday the Captive Portal and was working fine, but today no matted from where i connect (wireless or wired) i enter internet without user and password.

Ideas? It's a strange behaviour.

No firewall rules, the only thing i have enabled is the multi-wan setup.

thanks
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13957
  • Karma: 1210
    • View Profile
Re: Captive Portal not working
« Reply #1 on: August 11, 2016, 10:00:13 am »
Hi Pablitus,

Is the captive portal still active from the Services: Diagnostics page? Did the firewall reboot at some point and not configure the CP correctly again?


Cheers,
Franco
Logged

wifimasters

  • Newbie
  • *
  • Posts: 19
  • Karma: 1
    • View Profile
Re: Captive Portal not working
« Reply #2 on: September 11, 2016, 03:16:43 pm »
Hello, mine is NOT working at all, I think it has to do with re-direction.

Can someone please help?
Logged

wifimasters

  • Newbie
  • *
  • Posts: 19
  • Karma: 1
    • View Profile
Re: Captive Portal not working
« Reply #3 on: September 13, 2016, 04:01:17 am »
Quote from: wifimasters on September 11, 2016, 03:16:43 pm
Hello, mine is NOT working at all, I think it has to do with re-direction.

Can someone please help?

Hello, did you manage to make it work?

I agree on the re-direction issue, it not working at all.

Hoping to hear from someone soon.
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Captive Portal not working
« Reply #4 on: September 13, 2016, 08:03:32 pm »
@wifimasters not sure why your replying to your own message, a "me too" to yourself looks odd  :)

Back to the subject, have you tried opening a http page?
(for example http://www.nu.nl/ )

The example redirects http only, you have to install a certificate to catch https too.
Logged

wifimasters

  • Newbie
  • *
  • Posts: 19
  • Karma: 1
    • View Profile
Re: Captive Portal not working
« Reply #5 on: September 26, 2016, 08:45:42 am »
Quote from: AdSchellevis on September 13, 2016, 08:03:32 pm
@wifimasters not sure why your replying to your own message, a "me too" to yourself looks odd  :)

Back to the subject, have you tried opening a http page?
(for example http://www.nu.nl/ )

The example redirects http only, you have to install a certificate to catch https too.

HAHA, my newbie embarrasing mistake. I haven't tried opening a http site, It might work I will try tonight.

What if my users need to open https sites such as Gmail and Youtube?

Cheers!

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13957
  • Karma: 1210
    • View Profile
Re: Captive Portal not working
« Reply #6 on: September 26, 2016, 01:19:20 pm »
You need to configure your captive portal zone to capture HTTPS, that's done by editing the zone config and selecting an SSL certificate there.
Logged

wifimasters

  • Newbie
  • *
  • Posts: 19
  • Karma: 1
    • View Profile
Re: Captive Portal not working
« Reply #7 on: September 30, 2016, 07:15:42 pm »
Thanks franco!

I wanna know if there's a guide to properly generate the certificate, assigning the said cert to the cp zone is easy but generating is not.

I can't find any guide here :(

thanks in advance
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13957
  • Karma: 1210
    • View Profile
Re: Captive Portal not working
« Reply #8 on: October 01, 2016, 02:00:31 pm »
Hi wifimasters,

There is no doc for this at the moment. Let's invoke the help from our friendly sibling:

https://doc.pfsense.org/index.php/Certificate_Management

Our pages are found under System: Trust.


Cheers,
Franco
Logged

wifimasters

  • Newbie
  • *
  • Posts: 19
  • Karma: 1
    • View Profile
Re: Captive Portal not working
« Reply #9 on: October 07, 2016, 07:46:05 pm »
Quote from: franco on October 01, 2016, 02:00:31 pm
Hi wifimasters,

There is no doc for this at the moment. Let's invoke the help from our friendly sibling:

https://doc.pfsense.org/index.php/Certificate_Management

Our pages are found under System: Trust.


Cheers,
Franco

Many thanks franco!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Captive Portal not working
 

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