[Solved] Allow Ports
-
Hello, i'd like to allow those ports through captive portal :
53 UDP
138 UDP
137 UDP
389 UDP TCP
88 TCP
445 TCP
139 TCP
135 TCPand from 49152 to 65535 TCP and UDP
i tried to put the (attachement file) just before the redirect rule in pfsense captiveportal.inc
is it correct ?
[Nouveau document texte (3).txt](/public/imported_attachments/1/Nouveau document texte (3).txt)
-
You cannot allow specific ports through the portal pre-authentication.
You can only allow access to specific IP addresses pre-authentication.
post-authentication all traffic should flow based on the firewall rules on the interface.
-
are u sure ??? even by modifying the captiveportal.inc file ??
-
Well, feel free but I'm not getting involved. If it's not working you did it wrong.
-
i did it like in this : https://forum.pfsense.org/index.php?topic=79229.0
https://forum.pfsense.org/index.php?topic=69499.0 -
Solved, i should have used the other form : $cprules .= captiveportal_create_ipfw_rule