Hello everyone,

I have a pfsense with 4 vlans on 2 nics. The goal is that the user
gets served a different captive portal depending on which vlan he came
from.
I managed to do this making each vlan a different subnet and uploading
a captive portal which would redirect to the appropriate pages
depending on your ip.
But I have one question: what code should i include in the captive
portal page so as it can redirect the user to his original url after
the authentication?

The code is here in pastebin for everyone who wants it:
the file which does the redirection index.php:http://pastebin.com/E5TZRE35
each location file is like this ::http://pastebin.com/XGnU3TgC
for error file I have the location1 for now but I will try with the index

opinions?
_______________________________________________
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list

Reply via email to