LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2017, 08:43 PM   #1
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Rep: Reputation: 57
Pfsense captive portal from WIFI router to the internet


Got a spare ADSL router with a WIFI interface. Not using its ADSL functionality at all. Smartphones can connect to it through WIFI, and see its web-based configurator, and also they can see a web server running on a desktop computer that is connected to the router through an ethernet port.

The desktop is runnning pfsense gateway and can see the internet through another ethernet port. A laptop physically connected to this gateway can see the internet. But the smartphone cannot, it can only see the pfsense web configurator.

I think the router's default gateway is always the ADSL gateway (no setting found for it) and this is the problem. Whereas the laptop's default gateway is obtained by DHCP.

Is this therefore hopeless, the smartphone will never get internet access this way? The idea was to eventually create a captive portal with pfsense. Tried it, it only works with the laptop. EDIT: Btw the smartphone has NO settings for a proxy.

Last edited by Ulysses_; 01-14-2017 at 09:58 PM.
 
Old 01-15-2017, 02:15 PM   #2
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Looks like a lighttpd web server listening on port 8081 instead of 8080 (because 8080 is already used by pfsense's lighttpd instance for its web-based configurator), and a script like cgiproxy is the only way smartphones can access the internet through this wifi router.

Any easier solutions? Not even sure if lighttpd can do cgi scripts, or a captive portal.

Last edited by Ulysses_; 01-15-2017 at 02:19 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Captive Portal depam Linux - Software 1 01-30-2013 12:48 PM
Wifi Redirection on adhoc or captive portal software i think braxtonplaxco Linux - Software 0 01-03-2013 10:44 AM
captive portal without risk of bricking router? cryptision Linux - Networking 5 05-31-2011 05:42 PM
Wifi Captive Portal + billing enquiry hallows1 Linux - Wireless Networking 1 08-15-2009 09:50 PM
LXer: Tutorial: Zeroshell Linux: Captive Portal, Internet Gateway and Router (part3) LXer Syndicated Linux News 0 05-18-2009 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration