OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • captive portal (or similar) without ripping of internet
« previous next »
  • Print
Pages: [1]

Author Topic: captive portal (or similar) without ripping of internet  (Read 2752 times)

Wired Life

  • Jr. Member
  • **
  • Posts: 67
  • Karma: 3
    • View Profile
captive portal (or similar) without ripping of internet
« on: May 31, 2018, 05:42:14 pm »
Hey  ;)
Is it possible to set up a captive portal or something similar that shows me a portal site but does not disconnect the internet?
I would show a portal site to all users with the login (accept) button, but the internet must be always accessible.

Thanks!
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: captive portal (or similar) without ripping of internet
« Reply #1 on: May 31, 2018, 08:30:28 pm »
Did you read your post by yourself? If the internet must be accessible, you cannot force a login. This is mutual exclusive. You can setup a normal web server in your network for hosting content if you like. Also the captive portal allows a login without credentials but it still blocks all connections until you click the login button.
Logged

Wired Life

  • Jr. Member
  • **
  • Posts: 67
  • Karma: 3
    • View Profile
Re: captive portal (or similar) without ripping of internet
« Reply #2 on: May 31, 2018, 09:09:34 pm »
Currently i use the login without credentials but i dont want to cut off the internet.
I dont know how the captive portal software works but i think there must be iptable like filtering for mac adresses there are not on the session list.
Maybe it works by deleting a rule so the internet will not cut off.
Would be very nice to have this feature.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: captive portal (or similar) without ripping of internet
« Reply #3 on: June 01, 2018, 04:34:43 pm »
a captive portal means no internet access until you authenticate on a portal page (for example via HTTP). In case of HTTP, you get redirected to a login page - after the login you can do whatever the firewall rules allow you to do. If you don't want that, you don't want a captive portal.
Logged

Wired Life

  • Jr. Member
  • **
  • Posts: 67
  • Karma: 3
    • View Profile
Re: captive portal (or similar) without ripping of internet
« Reply #4 on: June 01, 2018, 09:12:26 pm »
Quote from: Wired Life on May 31, 2018, 05:42:14 pm
or something similar

Is there any solution?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: captive portal (or similar) without ripping of internet
« Reply #5 on: June 01, 2018, 10:04:05 pm »
you can run a webserver on a OPNsense device, but it will NOT automatically open or force the user to do anything.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • captive portal (or similar) without ripping of internet
 

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