Премини към съдържанието

Архивирана тема

Темата е твърде стара и е архивирана. Не можете да добавяте нови отговори в нея, но винаги можете да публикувате нова тема, в която да продължи дискусията. Регистрирайте се или влезте във вашия профил за да публикувате нова тема.

Sv.Bozhinov

Ограничаване на сайт за чужденци

Препоръчан отговор


Здравейте. 

Искам да ви попитам как мога да огранича моя сайт да е достъпен само за българи?

Искам да го направя така понеже хоствам сървър на игра и отделно хоствам сайта на моят компютър и понякога се случва българи да използват VPN, за да ми DDOS-ват сървъра и искам, ако ще DDOS-ват да мога да видя истинското им ИП тоест българското ИП, за да мога да им го блокирам?

 

Предварително благодаря.

 

Сподели този отговор


Линк към този отговор
Сподели в други сайтове

Здравейте. 

Искам да ви попитам как мога да огранича моя сайт да е достъпен само за българи?

Искам да го направя така понеже хоствам сървър на игра и отделно хоствам сайта на моят компютър и понякога се случва българи да използват VPN, за да ми DDOS-ват сървъра и искам, ако ще DDOS-ват да мога да видя истинското им ИП тоест българското ИП, за да мога да им го блокирам?

 

Предварително благодаря.

А защо не блокирате небългарските ИП адреси?

Сподели този отговор


Линк към този отговор
Сподели в други сайтове

Да се блокират цели рейнджове от адреси не е удачно, защото има и български ИП-та с ".net" и ".com" домейни примерно. Най-добре ще е да се ползва някакъв вид скрипт, който да препраща ИП-та извън България.

Сподели този отговор


Линк към този отговор
Сподели в други сайтове

Да се блокират цели рейнджове от адреси не е удачно, защото има и български ИП-та с ".net" и ".com" домейни примерно. Най-добре ще е да се ползва някакъв вид скрипт, който да препраща ИП-та извън България.

Аз говоря за ИП адреси, блокирането на ниво име на домейн е много неефективно, защото освен горната забележка има и много по-сериозен недостатък, всяко минаване през листа ще предизвика сериозен обем резолв заявки, което ще забави много комуникациите

Сподели този отговор


Линк към този отговор
Сподели в други сайтове

allow from google.IP<Limit GET HEAD POST>order deny,allow# Country: BULGARIA# ISO Code: BG# Total Networks: 467# Total Subnets: 3,980,288allow from 31.13.192.0/18allow from 37.143.229.111allow from 31.41.16.0/21allow from 31.211.128.0/19allow from 46.10.0.0/16allow from 46.16.192.0/21allow from 46.35.160.0/19allow from 46.40.64.0/18allow from 46.47.64.0/18allow from 46.55.128.0/17allow from 46.229.192.0/20allow from 46.232.152.0/21allow from 46.233.0.0/18allow from 46.237.64.0/18allow from 46.238.0.0/18allow from 46.249.64.0/19allow from 46.252.48.0/20allow from 46.253.0.0/20allow from 46.254.128.0/21allow from 62.44.96.0/19allow from 62.73.64.0/18allow from 62.176.64.0/19allow from 62.176.96.0/19allow from 62.182.112.0/21allow from 62.204.128.0/19allow from 62.213.160.0/19allow from 62.221.128.0/19allow from 77.70.0.0/17allow from 77.71.0.0/17allow from 77.76.0.0/18allow from 77.76.128.0/18allow from 77.77.0.0/18allow from 77.77.128.0/18allow from 77.78.0.0/18allow from 77.78.128.0/18allow from 77.85.0.0/16allow from 77.95.232.0/21allow from 77.236.160.0/19allow from 77.238.64.0/19allow from 77.246.208.0/20allow from 78.40.136.0/21allow from 78.83.0.0/16allow from 78.90.0.0/16allow from 78.108.240.0/20allow from 78.128.0.0/17allow from 78.130.128.0/17allow from 78.142.0.0/18allow from 78.154.0.0/19allow from 78.159.128.0/19allow from 79.100.0.0/16allow from 79.110.112.0/20allow from 79.124.0.0/18allow from 79.124.64.0/19allow from 79.132.0.0/19allow from 79.134.32.0/19allow from 79.134.160.0/19allow from 80.72.64.0/20allow from 80.72.80.0/20allow from 80.78.224.0/20allow from 80.80.128.0/20allow from 80.80.144.0/20allow from 80.95.16.0/20allow from 80.253.48.0/20allow from 81.161.240.0/20allow from 82.101.64.0/18allow from 82.103.64.0/18allow from 82.118.224.0/19allow from 82.119.64.0/19allow from 82.137.64.0/18allow from 82.146.0.0/19allow from 82.147.128.0/19allow from 82.199.192.0/19allow from 83.97.24.0/21allow from 83.97.64.0/21allow from 83.142.16.0/21allow from 83.143.144.0/21allow from 83.143.176.0/21allow from 83.143.248.0/21allow from 83.148.64.0/18allow from 83.222.160.0/19allow from 83.228.0.0/17allow from 84.21.192.0/19allow from 84.22.0.0/19allow from 84.38.240.0/20allow from 84.40.64.0/18allow from 84.43.128.0/17allow from 84.54.128.0/18allow from 84.201.192.0/20allow from 84.238.128.0/17allow from 84.242.128.0/18allow from 84.252.0.0/18allow from 85.11.128.0/18allow from 85.14.0.0/18allow from 85.91.128.0/19allow from 85.95.64.0/19allow from 85.118.64.0/19allow from 85.118.192.0/21allow from 85.130.0.0/17allow from 85.187.0.0/16allow from 85.196.128.0/18allow from 85.217.128.0/17allow from 85.239.128.0/19allow from 85.255.128.0/20allow from 85.255.160.0/20allow from 87.97.128.0/17allow from 87.116.64.0/18allow from 87.118.128.0/18allow from 87.119.64.0/18allow from 87.120.0.0/15allow from 87.126.0.0/16allow from 87.227.128.0/17allow from 87.239.152.0/21allow from 87.246.0.0/18allow from 87.247.248.0/21allow from 87.252.160.0/19allow from 87.254.160.0/19allow from 88.80.96.0/19allow from 88.80.128.0/19allow from 88.87.0.0/19allow from 88.203.128.0/17allow from 88.213.192.0/18allow from 89.25.0.0/17allow from 89.106.96.0/19allow from 89.186.192.0/19allow from 89.190.192.0/19allow from 89.215.0.0/16allow from 89.252.192.0/18allow from 89.253.128.0/18allow from 90.154.128.0/17allow from 91.92.0.0/16allow from 91.134.0.0/16allow from 91.139.128.0/17allow from 91.148.128.0/18allow from 91.191.208.0/20allow from 91.192.236.0/22allow from 91.193.156.0/22allow from 91.193.200.0/22allow from 91.195.24.0/23allow from 91.196.64.0/22allow from 91.196.124.0/22allow from 91.196.224.0/22allow from 91.198.119.0/24allow from 91.198.132.0/24allow from 91.198.181.0/24allow from 91.198.228.0/24allow from 91.199.36.0/24allow from 91.199.128.0/24allow from 91.199.150.0/24allow from 91.199.237.0/24allow from 91.199.247.0/24allow from 91.201.172.0/22allow from 91.204.156.0/22allow from 91.206.20.0/23allow from 91.206.138.0/23allow from 91.207.190.0/23allow from 91.209.8.0/24allow from 91.209.21.0/24allow from 91.209.146.0/24allow from 91.210.88.0/22allow from 91.211.108.0/22allow from 91.211.188.0/22allow from 91.211.232.0/22allow from 91.212.13.0/24allow from 91.212.17.0/24allow from 91.212.37.0/24allow from 91.212.201.0/24allow from 91.212.233.0/24allow from 91.212.235.0/24allow from 91.215.216.0/22allow from 91.216.71.0/24allow from 91.216.95.0/24allow from 91.216.174.0/24allow from 91.216.253.0/24allow from 91.217.148.0/24allow from 91.217.205.0/24allow from 91.217.215.0/24allow from 91.218.80.0/22allow from 91.220.176.0/24allow from 91.220.189.0/24allow from 91.221.254.0/23allow from 91.222.20.0/22allow from 91.223.66.0/24allow from 91.226.226.0/23allow from 91.228.38.0/24allow from 91.230.6.0/23allow from 91.230.192.0/22allow from 91.230.230.0/24allow from 91.230.231.0/24allow from 92.62.240.0/20allow from 92.247.0.0/16allow from 93.93.8.0/21allow from 93.94.136.0/21allow from 93.123.0.0/17allow from 93.152.128.0/17allow from 93.155.128.0/17allow from 93.183.128.0/18allow from 94.26.0.0/17allow from 94.72.128.0/18allow from 94.73.0.0/18allow from 94.101.192.0/20allow from 94.139.192.0/19allow from 94.155.0.0/16allow from 94.156.0.0/16allow from 94.190.128.0/17allow from 94.236.128.0/17allow from 95.42.0.0/15allow from 95.87.0.0/18allow from 95.87.192.0/18allow from 95.111.0.0/17allow from 95.140.208.0/20allow from 95.158.128.0/18allow from 95.168.224.0/19allow from 95.169.192.0/19allow from 109.104.192.0/19allow from 109.107.64.0/19allow from 109.120.192.0/18allow from 109.121.128.0/18allow from 109.121.192.0/18allow from 109.160.0.0/17allow from 109.199.128.0/19allow from 109.199.224.0/19allow from 128.140.176.0/20allow from 149.62.192.0/18allow from 176.12.0.0/18allow from 176.67.232.0/21allow from 178.16.128.0/20allow from 178.75.192.0/18allow from 178.132.80.0/21allow from 178.169.128.0/17allow from 178.239.112.0/20allow from 178.239.224.0/20allow from 178.249.168.0/21allow from 178.254.192.0/18allow from 188.124.64.0/19allow from 188.126.0.0/19allow from 188.127.64.0/19allow from 188.254.128.0/17allow from 192.162.231.0/24allow from 193.9.16.0/24allow from 193.16.102.0/24allow from 193.16.157.0/24allow from 193.16.246.0/24allow from 193.17.229.0/24allow from 193.19.172.0/22allow from 193.22.103.0/24allow from 193.22.248.0/24allow from 193.23.52.0/24allow from 193.24.240.0/22allow from 193.25.162.0/23allow from 193.26.14.0/24allow from 193.26.216.0/24allow from 193.28.250.0/24allow from 193.29.55.0/24allow from 193.30.228.0/22allow from 193.36.35.0/24allow from 193.37.238.0/24allow from 193.41.64.0/22allow from 193.41.182.0/23allow from 193.41.188.0/22allow from 193.42.156.0/24allow from 193.43.26.0/24allow from 193.47.74.0/24allow from 193.68.0.0/19allow from 193.68.96.0/19allow from 193.68.128.0/17allow from 193.84.86.0/24allow from 193.93.24.0/22allow from 193.104.79.0/24allow from 193.104.165.0/24allow from 193.105.60.0/24allow from 193.105.148.0/24allow from 193.105.151.0/24allow from 193.105.196.0/24allow from 193.107.36.0/22allow from 193.107.68.0/22allow from 193.108.24.0/24allow from 193.108.32.0/23allow from 193.109.54.0/23allow from 193.110.82.0/24allow from 193.110.132.0/24allow from 193.110.159.0/24allow from 193.110.216.0/21allow from 193.111.89.0/24allow from 193.111.194.0/23allow from 193.138.67.0/24allow from 193.142.0.0/24allow from 193.150.67.0/24allow from 193.151.20.0/22allow from 193.151.80.0/22allow from 193.160.159.0/24allow from 193.161.192.0/24allow from 193.164.222.0/23allow from 193.169.198.0/23allow from 193.178.152.0/23allow from 193.178.166.0/24allow from 193.178.222.0/24allow from 193.192.48.0/23allow from 193.192.56.0/23allow from 193.193.162.0/23allow from 193.193.164.0/24allow from 193.193.182.0/24allow from 193.194.140.0/23allow from 193.194.156.0/24allow from 193.200.1.0/23allow from 193.200.8.0/24allow from 193.200.12.0/24allow from 193.200.14.0/23allow from 193.200.16.0/23allow from 193.200.24.0/24allow from 193.200.28.0/24allow from 193.201.114.0/23allow from 193.201.172.0/24allow from 193.201.240.0/22allow from 193.202.108.0/24allow from 193.203.198.0/23allow from 193.228.152.0/24allow from 193.254.29.0/24allow from 194.0.32.0/24allow from 194.0.235.0/24allow from 194.8.53.0/24allow from 194.8.60.0/24allow from 194.9.6.0/23allow from 194.12.224.0/19allow from 194.34.12.0/24allow from 194.36.167.0/24allow from 194.48.206.0/24allow from 194.50.73.0/24allow from 194.50.76.0/24allow from 194.50.122.0/24allow from 194.54.140.0/22allow from 194.63.136.0/22allow from 194.79.12.0/22allow from 194.88.228.0/23allow from 194.88.250.0/23allow from 194.110.205.0/24allow from 194.141.0.0/19allow from 194.141.32.0/19allow from 194.141.64.0/18allow from 194.141.128.0/17allow from 194.145.63.0/24allow from 194.145.160.0/22allow from 194.146.232.0/22allow from 194.150.116.0/22allow from 194.150.180.0/23allow from 194.153.118.0/24allow from 194.153.145.0/24allow from 194.169.231.0/24allow from 194.187.132.0/22allow from 194.246.110.0/23allow from 195.8.222.0/23allow from 195.10.193.0/24allow from 195.20.20.0/22allow from 195.20.24.0/22allow from 195.22.146.0/23allow from 195.24.32.0/19allow from 195.24.88.0/21allow from 195.28.6.0/23allow from 195.34.96.0/19allow from 195.35.84.0/24allow from 195.39.198.0/23allow from 195.39.212.0/23allow from 195.42.142.0/23allow from 195.47.193.0/24allow from 195.54.44.0/23allow from 195.62.22.0/23allow from 195.64.160.0/23allow from 195.66.125.0/24allow from 195.68.200.0/23allow from 195.68.214.0/23allow from 195.69.108.0/22allow from 195.69.120.0/22allow from 195.69.164.0/22allow from 195.72.112.0/24allow from 195.74.85.0/24allow from 195.85.215.0/24allow from 195.88.74.0/23allow from 195.88.140.0/23allow from 195.96.224.0/19allow from 195.110.24.0/23allow from 195.114.112.0/23allow from 195.128.132.0/24allow from 195.128.134.0/24allow from 195.128.224.0/23allow from 195.137.252.0/23allow from 195.138.128.0/19allow from 195.149.71.0/24allow from 195.149.248.0/21allow from 195.162.72.0/23allow from 195.170.166.0/24allow from 195.170.178.0/24allow from 195.177.218.0/23allow from 195.177.248.0/23allow from 195.178.8.0/23allow from 195.178.98.0/23allow from 195.178.116.0/23allow from 195.182.41.0/24allow from 195.182.44.0/24allow from 195.189.80.0/22allow from 195.189.224.0/23allow from 195.191.34.0/23allow from 195.191.60.0/23allow from 195.191.94.0/23allow from 195.191.148.0/23allow from 195.214.248.0/21allow from 195.216.228.0/24allow from 195.225.51.0/24allow from 195.225.124.0/22allow from 195.225.252.0/22allow from 195.230.0.0/19allow from 195.234.84.0/22allow from 195.234.236.0/22allow from 195.238.84.0/23allow from 195.242.106.0/23allow from 195.242.126.0/23allow from 195.242.240.0/22allow from 195.246.240.0/23allow from 212.5.32.0/19allow from 212.5.128.0/19allow from 212.21.128.0/19allow from 212.25.32.0/19allow from 212.36.0.0/19allow from 212.39.64.0/19allow from 212.43.32.0/19allow from 212.45.64.0/19allow from 212.50.0.0/19allow from 212.50.64.0/19allow from 212.56.0.0/19allow from 212.70.128.0/19allow from 212.72.192.0/19allow from 212.73.128.0/19allow from 212.75.0.0/19allow from 212.91.160.0/19allow from 212.95.160.0/19allow from 212.104.96.0/19allow from 212.116.128.0/19allow from 212.117.32.0/19allow from 212.122.160.0/19allow from 212.124.64.0/19allow from 212.233.128.0/17allow from 213.16.32.0/19allow from 213.91.128.0/17allow from 213.108.240.0/21allow from 213.130.64.0/19allow from 213.137.32.0/19allow from 213.145.96.0/19allow from 213.149.128.0/19allow from 213.167.0.0/19allow from 213.169.32.0/19allow from 213.191.192.0/19allow from 213.214.64.0/19allow from 213.222.32.0/19allow from 213.226.0.0/19allow from 213.226.32.0/19allow from 213.231.128.0/18allow from 213.240.192.0/18allow from 217.9.224.0/20allow from 217.10.240.0/20allow from 217.18.240.0/20allow from 217.30.208.0/20allow from 217.75.128.0/20allow from 217.75.144.0/20allow from 217.79.32.0/20allow from 217.79.64.0/20allow from 217.79.80.0/20allow from 217.145.80.0/20allow from 217.145.160.0/20allow from 217.174.48.0/20allow from 217.174.144.0/20allow from 37.143.0.0/19allow from 37.143.231.192allow from 151.237.80.105allow from 151.237.0#deny from all</Limit>

Опитай с това. Може сайта да е недостъпен и за някои БГ мрежи ,така че го имай на предвид.


Сподели този отговор


Линк към този отговор
Сподели в други сайтове

×

Информация

Поставихме бисквитки на устройството ви за най-добро потребителско изживяване. Можете да промените настройките си за бисквитки, или в противен случай приемаме, че сте съгласни с нашите условия за ползване.