Firewall rules for a Captive Portal?
-
Hi!
I'm trying to set up a Captive Portal on my Pfsense 1.2-computer and i have som serious problems. I use two NICs for the local network: one LAN and one DMZ. I have activated the Captive Portal on the DMZ-interface and have also set up an DHCP-server on the DMZ-interface.
I have an wireless AP and i get an IP from the pfsense-computer with my laptop, but when i try to login, the screen just loading and nothing happends. I have added local accounts on the pfsense-computer. Why wont i get further when i'm logging in?
I tried make a firewall rule that permitts everything from DMZ-interface to "*", but no results. I looked around in this forum and i'm only finding much harder problems :-) As last resort i tried to bridge the DMZ-interface with the WAN-interface: all hell broke loose. I couldnt ping the router or access it in any way (on any interface). After a couple of minutes i type 192.168.0.1 (the LAN-IP of the pfsense-box) and i'm coming to a D-Link Router (???!). Problably my neighbours or something. I have no d-link router in my network, and the contact was sporadic. Extremly strange. What does the "bridge"-function really do? I had to reset the pfsense to original settings, luckily i got a backup of the config-file on my computer.
And the reason for this thread - what rules must i do to make trafic go between a DMZ-interface with a Captive Portal and the WAN-interface?