[ previous ] [ next ] [ threads ]
 
 From:  Marc-Henri Boisis-Delavaud <marc dash henri dot boisis dash delavaud at univ dash lr dot fr>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  shellcmd
 Date:  Mon, 28 Feb 2005 10:57:39 +0100
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