Questions tagged [captive-portal]

Captive Portal is a web page which is displayed to users when they are connected to a public-access network, based on which access is restricted to the network resources.

Filter by
Sorted by
Tagged with
0 votes
0 answers
600 views

2 VLANS on 1 Physical OpnSense Ethernet Port (connected to wifi access point) and 1 Captive Portals on each VLAN

I want to create a captive portal with different restriction per user account/role (student and teacher). The Teacher can have unrestricted access. The Student have restricted access. (only defined/...
Gian Lorenzo Abaño's user avatar
-1 votes
1 answer
438 views

Persistent storage in captive portals or mobile internet while wifi connection without internet

I have a little problem here: I want to create a WiFi network, which does not provide internet access. The WiFi network should only serve one website to the user like in a museum. That's pretty simple ...
TNT2k's user avatar
  • 121
0 votes
1 answer
941 views

Redirect all http traffic to external web site using dnsmasq/iptables on Pi

I want to redirect all port 80 traffic (regardless of the domain name) to go to a specific external website. Therefore, if the user enters "www.google.com" or anything, it sends them to "www.mysite....
R OMS's user avatar
  • 101
0 votes
1 answer
190 views

PHP landing page on Apache server Cisco WLC controller

I have a landing page done on php along with SQL database for WIFI user registration along with Cisco wireless controller. The WLC is redirecting the user to the landing page for authentication / ...
medhatelashry's user avatar
1 vote
1 answer
969 views

can pfSense captive portal grant internet access to IP which is assigned by Windows DHCP server only?

In our organization we have a wifi access point and IP addresses are assigned by a Windows DHCP server. We have MAC filtering enabled for internet access in the DHCP server but the issue is that if ...
Zia's user avatar
  • 11
1 vote
0 answers
42 views

Trigger agreement page automatically when connecting to Captive Portal [duplicate]

I have a WiFi hotspot setup using Hostapd and Dnsmasq. Everything works great, but I'm trying to trigger the sort of Terms and Conditions page you might see at a hotel or coffee shop after you connect ...
Jason Burgett's user avatar
0 votes
1 answer
1k views

Auto-trigger captive portal agreement page display

I have a WiFi hotspot setup using Hostapd and Dnsmasq. Everything works great, but I'm trying to trigger the sort of Terms and Conditions page you might see at a hotel or coffee shop after you connect ...
Jason Burgett's user avatar
0 votes
0 answers
2k views

Force redirect to url with captive portal or dnsmasq

We are trying to host a static webpage (just one index.php) on a local wifi network without internet access. Essentially every user (mobile devices) should land on some landing page where he can ...
rex123's user avatar
  • 101
0 votes
1 answer
572 views

Captive portal with local webserver and limited internet access

I have a mini pc running Linux. It has a 3G modem, wifi modem, runs nodogsplash for the captive portal, hostapd, dnsmasq, web server that gives out data that the user needs. I have the 3G device for ...
55597's user avatar
  • 141
1 vote
1 answer
418 views

dnsmasq: Block manipulated dns responses pointing at captive portal site

After setting up a raspberry pi based router (behind two other routers) using debian stretch, iptables, dnsmasq and hostapd, I have come to learn a seemingly endless amount of interesting options that ...
dexin's user avatar
  • 21
2 votes
0 answers
397 views

Simple URL redirect after connecting to Wi-Fi Hotspot

This is not as trivial as it looks. What we have: VideoConferencing Terminal with ability to be an AP (Wi-Fi Hotspot) Centos 7 Intel Flavoured, pre-installed on that terminal Nginx with ...
  happyyasu09's user avatar
0 votes
3 answers
796 views

Ideally, how should HSTS / SSL Everywhere / Let's encrypt work with captive Wifi portals?

Some captive Wifi portals require the ability to 301/302 redirect a user to an authentication / terms of service page before permitting access to the Internet. This is at odds with SSL, which can't ...
makerofthings7's user avatar
0 votes
0 answers
940 views

Open an URL on a client when it connects to a wifi network - how?

An enterprise has a "guest" WiFi that's password protected (so no open access) that their clients can use to reach the Internet. They also want to make it so that when someone connects, they'd get ...
Vesper's user avatar
  • 804
0 votes
1 answer
1k views

Freeradius radclient unsupported attribute

I want to send disconnect-message to NAS using radclient program but when I want to disconnect one user using this command echo user-name=zaib | radclient -x 192.168.3.1 disconnect "muh" the ...
Abobaker EngIt's user avatar
1 vote
1 answer
919 views

Windows Server - redirect all DNS lookups to a specific address

This is using Windows Server 2016, Linux is not an option in this case. I need to set up something like a captive portal but much simpler. I have a Windows Server machine set up to advertise a WiFi ...
Charlie Skilbeck's user avatar
-1 votes
1 answer
1k views

Wifi daily password reset (captive portal)

I work for a small school where they want to open up the wifi network to students. The wifi network itself is already there, it's just not open to students. However they want to limit the usage for ...
user968698's user avatar
2 votes
0 answers
144 views

iPhone/ Android will not dismiss wifi landing page implemented with DNS [closed]

I am trying to implement a splash page/ wifi landing page on my existing public wifi network, using the DNS method mentioned in Wiki, in which I host a custom DNS server, that will redirect ALL dns ...
kaho's user avatar
  • 121
1 vote
1 answer
1k views

pfSense Captive Portal on devices that cannot use login page(STBs, etc.)

I am using captive portal with pfSense on a network in order to filter content and monitor bandwidth, etc. This has worked great with computers and mobile devices in the office as everyone has been ...
Gary Simcox's user avatar
9 votes
3 answers
12k views

DNSMASQ config for captive portal

I am trying to create a captive portal wifi hotspot. Aim of the setup: Users connecting to hotspot through wlan0 should never be allowed to access the internet through eth1. For the "Sign into ...
55597's user avatar
  • 141
2 votes
0 answers
1k views

Android not detecting captive portal on access point

I have an access point hosting a login page (which doesn't have actual internet access) and I'm using dnsmasq to answer all DNS requests with the IP address of this page. If an android device connects,...
Awais Chishti's user avatar
0 votes
1 answer
10k views

Captive Portal issue with Chrome on Android

I have setup WebAuth on our public Wi-Fi. We have a Cisco WLC 5508 and when using iOS, Apple, Windows devices or some Android devices, the page loads correctly, however when I am using a device with ...
David Sain's user avatar
1 vote
0 answers
1k views

No traffic except DNS on Nodogsplash on OpenWRT on TL-MR3020

I'm trying to create a captive portal on TL-MR3020 using OpenWRT (BARRIER BREAKER (14.07, r42625)) and Nodogsplash. I increased the storage with ExtRoot. Here are my config files : /etc/config/dhcp ...
hotips's user avatar
  • 563
0 votes
2 answers
640 views

Captive portal with video login in wi-fi network

I would like to know if it's possible to make a captive portal which makes you watch a video for x seconds instead of a login. All the routers I've seen which support captive portals, just have the ...
deuseux12's user avatar
  • 121
1 vote
1 answer
853 views

Captive Portal for devices behind NAT: Is it possible?

A related question: Do all captive portal solutions work the same way? (cookie, vs MAC address, vs other?) I have been reading about Captive Portal at Wikipedia. This part generates a question: ...
Sopalajo de Arrierez's user avatar
1 vote
0 answers
260 views

Captive portal with chillispot without DNS

I'm trying to set up a captive portal in openWRT using chillispot. My goal is to have an open network and display a static html with information without internet connection at all and without any ...
Freefri's user avatar
  • 153
1 vote
1 answer
4k views

Captive portal with iptables and local dns server

I'm trying to redirect all the browser's requests from my wifi interface wlan1 to a captive portal. I have a node web server running on my target on 10.4.30.34:4040. It has to redirect the browser ...
aida_m's user avatar
  • 31
2 votes
1 answer
4k views

How does the captive portal redirect work behind the scenes

As a project I am building my own captive portal web pages for "unauthenticated" users. Those are users that have not hit a button on my captive portal page. I want this to be out of band (like a ...
Dominik's user avatar
  • 161
0 votes
1 answer
1k views

Captive portal and SSL

I think similar questions have already been asked over and over, but my question is slightly different. I understand I can't redirect HTTPS traffic to the Captive Portal landing page without causing ...
Lucio Crusca's user avatar
0 votes
1 answer
968 views

Packetfence & Aruba

I have a fresh install of a PacketFence (PF) server. Also, I have an Aruba networks AccessPoint (API-205), which I am using to send the users to the Captive Portal in PF. But the captive portal ...
Zimpari's user avatar
0 votes
0 answers
867 views

Captive portal setup with minimal hardware requirements

I am willing to deploy a captive portal for a free wifi access at my local business. I would like that every customer connecting to my AP be redirected to a web page where I could display some ad for ...
franckysnow's user avatar
0 votes
1 answer
3k views

IpTables rules for captive portal

I am trying to make a captive portal and I use the following iptables rules. IPTABLES="/sbin/iptables" EBTABLES="/sbin/ebtables" DHCP="67:68" SSH="22" WWW="80" $IPTABLES -t mangle -F $IPTABLES -F $...
user311564's user avatar
1 vote
1 answer
274 views

Public network must provide notification for sign-in after connection

I noticed that some public networks require sign-in after connection, aka Captive Portal. I am implementing my own Captive Portal, and my clients (mostly mobile devices) need to know that my public ...
richardaum's user avatar
2 votes
1 answer
2k views

Captive portal detection by Apple Oses, iOS 'splash CNA popup' does not show?

I built a captive portal (Linux Debian router), providing a WifiHotspot based on hostapd and iptables rules ( like this: http://www.andybev.com/index.php/...
ArchiT3K's user avatar
  • 155
0 votes
0 answers
624 views

Captive portal OAuth

Im building a large network of AP with captive portal deployments, each AP has its own internet connection, managed by routers I don't have access to. I can manage the APs through a cloud controller....
Andrei Tomescu's user avatar
2 votes
1 answer
2k views

Local web application as a captive portal with out authentication?

We are in the final stages of developing an in-browser mobile app which will run in a non Internet-connected environment (on a submarine). We are running a server inside the submarine (Windows 8 ...
Xazzo's user avatar
  • 21
2 votes
3 answers
2k views

Filter HTTPS content & enforce Captive Portal without MITM proxy

My church wants to start providing free WiFi to our guests, but with 2 requirements: Inappropriate content (such as Pornography and Warez) must be filtered out. The end-user must create an account ...
Daniel Upton's user avatar
13 votes
2 answers
19k views

Captive portal popups: the definitive guide [closed]

I'm manually implementing a WiFi captive portal. I've got everything pretty much working BUT a single hitch: i want everyone to see their mobile OSs' (or computer OSs') captive portal popup for a ...
ppparadox's user avatar
  • 141
4 votes
0 answers
813 views

Suggestions required on how to allow users access to WiFi Captive Portals when roaming

I have written a script that will turn the proxy settings off and back on again after an allotted period but you often need to open up Internet Options > Connections > LAN Settings and click OK for ...
VinceMagnum's user avatar
1 vote
1 answer
720 views

Set up a wifi network homepage just changing the router settings

I have a Netgear Aircard router with the usual configuration options (port forwarding, DMZ, port filters,...). I am using this network to provide wireless Internet access to the customers of my ...
Arturo's user avatar
  • 423
0 votes
0 answers
355 views

Captive portal and walled internet

I am creating a tour guide app which visitors can download when they arrive on location. There will be a Hotspot to which they connect, they will get a welcome page with instruction (and a button to ...
Luuk D. Jansen's user avatar
3 votes
1 answer
2k views

Do all captive portal solutions work the same way? (cookie, vs MAC address, vs other?)

While traveling and having to interact with a number of broken captive portal implementations I've overheard other passengers having usability issues with iPads, Phones, computers depending on the ...
makerofthings7's user avatar
1 vote
0 answers
3k views

pfsense Captive Portal redirect to <ip>:8000/$PORTAL_ACTION$

Something is wrong when I try to replace the portal login page with a customized one. After the sign in button is clicked, I was redirected to: (server IP):8000/$PORTAL_ACTION$. What is this $...
kureidothephpsniper's user avatar
0 votes
1 answer
304 views

software based captive portal for wide area [closed]

I'm trying to organise some wide wifi network imagine a small town with several wifi points when user is connected to a wifi point, device is redirected to captive-portal(cp) website where they must ...
Djangonaut's user avatar
-1 votes
1 answer
629 views

Chillispot and DHCP setup on single server [closed]

Background I have a simple network topology consisting of 3 pieces of hardware, a CentOS server, an access point and a 4g modem. The server has 2 LAN ports and the 4g modem and the access point are ...
Graham Smith's user avatar
4 votes
1 answer
936 views

Running pfSense server after load balancer, dhcp?

I got the following situation: Two wan, load balanced by a hardware load balancing router Wifi network (can be up to twenty AP's) And I need the following: Need a captive portal where clients can ...
Michel's user avatar
  • 183
-2 votes
1 answer
922 views

Do I need two routers to build a captive portal [closed]

I have recently started working with Asp.NET. I have decided to build a captive portal for windows as my first Asp.NET project. Currently I am confused with the hardware requirements for a captive ...
crazyghost's user avatar
1 vote
0 answers
345 views

Running a VPN server and a captive portal on the same machine with a DNS too

I don't know if this can be done but I'm asking anyways. Let's say that I've an Ubuntu machine with OpenSwan and xl2ptd to handle incoming VPN connections. Now, what I need to do is something like ...
StepTNT's user avatar
  • 123
0 votes
1 answer
676 views

WIFI URL redirection

Is there some generic solution for redirecting hotspot users to some page before they get to their requested page? No need for authorization,billing or any other captive portal capabilities. I'm ...
user1306013's user avatar
0 votes
1 answer
2k views

iptables: Whitelist a specific URL and not just the domain

How would I whitelist a specific URL with iptables? Currently all requests are blocked. IE: http://www.apple.com/library/test/success.html I need to whitelist just this URL so that my captive portal ...
Fostah's user avatar
  • 133
1 vote
4 answers
4k views

Allow users to access only a few websites [closed]

I want to block my network users to access most of the external websites. Some users may need access to Facebook (like the users from marketing department), while others may need access to banks ...
Vinícius Gobbo A. de Oliveira's user avatar