|
||||||||
Hello
I use captive portal and I want non authenticated user can access to
an IP only on port 80.
So I have write this in config.xml
<shellcmd>/sbin/ipfw add 10000 skipto 50000 ip from any
to 10.1.11.101 dst-port 80 in</shellcmd>
<shellcmd>/sbin/ipfw add 10000 skipto 50000 ip from
10.1.11.101 80 to any out</shellcmd>
but when a user disconect himself, rules are reinitialized and my rules
disapear.
How can I do conserve my rules ?
Marc |