Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-11-2007, 03:18 AM   #1
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Linux experts: IPTABLES question and blocking entire country

I need to block the entire country of Romania from my server through IPTABLES. I have a bunch of IP address ranges for Romania but there's still a hundred or so entries I have to insert into iptables. Unless someone can enlighten me on a better way to get the job done?

Cheers
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 04:27 AM   #2
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Bump for freedom!
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 04:29 AM   #3
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
http://www.spambutcher.com/art1/536578/
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 04:35 AM   #4
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Quote:
Originally Posted by Libertine View Post
Thank you I could KISS You!
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 04:35 AM   #5
Vick!
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Location: 20 00'24.00" N, 75 09'00.00 W
Posts: 6,882
Quote:
Originally Posted by who View Post
I need to block the entire country of Romania from my server through IPTABLES. I have a bunch of IP address ranges for Romania but there's still a hundred or so entries I have to insert into iptables. Unless someone can enlighten me on a better way to get the job done?

Cheers
Would you consider doing through .htaccess?
Vick! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 04:36 AM   #6
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Quote:
Originally Posted by Vick! View Post
Would you consider doing through .htaccess?
Nope i need them totally blocked from access. Libertine sorted me out. Cheers though
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 05:51 AM   #7
SinisterStudios
Confirmed User
 
Join Date: Nov 2003
Location: New Joisey
Posts: 3,087
Quote:
Originally Posted by Libertine View Post
Thats a great resource, thanks for the info
__________________
SEOIP.com
Multiple IP Webhosting
Shared and Dedicated IP's - Multiple Class A's - From $1.99/ip
SinisterStudios is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 06:45 AM   #8
jerzeemedia
Confirmed User
 
Industry Role:
Join Date: May 2004
Location: New Jersey
Posts: 1,532
Quote:
Originally Posted by Vick! View Post
Would you consider doing through .htaccess?
If you just drop their connection before they get any conversation with the services, you save a tiny bit of overhead and save that slot for a more "desired" visitor. If he's got a rather large influx of this undesired traffic, it could actually be quite a large chunk of overhead in the long run saved. You could also just shoot these into oblivion with 'route', without even using iptables. Check this out:

http://www.cyberciti.biz/tips/how-do...ll-routes.html

-JM
__________________
Free Adult Blog Hosting
http://www.waqn.com

free porn
www.mojohost.com - Best guys, best host.
jerzeemedia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 06:47 AM   #9
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
^ Thank you very much, another lovely link
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2007, 06:55 AM   #10
jerzeemedia
Confirmed User
 
Industry Role:
Join Date: May 2004
Location: New Jersey
Posts: 1,532
Anytime
__________________
Free Adult Blog Hosting
http://www.waqn.com

free porn
www.mojohost.com - Best guys, best host.
jerzeemedia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.