Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
easy IPtables question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Thu Feb 06, 2003 9:59 pm    Post subject: easy IPtables question Reply with quote

drop all packets from any ip 208.13.*.* that come in on the http port
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Thu Feb 06, 2003 10:09 pm    Post subject: Reply with quote

iptables -I INPUT -s 208.13.0.0/16 -p TCP --dport 80 -j DROP

Your might want the FORWARD chain as well...


Yours,
Larde.
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum