<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&nbsp;entity's internet&nbsp; router - 1.1.1.254</div>  <div>&nbsp;</div>  <div>John Boushall<BR><BR><B><I>John Boushall &lt;stumblingthunder@yahoo.com&gt;</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>&nbsp;</DIV>  <DIV>iptables -A FORWARD -m iprange --dst-range 1.1.1.1-1.1.1.253 -j DROP</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (GLOBAL?)</DIV>  <DIV>&nbsp;</DIV>  <DIV>The ip range is fictitious in the example.</DIV>  <DIV>&nbsp;</DIV>  <DIV>John Boushall</DIV>  <DIV><BR><BR><B><I>Benoit Grégoire &lt;bock@step.polymtl.ca&gt;</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>&gt; You can use the standard iptables command set ...<BR>&gt;<BR>&gt; If you wanna restrict the access to every user of the node, just do<BR>&gt; it on the router directly.<BR>&gt;<BR>&gt; If you wanna restrict the access to a specific user class, add your<BR>&gt; iptables command to the file fw_iptables.c in function<BR>&gt; iptables_load_ruleset() and add the rulesets like that:<BR>&gt; iptables_do_command("-t filter -I " TABLE_WIFIDOG_WIFI_TO_INTERNET "<BR>&gt; 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>&#32;

<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>