$40 Captive Portal Redirect to landing page only
-
Is there a way to set the captive portal to only redirect to a landing page without any prompts or portal page? All i want to do is push all my users to a specific web page. No management, not authentication, no disclaimer.
I'm not sure if there is a way to have it submit after xx amount of seconds? Not sure whats this worth?
-
And after that, what?
What you described can be accomplished via a simple port forward. At least if the destination server is properly configured (Will need to be an address-based virtual host, not name-based).
It's what happens next that might require a captive portal.
This is a feature that should be there. A couple other related things (like a redirection to a site if the IP/MAC pair already exists in the portal authentication table instead of just presenting the portal page over and over again because the user is a donkey.)
You could probably do this pretty easily at the top of /usr/local/captiveportal/index.php. The problem is catching all the cases for the myriad of CP options in the GUI. But a custom index.php that you accept responsibility for maintaining should be pretty simple. Get the MAC/IP pair, add it to the authenticated table, redirect the user.
That said, captive portals break the internet for users and need to die.
-
All i want is to have the Captive portal automatically forward the user to a website we designate. All without the user having to click ok or submit on any cp landing page.
-
And after that, what? Have access to the internet?
-
Yes
-
Then you need to modify the captive portal code.
-
What do you think that is worth?
-
The questions is actually what you think it's worth. Pick a number and post a bounty.
-
$40
-
There is a bounties forum.
-
This is not the bounty forum?
-
Sorry. I figured it was Captive Portal. Never even looked. :/
-
hello
is it still on?