Captive Portal setup



  • Hi,

    I cant make captive portal work on pfsense 2.0.1 amd64

    Lan - 192.168.10.10
    WAN  192.168.10.129

    on user - DNS 192.168.10.10 - Gateway 192.168.10.2

    Captive portal enabled on Lan

    Please tell me what reqiurements I need to meet to make captive portal work.

    Thanks!

    Mangkaw



  • @mangkaw:

    I cant make captive portal work on pfsense 2.0.1 amd64

    Lan - 192.168.10.10
    WAN  192.168.10.129

    on user - DNS 192.168.10.10 - Gateway 192.168.10.2

    Captive portal enabled on Lan

    Hi there.

    Dealing out Private Ip's on your local LAN should be done like that. Your are really violating every network rule here.
    Everyone is on 192.168.10.x - that is not possible.

    I propose: WAN Static IP : 10.0.0.2/24 - Your gateway in front of it, the modem/router/cable box/adsl/… should have this IP : 10.0.0.1
    Your LAN : 192.168.1.1/24 - this will be the IP of the pfSense box on your local LAN (it's the default value).
    And now, run to the hardware shop, go buy a 4$ network card and slide it in your pfSense box.
    Give it Static IP 192.168.2.1/24 - this will be interface 'OPT1' - and hook up the portal interface onto it.

    Always start with easy and known solution before trying impossible - never seen elsewhere - home made - solutions.


Log in to reply