and why can i access other zones' captives portals just by changing this this is too weird
EDIT nevermind i solved it… i addes multiple rules in the captive portal but i guess something went wrong... can anyone help me allow all those ports without causing any problem ? i suspect that the ipfw rules must have a limit or they are used elsewhere ...
can i use any other method to allow those ports before the authentication ? like with a table where there are all the ports and like one or two rules that wont cause any other problem ?
appreciate the help and thanks in advance
here are the rules i tried https://fr.scribd.com/document/379814591/Captiveportal-Rules
PS : the rules worked perfectly but caused many other problems
53 UDP (keep-state and out)
138 UDP (in out and keep-state)
137 UDP(in out keep-state)
389 UDP TCP (same)
88 TCP (same)
445 TCP (same)
139 TCP (same)
135 TCP (same)
and from 49152 to 65535 TCP (same for everyone one of them)
for what i'm trying to do : allow ports for the windows authentication through captive portal to the active directory
EDIT 2 : trying again same problem, the redirection ends up on one captive portal for all interfaces, it's like something gets messed up. when i get rid of those rules, everything works normally, so how can i allow without having to face such problems ?
EDIT 3 : Solved : https://www.freebsd.org/cgi/man.cgi?ipfw(8)