Captive Portal in VLAN
-
Hi Sir/Mam,
I set up pfsense in 3vlan environment. The pfsense handles vlan routing. I want also to try captive portal in one specific vlan. But is not working on vlan. I try before pfsense captive portal in lan environment and its works. My question are how to setup captive portal in vlan enviroment. I use pfsense 1.2.3 RC3. I plan to use captive portal in vlan2 only. Any advice are highly appreciated. Sorry for my bad english. Thanks.
Here's my setup
lan = re0
wan = rl1
vlan2 = vlan2 on re0
vlan3 = vlan3 on re0
vlan4 = vlan4 on re0modem
|
|
Linksys Router
|
|
PFsense
|
|
Dlink Manage Switch
| | |
vlan2 vlan3 vlan4 -
lan = re0
wan = rl1
vlan2 = vlan2 on re0
vlan3 = vlan3 on re0
vlan4 = vlan4 on re0Probably because you use the parent interface as lan too. So either add another physical nic or a vlan for your lan.
-
Perry is correct, if you want to use CP on a VLAN you can't use the parent interface directly.
You shouldn't be using the VLAN parent interface directly anyhow, for security reasons.
Find out what the port's default VLAN is, make a new VLAN in pfSense for that, and then reassign your LAN to that new VLAN interface.
-
Thanks Sir Perry and Sir Jimp. Dlink Default Vlan are vlan1. So maybe I create vlan1 on pfsense. My question are how to reassign may LAN to default VLAN1. Is it correct? Sorry if I have a mistake on it.. I try before to add another NIC for vlan only, but still not working. Maybe because i assign ip address on that vlan parent nic. Thanks for your guidance..
-
Hi Sir,
Finally the captive works on vlan2. I create vlan1 then i move lan to vlan1. Thanks for the help