Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2014-12-01 02:16:55

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Block traffic from certain country

After receiving bad and fu**ing expensive news about bandwidth overusage from my hosting, I would like to block the traffic from some asian country (especially from South Korea and Indonesia) to reduce my bandwidth usage.

I'm using temporarly .htaccess rules with ip2locations tool list IPs for multiple countries, but I've read that is not good for server performance, so what's the right and best method to block these countries (.htacces deny / allow, cdir, linux ip tables, web .config .... ) ?

Any suggestion?

Offline

#2 2014-12-01 06:51:57

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Block traffic from certain country

http://www.cyberciti.biz/faq/block-enti … -iptables/

I would switch to unlimited bandwidth, this traffic might bring you $$.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2014-12-01 16:59:19

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: Block traffic from certain country

Thank you symtab. I will use iptables.
Probably in the future I will buy unlimited bandwidth, but now, especially Korean guys/bots are sucking too much bandwidth and giving me too little.

Offline

#4 2014-12-02 00:40:22

xpornclub
Member
From: California
Registered: 2012-01-01
Posts: 445
Website

Re: Block traffic from certain country

You can block the bots if you think its mostly bot traffic.   But like symtab said any traffic is good traffic and can make you lots of money.  What is your bandwidth limit?  And how many visitors are you getting per day?

Offline

#5 2014-12-02 16:31:41

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: Block traffic from certain country

My problem is that I need a managed server because I'm not a webmaster, so my margin of profit are minor because of this expensive way. Server, firewall and service are perfect, but the bandwidth is very low, 100mps port but only 2TB, and I've burnt more than 5tb in november, first month that happened, but the traffic is even decreased compared to the other months!

Some months ago I was to 4500 daily, especially from Turkey and a minor part from USA, Germany and other country, now I'm stable to 3000-3200 daily but with a more regualar situation with 25% usa, 10 germany, 10 turkish, UK, Korea, ..... and fortunately is increasing. Until now my convert ratio for video sponsor is near to... 0, hope this change of country traffic could help on this side.

My provider offered me a new and cheaper vps with 4tb bandwidth instead of 2tb and I can (need) buy more but obviously the price is not cheap.

I think that a different server only for streaming and storage with a good amount of bandwidth it's the best solution if I found something more cheap.

Offline

#6 2014-12-04 03:15:50

xpornclub
Member
From: California
Registered: 2012-01-01
Posts: 445
Website

Re: Block traffic from certain country

How much do you pay for that server?

Offline

#7 2014-12-04 18:02:45

MrPulse
Member
Registered: 2013-03-05
Posts: 107
Website

Re: Block traffic from certain country

I've bought yesterday a clearance dedicated server by gorillaservers:

Intel Core i7 860 Quad Core (8 HT Cores)
32GB DDR3 RAM
1 x 2TB HDD
100Mbps Dedicated Unmetered Bandwidth
directadmin panel
79$/month

it's unmanaged but I will survive, actually I pay 150$ for a managed vps with firewall and weekly backup with 6gb ram, 4 cores, 100mbps 2gb bandwidth and they offered me another vps with 8gb, 4 cores and 8tb bandwidth for 180$

Offline

Board footer

Powered by FluxBB