Click here to get back home

valid router command?

 HomeNewsGroups | Search | About
 alt.www.webmaster    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
valid router command? Nathan W. Collier 08-29-2008
Get Chitika Premium
Posted by Nathan W. Collier on August 29, 2008, 11:40 pm
Please log in for more thread options


im running linksys router WRT54G version 2 flashed with DD-WRT. ive added
the following command:

iptables -I FORWARD -d 74.138.*.* -j DROP

and wonder if its valid? my objective is to block access to a user coming
in from various IPs starting with 74.138. i realize that if this works it
will block everyone from that IP scope but i do plan to remove it after a
few weeks when he has lost interest.
thanks,

--
Nathan In Montana
http://ConcealedCarryForum.com
http://1911talk.com
http://HiPowerTalk.com
http://GlockCarry.com
http://P7talk.com
http://PPStalk.com



Posted by Peter J Ross on August 30, 2008, 3:10 pm
Please log in for more thread options


In alt.www.webmaster on Fri, 29 Aug 2008 21:40:53 -0600, Nathan W.

> im running linksys router WRT54G version 2 flashed with DD-WRT. ive added
> the following command:
>
> iptables -I FORWARD -d 74.138.*.* -j DROP
>
> and wonder if its valid? my objective is to block access to a user coming
> in from various IPs starting with 74.138.

You need to specify source address, not destination address, and use
a netmask, not wildcards. Try this:

iptables -I FORWARD -s 74.138.0.0/16 -j DROP


--
PJR :-)
slrn newsreader (v0.9.9): http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator

Posted by Nathan W. Collier on August 30, 2008, 3:20 pm
Please log in for more thread options


> iptables -I FORWARD -s 74.138.0.0/16 -j DROP

thank you very much!

--
Nathan In Montana
http://ConcealedCarryForum.com
http://1911talk.com
http://HiPowerTalk.com
http://GlockCarry.com
http://P7talk.com
http://PPStalk.com



Posted by John Bokma on August 30, 2008, 3:39 pm
Please log in for more thread options



>> iptables -I FORWARD -s 74.138.0.0/16 -j DROP
>
> thank you very much!

As usual: I recommend to contact the ISP, and email a log. That way it
will stop, and others are helped as well.

--
John Bokma http://johnbokma.com/

AISE/AWW/SEO/web development forum: http://seo-expert-wiki.com/

Posted by Gary L. Burnore on August 30, 2008, 8:27 pm
Please log in for more thread options



>
>>> iptables -I FORWARD -s 74.138.0.0/16 -j DROP
>>
>> thank you very much!
>
>As usual: I recommend to contact the ISP, and email a log.

& report what? Someone's been viewing my website?

> That way it will stop, and others are helped as well.

The op hasn't actually said any abuse was occuring.

--
gburnore at DataBasix dot Com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Official .sig, Accept no substitutes. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
. | ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
Black Helicopter Repair Services, Ltd.| Official Proof of Purchase
===========================================================================

Similar ThreadsPosted
What IP to use for PC connect to internet by a router? April 17, 2006, 6:01 pm
securing web server via router? December 14, 2006, 12:15 am
better router needed for my server July 27, 2008, 5:13 am
Cash back and free wireless router when you order broadband. May 7, 2007, 1:29 pm
what command do I use? September 14, 2005, 6:14 pm
I'm Valid! October 13, 2005, 6:18 pm
In: Command not found January 30, 2007, 2:55 am
LoadVaraiblesNum command in Flash October 11, 2005, 12:53 pm
Shell command to delete April 12, 2006, 5:47 pm
Bad Requests for valid pages October 18, 2005, 1:01 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap