Защита от DDOS

Материал из Энциклопедия хостинга
Перейти к: навигация, поиск


Содержание

Настройка защиты

Для того, чтобы начать использовать защиту, необходимо:

1. Направить А-запись домена, который нужно защитить на IP-адрес, выданный вам службой поддержки.

2. Настроить Ваш web-сервер на работу под защитой

Настройки Apache:

- установить и включить модуль mod_rpaf или modremote_ip;

- в конфигурационный файл httpd.conf (или apache2.conf для Debian) добавить строчку для подключения настроек модуля mod_rpaf (Include /usr/local/etc/apache22/ddos-protect.conf

- FreeBSD, Include /etc/apache2/ddos-protect.conf

- Debian, Include /etc/httpd/conf/ddos-protect.conf - CentOS);

Ниже указаны настройки файла ddos-protect.conf для разных модулей

Для modremote_ip (apache 2.4):

RemoteIPHeader X-Real-IP
RemoteIPInternalProxy 127.0.0.1 93.189.60.0/22

Для mod_rpaf (apache <=2.2):

RPAFenable On
RPAFsethostname On
RPAFproxy_ips 93.189.60.1 93.189.60.2 93.189.60.3 93.189.60.4
RPAFproxy_ips 93.189.60.5 93.189.60.6 93.189.60.7 93.189.60.8
RPAFproxy_ips 93.189.60.9 93.189.60.10 93.189.60.11 93.189.60.12
RPAFproxy_ips 93.189.60.13 93.189.60.14 93.189.60.15 93.189.60.16 93.189.60.17
RPAFproxy_ips 93.189.60.18 93.189.60.19 93.189.60.20 93.189.60.21
RPAFproxy_ips 93.189.60.22 93.189.60.23 93.189.60.24 93.189.60.25 93.189.60.26
RPAFproxy_ips 93.189.60.27 93.189.60.28 93.189.60.29 93.189.60.30
RPAFproxy_ips 93.189.60.31 93.189.60.32 93.189.60.33 93.189.60.34 93.189.60.35
RPAFproxy_ips 93.189.60.36 93.189.60.37 93.189.60.38 93.189.60.39
RPAFproxy_ips 93.189.60.40 93.189.60.41 93.189.60.42 93.189.60.43 93.189.60.44
RPAFproxy_ips 93.189.60.45 93.189.60.46 93.189.60.47 93.189.60.48
RPAFproxy_ips 93.189.60.49 93.189.60.50 93.189.60.51 93.189.60.52 93.189.60.53
RPAFproxy_ips 93.189.60.54 93.189.60.55 93.189.60.56 93.189.60.57
RPAFproxy_ips 93.189.60.58 93.189.60.59 93.189.60.60 93.189.60.61 93.189.60.62
RPAFproxy_ips 93.189.60.63 93.189.60.64 93.189.60.65 93.189.60.66
RPAFproxy_ips 93.189.60.67 93.189.60.68 93.189.60.69 93.189.60.70 93.189.60.71
RPAFproxy_ips 93.189.60.72 93.189.60.73 93.189.60.74 93.189.60.75
RPAFproxy_ips 93.189.60.76 93.189.60.77 93.189.60.78 93.189.60.79 93.189.60.80
RPAFproxy_ips 93.189.60.81 93.189.60.82 93.189.60.83 93.189.60.84
RPAFproxy_ips 93.189.60.85 93.189.60.86 93.189.60.87 93.189.60.88 93.189.60.89
RPAFproxy_ips 93.189.60.90 93.189.60.91 93.189.60.92 93.189.60.93
RPAFproxy_ips 93.189.60.94 93.189.60.95 93.189.60.96 93.189.60.97 93.189.60.98
RPAFproxy_ips 93.189.60.99 93.189.60.100 93.189.60.101 93.189.60.102
RPAFproxy_ips 93.189.60.103 93.189.60.104 93.189.60.105 93.189.60.106 93.189.60.107
RPAFproxy_ips 93.189.60.108 93.189.60.109 93.189.60.110 93.189.60.111
RPAFproxy_ips 93.189.60.112 93.189.60.113 93.189.60.114 93.189.60.115 93.189.60.116
RPAFproxy_ips 93.189.60.117 93.189.60.118 93.189.60.119 93.189.60.120
RPAFproxy_ips 93.189.60.121 93.189.60.122 93.189.60.123 93.189.60.124 93.189.60.125
RPAFproxy_ips 93.189.60.126 93.189.60.127 93.189.60.128 93.189.60.129
RPAFproxy_ips 93.189.60.130 93.189.60.131 93.189.60.132 93.189.60.133 93.189.60.134
RPAFproxy_ips 93.189.60.135 93.189.60.136 93.189.60.137 93.189.60.138
RPAFproxy_ips 93.189.60.139 93.189.60.140 93.189.60.141 93.189.60.142 93.189.60.143
RPAFproxy_ips 93.189.60.144 93.189.60.145 93.189.60.146 93.189.60.147
RPAFproxy_ips 93.189.60.148 93.189.60.149 93.189.60.150 93.189.60.151 93.189.60.152
RPAFproxy_ips 93.189.60.153 93.189.60.154 93.189.60.155 93.189.60.156
RPAFproxy_ips 93.189.60.157 93.189.60.158 93.189.60.159 93.189.60.160 93.189.60.161
RPAFproxy_ips 93.189.60.162 93.189.60.163 93.189.60.164 93.189.60.165
RPAFproxy_ips 93.189.60.166 93.189.60.167 93.189.60.168 93.189.60.169 93.189.60.170
RPAFproxy_ips 93.189.60.171 93.189.60.172 93.189.60.173 93.189.60.174
RPAFproxy_ips 93.189.60.175 93.189.60.176 93.189.60.177 93.189.60.178 93.189.60.179
RPAFproxy_ips 93.189.60.180 93.189.60.181 93.189.60.182 93.189.60.183
RPAFproxy_ips 93.189.60.184 93.189.60.185 93.189.60.186 93.189.60.187 93.189.60.188
RPAFproxy_ips 93.189.60.189 93.189.60.190 93.189.60.191 93.189.60.192
RPAFproxy_ips 93.189.60.193 93.189.60.194 93.189.60.195 93.189.60.196 93.189.60.197
RPAFproxy_ips 93.189.60.198 93.189.60.199 93.189.60.200 93.189.60.201
RPAFproxy_ips 93.189.60.202 93.189.60.203 93.189.60.204 93.189.60.205 93.189.60.206
RPAFproxy_ips 93.189.60.207 93.189.60.208 93.189.60.209 93.189.60.210
RPAFproxy_ips 93.189.60.211 93.189.60.212 93.189.60.213 93.189.60.214 93.189.60.215
RPAFproxy_ips 93.189.60.216 93.189.60.217 93.189.60.218 93.189.60.219
RPAFproxy_ips 93.189.60.220 93.189.60.221 93.189.60.222 93.189.60.223 93.189.60.224
RPAFproxy_ips 93.189.60.225 93.189.60.226 93.189.60.227 93.189.60.228
RPAFproxy_ips 93.189.60.229 93.189.60.230 93.189.60.231 93.189.60.232 93.189.60.233
RPAFproxy_ips 93.189.60.234 93.189.60.235 93.189.60.236 93.189.60.237
RPAFproxy_ips 93.189.60.238 93.189.60.239 93.189.60.240 93.189.60.241 93.189.60.242
RPAFproxy_ips 93.189.60.243 93.189.60.244 93.189.60.245 93.189.60.246
RPAFproxy_ips 93.189.60.247 93.189.60.248 93.189.60.249 93.189.60.250 93.189.60.251
RPAFproxy_ips 93.189.60.252 93.189.60.253 93.189.60.254
RPAFproxy_ips 93.189.61.1 93.189.61.2 93.189.61.3 93.189.61.4
RPAFproxy_ips 93.189.61.5 93.189.61.6 93.189.61.7 93.189.61.8
RPAFproxy_ips 93.189.61.9 93.189.61.10 93.189.61.11 93.189.61.12
RPAFproxy_ips 93.189.61.13 93.189.61.14 93.189.61.15 93.189.61.16 93.189.61.17
RPAFproxy_ips 93.189.61.18 93.189.61.19 93.189.61.20 93.189.61.21
RPAFproxy_ips 93.189.61.22 93.189.61.23 93.189.61.24 93.189.61.25 93.189.61.26
RPAFproxy_ips 93.189.61.27 93.189.61.28 93.189.61.29 93.189.61.30
RPAFproxy_ips 93.189.61.31 93.189.61.32 93.189.61.33 93.189.61.34 93.189.61.35
RPAFproxy_ips 93.189.61.36 93.189.61.37 93.189.61.38 93.189.61.39
RPAFproxy_ips 93.189.61.40 93.189.61.41 93.189.61.42 93.189.61.43 93.189.61.44
RPAFproxy_ips 93.189.61.45 93.189.61.46 93.189.61.47 93.189.61.48
RPAFproxy_ips 93.189.61.49 93.189.61.50 93.189.61.51 93.189.61.52 93.189.61.53
RPAFproxy_ips 93.189.61.54 93.189.61.55 93.189.61.56 93.189.61.57
RPAFproxy_ips 93.189.61.58 93.189.61.59 93.189.61.60 93.189.61.61 93.189.61.62
RPAFproxy_ips 93.189.61.63 93.189.61.64 93.189.61.65 93.189.61.66
RPAFproxy_ips 93.189.61.67 93.189.61.68 93.189.61.69 93.189.61.70 93.189.61.71
RPAFproxy_ips 93.189.61.72 93.189.61.73 93.189.61.74 93.189.61.75
RPAFproxy_ips 93.189.61.76 93.189.61.77 93.189.61.78 93.189.61.79 93.189.61.80
RPAFproxy_ips 93.189.61.81 93.189.61.82 93.189.61.83 93.189.61.84
RPAFproxy_ips 93.189.61.85 93.189.61.86 93.189.61.87 93.189.61.88 93.189.61.89
RPAFproxy_ips 93.189.61.90 93.189.61.91 93.189.61.92 93.189.61.93
RPAFproxy_ips 93.189.61.94 93.189.61.95 93.189.61.96 93.189.61.97 93.189.61.98
RPAFproxy_ips 93.189.61.99 93.189.61.100 93.189.61.101 93.189.61.102
RPAFproxy_ips 93.189.61.103 93.189.61.104 93.189.61.105 93.189.61.106 93.189.61.107
RPAFproxy_ips 93.189.61.108 93.189.61.109 93.189.61.110 93.189.61.111
RPAFproxy_ips 93.189.61.112 93.189.61.113 93.189.61.114 93.189.61.115 93.189.61.116
RPAFproxy_ips 93.189.61.117 93.189.61.118 93.189.61.119 93.189.61.120
RPAFproxy_ips 93.189.61.121 93.189.61.122 93.189.61.123 93.189.61.124 93.189.61.125
RPAFproxy_ips 93.189.61.126 93.189.61.127 93.189.61.128 93.189.61.129
RPAFproxy_ips 93.189.61.130 93.189.61.131 93.189.61.132 93.189.61.133 93.189.61.134
RPAFproxy_ips 93.189.61.135 93.189.61.136 93.189.61.137 93.189.61.138
RPAFproxy_ips 93.189.61.139 93.189.61.140 93.189.61.141 93.189.61.142 93.189.61.143
RPAFproxy_ips 93.189.61.144 93.189.61.145 93.189.61.146 93.189.61.147
RPAFproxy_ips 93.189.61.148 93.189.61.149 93.189.61.150 93.189.61.151 93.189.61.152
RPAFproxy_ips 93.189.61.153 93.189.61.154 93.189.61.155 93.189.61.156
RPAFproxy_ips 93.189.61.157 93.189.61.158 93.189.61.159 93.189.61.160 93.189.61.161
RPAFproxy_ips 93.189.61.162 93.189.61.163 93.189.61.164 93.189.61.165
RPAFproxy_ips 93.189.61.166 93.189.61.167 93.189.61.168 93.189.61.169 93.189.61.170
RPAFproxy_ips 93.189.61.171 93.189.61.172 93.189.61.173 93.189.61.174
RPAFproxy_ips 93.189.61.175 93.189.61.176 93.189.61.177 93.189.61.178 93.189.61.179
RPAFproxy_ips 93.189.61.180 93.189.61.181 93.189.61.182 93.189.61.183
RPAFproxy_ips 93.189.61.184 93.189.61.185 93.189.61.186 93.189.61.187 93.189.61.188
RPAFproxy_ips 93.189.61.189 93.189.61.190 93.189.61.191 93.189.61.192
RPAFproxy_ips 93.189.61.193 93.189.61.194 93.189.61.195 93.189.61.196 93.189.61.197
RPAFproxy_ips 93.189.61.198 93.189.61.199 93.189.61.200 93.189.61.201
RPAFproxy_ips 93.189.61.202 93.189.61.203 93.189.61.204 93.189.61.205 93.189.61.206
RPAFproxy_ips 93.189.61.207 93.189.61.208 93.189.61.209 93.189.61.210
RPAFproxy_ips 93.189.61.211 93.189.61.212 93.189.61.213 93.189.61.214 93.189.61.215
RPAFproxy_ips 93.189.61.216 93.189.61.217 93.189.61.218 93.189.61.219
RPAFproxy_ips 93.189.61.220 93.189.61.221 93.189.61.222 93.189.61.223 93.189.61.224
RPAFproxy_ips 93.189.61.225 93.189.61.226 93.189.61.227 93.189.61.228
RPAFproxy_ips 93.189.61.229 93.189.61.230 93.189.61.231 93.189.61.232 93.189.61.233
RPAFproxy_ips 93.189.61.234 93.189.61.235 93.189.61.236 93.189.61.237
RPAFproxy_ips 93.189.61.238 93.189.61.239 93.189.61.240 93.189.61.241 93.189.61.242
RPAFproxy_ips 93.189.61.243 93.189.61.244 93.189.61.245 93.189.61.246
RPAFproxy_ips 93.189.61.247 93.189.61.248 93.189.61.249 93.189.61.250 93.189.61.251
RPAFproxy_ips 93.189.61.252 93.189.61.253 93.189.61.254
RPAFproxy_ips 93.189.62.1 93.189.62.2 93.189.62.3 93.189.62.4
RPAFproxy_ips 93.189.62.5 93.189.62.6 93.189.62.7 93.189.62.8
RPAFproxy_ips 93.189.62.9 93.189.62.10 93.189.62.11 93.189.62.12
RPAFproxy_ips 93.189.62.13 93.189.62.14 93.189.62.15 93.189.62.16 93.189.62.17
RPAFproxy_ips 93.189.62.18 93.189.62.19 93.189.62.20 93.189.62.21
RPAFproxy_ips 93.189.62.22 93.189.62.23 93.189.62.24 93.189.62.25 93.189.62.26
RPAFproxy_ips 93.189.62.27 93.189.62.28 93.189.62.29 93.189.62.30
RPAFproxy_ips 93.189.62.31 93.189.62.32 93.189.62.33 93.189.62.34 93.189.62.35
RPAFproxy_ips 93.189.62.36 93.189.62.37 93.189.62.38 93.189.62.39
RPAFproxy_ips 93.189.62.40 93.189.62.41 93.189.62.42 93.189.62.43 93.189.62.44
RPAFproxy_ips 93.189.62.45 93.189.62.46 93.189.62.47 93.189.62.48
RPAFproxy_ips 93.189.62.49 93.189.62.50 93.189.62.51 93.189.62.52 93.189.62.53
RPAFproxy_ips 93.189.62.54 93.189.62.55 93.189.62.56 93.189.62.57
RPAFproxy_ips 93.189.62.58 93.189.62.59 93.189.62.60 93.189.62.61 93.189.62.62
RPAFproxy_ips 93.189.62.63 93.189.62.64 93.189.62.65 93.189.62.66
RPAFproxy_ips 93.189.62.67 93.189.62.68 93.189.62.69 93.189.62.70 93.189.62.71
RPAFproxy_ips 93.189.62.72 93.189.62.73 93.189.62.74 93.189.62.75
RPAFproxy_ips 93.189.62.76 93.189.62.77 93.189.62.78 93.189.62.79 93.189.62.80
RPAFproxy_ips 93.189.62.81 93.189.62.82 93.189.62.83 93.189.62.84
RPAFproxy_ips 93.189.62.85 93.189.62.86 93.189.62.87 93.189.62.88 93.189.62.89
RPAFproxy_ips 93.189.62.90 93.189.62.91 93.189.62.92 93.189.62.93
RPAFproxy_ips 93.189.62.94 93.189.62.95 93.189.62.96 93.189.62.97 93.189.62.98
RPAFproxy_ips 93.189.62.99 93.189.62.100 93.189.62.101 93.189.62.102
RPAFproxy_ips 93.189.62.103 93.189.62.104 93.189.62.105 93.189.62.106 93.189.62.107
RPAFproxy_ips 93.189.62.108 93.189.62.109 93.189.62.110 93.189.62.111
RPAFproxy_ips 93.189.62.112 93.189.62.113 93.189.62.114 93.189.62.115 93.189.62.116
RPAFproxy_ips 93.189.62.117 93.189.62.118 93.189.62.119 93.189.62.120
RPAFproxy_ips 93.189.62.121 93.189.62.122 93.189.62.123 93.189.62.124 93.189.62.125
RPAFproxy_ips 93.189.62.126 93.189.62.127 93.189.62.128 93.189.62.129
RPAFproxy_ips 93.189.62.130 93.189.62.131 93.189.62.132 93.189.62.133 93.189.62.134
RPAFproxy_ips 93.189.62.135 93.189.62.136 93.189.62.137 93.189.62.138
RPAFproxy_ips 93.189.62.139 93.189.62.140 93.189.62.141 93.189.62.142 93.189.62.143
RPAFproxy_ips 93.189.62.144 93.189.62.145 93.189.62.146 93.189.62.147
RPAFproxy_ips 93.189.62.148 93.189.62.149 93.189.62.150 93.189.62.151 93.189.62.152
RPAFproxy_ips 93.189.62.153 93.189.62.154 93.189.62.155 93.189.62.156
RPAFproxy_ips 93.189.62.157 93.189.62.158 93.189.62.159 93.189.62.160 93.189.62.161
RPAFproxy_ips 93.189.62.162 93.189.62.163 93.189.62.164 93.189.62.165
RPAFproxy_ips 93.189.62.166 93.189.62.167 93.189.62.168 93.189.62.169 93.189.62.170
RPAFproxy_ips 93.189.62.171 93.189.62.172 93.189.62.173 93.189.62.174
RPAFproxy_ips 93.189.62.175 93.189.62.176 93.189.62.177 93.189.62.178 93.189.62.179
RPAFproxy_ips 93.189.62.180 93.189.62.181 93.189.62.182 93.189.62.183
RPAFproxy_ips 93.189.62.184 93.189.62.185 93.189.62.186 93.189.62.187 93.189.62.188
RPAFproxy_ips 93.189.62.189 93.189.62.190 93.189.62.191 93.189.62.192
RPAFproxy_ips 93.189.62.193 93.189.62.194 93.189.62.195 93.189.62.196 93.189.62.197
RPAFproxy_ips 93.189.62.198 93.189.62.199 93.189.62.200 93.189.62.201
RPAFproxy_ips 93.189.62.202 93.189.62.203 93.189.62.204 93.189.62.205 93.189.62.206
RPAFproxy_ips 93.189.62.207 93.189.62.208 93.189.62.209 93.189.62.210
RPAFproxy_ips 93.189.62.211 93.189.62.212 93.189.62.213 93.189.62.214 93.189.62.215
RPAFproxy_ips 93.189.62.216 93.189.62.217 93.189.62.218 93.189.62.219
RPAFproxy_ips 93.189.62.220 93.189.62.221 93.189.62.222 93.189.62.223 93.189.62.224
RPAFproxy_ips 93.189.62.225 93.189.62.226 93.189.62.227 93.189.62.228
RPAFproxy_ips 93.189.62.229 93.189.62.230 93.189.62.231 93.189.62.232 93.189.62.233
RPAFproxy_ips 93.189.62.234 93.189.62.235 93.189.62.236 93.189.62.237
RPAFproxy_ips 93.189.62.238 93.189.62.239 93.189.62.240 93.189.62.241 93.189.62.242
RPAFproxy_ips 93.189.62.243 93.189.62.244 93.189.62.245 93.189.62.246
RPAFproxy_ips 93.189.62.247 93.189.62.248 93.189.62.249 93.189.62.250 93.189.62.251
RPAFproxy_ips 93.189.62.252 93.189.62.253 93.189.62.254
RPAFproxy_ips 93.189.63.1 93.189.63.2 93.189.63.3 93.189.63.4
RPAFproxy_ips 93.189.63.5 93.189.63.6 93.189.63.7 93.189.63.8
RPAFproxy_ips 93.189.63.9 93.189.63.10 93.189.63.11 93.189.63.12
RPAFproxy_ips 93.189.63.13 93.189.63.14 93.189.63.15 93.189.63.16 93.189.63.17
RPAFproxy_ips 93.189.63.18 93.189.63.19 93.189.63.20 93.189.63.21
RPAFproxy_ips 93.189.63.22 93.189.63.23 93.189.63.24 93.189.63.25 93.189.63.26
RPAFproxy_ips 93.189.63.27 93.189.63.28 93.189.63.29 93.189.63.30
RPAFproxy_ips 93.189.63.31 93.189.63.32 93.189.63.33 93.189.63.34 93.189.63.35
RPAFproxy_ips 93.189.63.36 93.189.63.37 93.189.63.38 93.189.63.39
RPAFproxy_ips 93.189.63.40 93.189.63.41 93.189.63.42 93.189.63.43 93.189.63.44
RPAFproxy_ips 93.189.63.45 93.189.63.46 93.189.63.47 93.189.63.48
RPAFproxy_ips 93.189.63.49 93.189.63.50 93.189.63.51 93.189.63.52 93.189.63.53
RPAFproxy_ips 93.189.63.54 93.189.63.55 93.189.63.56 93.189.63.57
RPAFproxy_ips 93.189.63.58 93.189.63.59 93.189.63.60 93.189.63.61 93.189.63.62
RPAFproxy_ips 93.189.63.63 93.189.63.64 93.189.63.65 93.189.63.66
RPAFproxy_ips 93.189.63.67 93.189.63.68 93.189.63.69 93.189.63.70 93.189.63.71
RPAFproxy_ips 93.189.63.72 93.189.63.73 93.189.63.74 93.189.63.75
RPAFproxy_ips 93.189.63.76 93.189.63.77 93.189.63.78 93.189.63.79 93.189.63.80
RPAFproxy_ips 93.189.63.81 93.189.63.82 93.189.63.83 93.189.63.84
RPAFproxy_ips 93.189.63.85 93.189.63.86 93.189.63.87 93.189.63.88 93.189.63.89
RPAFproxy_ips 93.189.63.90 93.189.63.91 93.189.63.92 93.189.63.93
RPAFproxy_ips 93.189.63.94 93.189.63.95 93.189.63.96 93.189.63.97 93.189.63.98
RPAFproxy_ips 93.189.63.99 93.189.63.100 93.189.63.101 93.189.63.102
RPAFproxy_ips 93.189.63.103 93.189.63.104 93.189.63.105 93.189.63.106 93.189.63.107
RPAFproxy_ips 93.189.63.108 93.189.63.109 93.189.63.110 93.189.63.111
RPAFproxy_ips 93.189.63.112 93.189.63.113 93.189.63.114 93.189.63.115 93.189.63.116
RPAFproxy_ips 93.189.63.117 93.189.63.118 93.189.63.119 93.189.63.120
RPAFproxy_ips 93.189.63.121 93.189.63.122 93.189.63.123 93.189.63.124 93.189.63.125
RPAFproxy_ips 93.189.63.126 93.189.63.127 93.189.63.128 93.189.63.129
RPAFproxy_ips 93.189.63.130 93.189.63.131 93.189.63.132 93.189.63.133 93.189.63.134
RPAFproxy_ips 93.189.63.135 93.189.63.136 93.189.63.137 93.189.63.138
RPAFproxy_ips 93.189.63.139 93.189.63.140 93.189.63.141 93.189.63.142 93.189.63.143
RPAFproxy_ips 93.189.63.144 93.189.63.145 93.189.63.146 93.189.63.147
RPAFproxy_ips 93.189.63.148 93.189.63.149 93.189.63.150 93.189.63.151 93.189.63.152
RPAFproxy_ips 93.189.63.153 93.189.63.154 93.189.63.155 93.189.63.156
RPAFproxy_ips 93.189.63.157 93.189.63.158 93.189.63.159 93.189.63.160 93.189.63.161
RPAFproxy_ips 93.189.63.162 93.189.63.163 93.189.63.164 93.189.63.165
RPAFproxy_ips 93.189.63.166 93.189.63.167 93.189.63.168 93.189.63.169 93.189.63.170
RPAFproxy_ips 93.189.63.171 93.189.63.172 93.189.63.173 93.189.63.174
RPAFproxy_ips 93.189.63.175 93.189.63.176 93.189.63.177 93.189.63.178 93.189.63.179
RPAFproxy_ips 93.189.63.180 93.189.63.181 93.189.63.182 93.189.63.183
RPAFproxy_ips 93.189.63.184 93.189.63.185 93.189.63.186 93.189.63.187 93.189.63.188
RPAFproxy_ips 93.189.63.189 93.189.63.190 93.189.63.191 93.189.63.192
RPAFproxy_ips 93.189.63.193 93.189.63.194 93.189.63.195 93.189.63.196 93.189.63.197
RPAFproxy_ips 93.189.63.198 93.189.63.199 93.189.63.200 93.189.63.201
RPAFproxy_ips 93.189.63.202 93.189.63.203 93.189.63.204 93.189.63.205 93.189.63.206
RPAFproxy_ips 93.189.63.207 93.189.63.208 93.189.63.209 93.189.63.210
RPAFproxy_ips 93.189.63.211 93.189.63.212 93.189.63.213 93.189.63.214 93.189.63.215
RPAFproxy_ips 93.189.63.216 93.189.63.217 93.189.63.218 93.189.63.219
RPAFproxy_ips 93.189.63.220 93.189.63.221 93.189.63.222 93.189.63.223 93.189.63.224
RPAFproxy_ips 93.189.63.225 93.189.63.226 93.189.63.227 93.189.63.228
RPAFproxy_ips 93.189.63.229 93.189.63.230 93.189.63.231 93.189.63.232 93.189.63.233
RPAFproxy_ips 93.189.63.234 93.189.63.235 93.189.63.236 93.189.63.237
RPAFproxy_ips 93.189.63.238 93.189.63.239 93.189.63.240 93.189.63.241 93.189.63.242
RPAFproxy_ips 93.189.63.243 93.189.63.244 93.189.63.245 93.189.63.246
RPAFproxy_ips 93.189.63.247 93.189.63.248 93.189.63.249 93.189.63.250 93.189.63.251
RPAFproxy_ips 93.189.63.252 93.189.63.253 93.189.63.254
RPAFheader X-Real-Ip
 - перезапустить Web-сервер apache.

Настройки Nginx:

- установить и включить модуль ngx_http_realip_module (параметр при сборке - --with-http_realip_module)

- сконфигурировать модуль ngx_http_realip_module, добавив строчки:

   set_real_ip_from 93.189.60.0/22;
   real_ip_header     X-Real-IP; 

в конфигурационный файл nginx сразу после http {

- перезапустить Web-сервер nginx.

Блокировка IP сервера

При необходимости (в случае если атака направлена непосредственно на IP-адрес сервера) заблокировать доступ к web-серверу со всех адресов, кроме адресов сервиса защиты от DDoS

Настройки для Linux

iptables -A INPUT -p tcp -s 93.189.60.0/22 --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP

Настройки для FreeBSD

ipfw add allow tcp from 93.189.60.0/22 to me 80
ipfw add reset tcp from any to me 80

Перед тем, как отключить услугу

P.S. Когда атака на Ваш сайт прекратится и защита от DDoS станет не нужна, не забудьте перед отключением услуги направить А-запись вашего домена назад на IP-адрес вашего сервера, иначе защищаемый сайт станет недоступным для посетителей.

Личные инструменты
Пространства имён

Варианты
Действия
Навигация
Инструменты

Заметили ошибку?

Выделите ее и нажмите CTRL+ENTER