I want to implement a walled garden on my router.
Is there a module for shorewall which would set it up easily ?

Otherwise, how can I achieve this ?

I can create a new zone and define default policy for this zone as "deny"
when going outside to ppp0 interface.

I can also define a redirection to my web server's login page and ask for
username/password pair.
Then if the password is correct I can use "iptables" to insert a "permit" to
"any" from the host IP address to ppp0 on top of the related chain.
But which chain should I use and what could be the correct use of "iptables"
command ?

Also, how can I delete this rule after a certain time period ?

Thanks,
ilker
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to