<div>I want to apply this iptables rule on each wifi gateway router, to prevent access to the entity's lan, but grant the wifi users access out to the internet, through the entity's internet router - 1.1.1.254</div> <div> </div> <div>John Boushall<BR><BR><B><I>John Boushall <stumblingthunder@yahoo.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <DIV>I have researched an iptables option and would like to apply it to my global restrictions:</DIV> <DIV> </DIV> <DIV>iptables -A FORWARD -m iprange --dst-range 1.1.1.1-1.1.1.253 -j DROP</DIV> <DIV> (GLOBAL?)</DIV> <DIV> </DIV> <DIV>The ip range is fictitious in the example.</DIV> <DIV> </DIV> <DIV>John Boushall</DIV> <DIV><BR><BR><B><I>Benoit Grégoire <bock@step.polymtl.ca></I></B> wrote:</DIV> <BLOCKQUOTE
class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Wednesday 17 January 2007 15:18, Max Horváth wrote:<BR>> You can use the standard iptables command set ...<BR>><BR>> If you wanna restrict the access to every user of the node, just do<BR>> it on the router directly.<BR>><BR>> If you wanna restrict the access to a specific user class, add your<BR>> iptables command to the file fw_iptables.c in function<BR>> iptables_load_ruleset() and add the rulesets like that:<BR>> iptables_do_command("-t filter -I " TABLE_WIFIDOG_WIFI_TO_INTERNET "<BR>> 1 -o interface DO WHATEVER");<BR><BR>You can normally do that from the wifidog config file.<BR><BR>-- <BR>Benoit Grégoire<BR>Technologies Coeus inc.<BR>_______________________________________________<BR>WiFiDog mailing list<BR>WiFiDog@listes.ilesansfil.org<BR>http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</BLOCKQUOTE><BR> <div> <HR SIZE=1> It's here!
Your new message!<BR>Get <A href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">new email alerts</A> with the free <A href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Yahoo! Toolbar.</A>_______________________________________________<BR>WiFiDog mailing list<BR>WiFiDog@listes.ilesansfil.org<BR>http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</BLOCKQUOTE><BR><p> 
<hr size=1>Be a PS3 game guru.<br>Get your game face on with <a href="http://us.rd.yahoo.com/evt=49936/*http://videogames.yahoo.com">the latest PS3 news and previews at Yahoo! Games.</a>