Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Authorization for guest to access internet by sending Password via SMS

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 3 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RTAbuazmah
      last edited by

      any ideas how to make:

      1. HotSpot welcome page telling you to enter your phone number
      2. You enter your phone number, press "submit"
      3. You receive Password via SMS and enter a password to a field "access code"?

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        As usual: you need to have access to an SMS getaway system - and code everything up in pfense.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • The Computer GuyT
          The Computer Guy
          last edited by

          You would probably be easier creating a system at another host, and using cURL commands to send data?

          On my firewalls, the captive portal page checks that it can see a second box on the network which is used to host most of the captive portal page, and Syslog-NG for logging. If it can't see this box, it uses cURL to talk to my website, (via https:// and to a password protected area) and set a flag, if the unit is online, offline etc.

          If it is offline, I get an e-mail, and a button shows on the Captive Portal, saying "We've been automatically informed of the problem, however, to send us an SMS, please click here." if someone clicks on that button, I get an SMS through (using bulksms.com)

          So, it is definitely possible.

          What you would probably have to do, is setup a database, setup vouchers in pfSense, import the voucher roll into your database, then when someone sends the number through to you, you can set your system to send an SMS back to their number, taking a voucher code from the roll in your DB.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.