freebsd router

Проблемы установки, настройки и работы Правильной Операционной Системы

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

freebsd router

Непрочитанное сообщение Toxa » 2008-07-29 17:41:37

Здравствуйте!Есть шлюз на фре 6.2(nat,ipfw), который работает уже не первый год нормально!Но вдруг нарисовалась проблема,правда не могу понять откуда ноги растут... :cf: Нет на внутренней сетевухе есть,http доступ извне есть,вот токо по ssh и ftp не могу достучаться...Мало того он не пингуется и сам ничего пингануть не может...Недавно ставил sshit,все нормально работало!думал,мож он,но убил его и ничего не изменилось.правда тут еще в логах вылезало,что типа кто-то левый юзает его ip,его я тож рубанул!подскажите пожалста куда копать?!?

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
zingel
beastie
Сообщения: 6204
Зарегистрирован: 2007-10-30 3:56:49
Откуда: Moscow
Контактная информация:

Re: freebsd router

Непрочитанное сообщение zingel » 2008-07-29 17:42:48

Код: Выделить всё

/etc/netstart
Z301171463546 - можно пожертвовать мне денег

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-29 17:48:32

не помогает.говорит,что все уж пашет.

Аватара пользователя
zingel
beastie
Сообщения: 6204
Зарегистрирован: 2007-10-30 3:56:49
Откуда: Moscow
Контактная информация:

Re: freebsd router

Непрочитанное сообщение zingel » 2008-07-29 18:40:47

Гонит, оно перезагружает все сетевые сервисы, в любом случае, нужно смотреть логи и сюда их скопипастить.
Z301171463546 - можно пожертвовать мне денег

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-29 18:50:54

Код: Выделить всё

Jul 29 19:45:05 mydomain routed[309]: sendto(vr0, 224.0.0.2): Permission denied

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-29 19:03:41

причем vr0-это неиспользуемая сетевуха,если к ней подключить кабель,то в логах ничего и нет..

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-29 19:22:01

При перезагрузке сервака пишет в лог вот чего:

Код: Выделить всё

mydomain kernel: m 192.168.140.2 to any via rl0
mydomain savecore: no dumps found
где rl0-это внешняя сетевуха.

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-29 19:25:47

192.168.140.2-это ip в локалке, причем на нем ничего не висит(он просто как резервный).

Аватара пользователя
ProFTP
подполковник
Сообщения: 3388
Зарегистрирован: 2008-04-13 1:50:04
Откуда: %&й
Контактная информация:

Re: freebsd router

Непрочитанное сообщение ProFTP » 2008-07-29 21:56:35

не чего не понтяно
Pеrl FAQ
perl -e 'print join"",map $$_[rand@$_],([0..9,'a'..'z','A'..'Z'])x30'
ИзображениеИзображение

Аватара пользователя
freak
сержант
Сообщения: 183
Зарегистрирован: 2008-07-16 9:30:18
Откуда: UA
Контактная информация:

Re: freebsd router

Непрочитанное сообщение freak » 2008-07-29 22:18:52

тоже нифига не вкурил)) куда чего ходит, где какие интерфейсы)) какие правила и т.д. :st:
тоха, набросай сначала в блокноте вопрос ;-)
...no lords, no gods, no masters...

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: freebsd router

Непрочитанное сообщение paradox » 2008-07-29 22:32:30

))сразу виндно кто какой админ
вот zingel сразу все понял

Аватара пользователя
zingel
beastie
Сообщения: 6204
Зарегистрирован: 2007-10-30 3:56:49
Откуда: Moscow
Контактная информация:

Re: freebsd router

Непрочитанное сообщение zingel » 2008-07-30 21:40:45

Код: Выделить всё

Jul 29 19:45:05 mydomain routed[309]: sendto(vr0, 224.0.0.2): Permission denied
из под рута надо делать /etc/netstart, едрёна кочерыга =)
Z301171463546 - можно пожертвовать мне денег

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35266
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: freebsd router

Непрочитанное сообщение Alex Keda » 2008-07-30 23:34:04

не факт.
незнаю как щас но на 4.11 ругалось также когда файрволлом пакетики были запрещены
Убей их всех! Бог потом рассортирует...

Аватара пользователя
zingel
beastie
Сообщения: 6204
Зарегистрирован: 2007-10-30 3:56:49
Откуда: Moscow
Контактная информация:

Re: freebsd router

Непрочитанное сообщение zingel » 2008-07-30 23:37:22

так оно и сейчас так ругается, просто если правила динамические они должны сброситься...
Z301171463546 - можно пожертвовать мне денег

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-31 10:16:58

дык из под рута все и делал...

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-31 16:29:59

Вот firewall.conf

Код: Выделить всё

add deny ip from table(0) to me 22 via rl0
add 1 divert 8668 ip from 192.168.100.1 to any via rl0
add 2 divert 8668 ip from 192.168.100.2 to any via rl0
add 3 divert 8668 ip from 192.168.100.3 to any via rl0
add 4 divert 8668 ip from 192.168.100.4 to any via rl0
add 5 divert 8668 ip from 192.168.100.5 to any via rl0
add 6 divert 8668 ip from 192.168.100.6 to any via rl0
add 7 divert 8668 ip from 192.168.100.7 to any via rl0
add 8 divert 8668 ip from 192.168.100.8 to any via rl0
add 9 divert 8668 ip from 192.168.100.9 to any via rl0
add 10 divert 8668 ip from 192.168.100.10 to any via rl0
add 11 divert 8668 ip from 192.168.100.11 to any via rl0
add 12 divert 8668 ip from 192.168.100.12 to any via rl0
add 13 divert 8668 ip from 192.168.100.13 to any via rl0
add 14 divert 8668 ip from 192.168.100.14 to any via rl0
add 15 divert 8668 ip from 192.168.100.15 to any via rl0
add 16 divert 8668 ip from 192.168.100.16 to any via rl0
add 17 divert 8668 ip from 192.168.100.17 to any via rl0
add 18 divert 8668 ip from 192.168.100.18 to any via rl0
add 19 divert 8668 ip from 192.168.100.19 to any via rl0
add 20 divert 8668 ip from 192.168.100.20 to any via rl0
add 21 divert 8668 ip from 192.168.100.21 to any via rl0
add 22 divert 8668 ip from 192.168.100.22 to any via rl0
add 23 divert 8668 ip from 192.168.100.23 to any via rl0
add 24 divert 8668 ip from 192.168.100.24 to any via rl0
add 25 divert 8668 ip from 192.168.100.25 to any via rl0

add 26 divert 8668 ip from 192.168.104.1 to any via rl0
add 27 divert 8668 ip from 192.168.104.2 to any via rl0
add 28 divert 8668 ip from 192.168.104.3 to any via rl0
add 29 divert 8668 ip from 192.168.104.4 to any via rl0
add 30 divert 8668 ip from 192.168.104.5 to any via rl0
add 31 divert 8668 ip from 192.168.104.6 to any via rl0
add 32 divert 8668 ip from 192.168.104.7 to any via rl0
add 33 divert 8668 ip from 192.168.104.8 to any via rl0
add 34 divert 8668 ip from 192.168.104.9 to any via rl0
add 35 divert 8668 ip from 192.168.104.10 to any via rl0
add 36 divert 8668 ip from 192.168.104.11 to any via rl0
add 37 divert 8668 ip from 192.168.104.12 to any via rl0
add 38 divert 8668 ip from 192.168.104.13 to any via rl0
add 39 divert 8668 ip from 192.168.104.14 to any via rl0
add 40 divert 8668 ip from 192.168.104.15 to any via rl0
add 41 divert 8668 ip from 192.168.104.16 to any via rl0
add 42 divert 8668 ip from 192.168.104.17 to any via rl0
add 43 divert 8668 ip from 192.168.104.18 to any via rl0
add 44 divert 8668 ip from 192.168.104.19 to any via rl0
add 45 divert 8668 ip from 192.168.104.20 to any via rl0
add 46 divert 8668 ip from 192.168.104.21 to any via rl0
add 47 divert 8668 ip from 192.168.104.22 to any via rl0
add 48 divert 8668 ip from 192.168.104.23 to any via rl0
add 49 divert 8668 ip from 192.168.104.24 to any via rl0
add 50 divert 8668 ip from 192.168.104.25 to any via rl0

add 51 divert 8668 ip from 192.168.108.1 to any via rl0
add 52 divert 8668 ip from 192.168.108.2 to any via rl0
add 53 divert 8668 ip from 192.168.108.3 to any via rl0
add 54 divert 8668 ip from 192.168.108.4 to any via rl0
add 55 divert 8668 ip from 192.168.108.5 to any via rl0
add 56 divert 8668 ip from 192.168.108.6 to any via rl0
add 57 divert 8668 ip from 192.168.108.7 to any via rl0
add 58 divert 8668 ip from 192.168.108.8 to any via rl0
add 59 divert 8668 ip from 192.168.108.9 to any via rl0
add 60 divert 8668 ip from 192.168.108.10 to any via rl0
add 61 divert 8668 ip from 192.168.108.11 to any via rl0
add 62 divert 8668 ip from 192.168.108.12 to any via rl0
add 63 divert 8668 ip from 192.168.108.13 to any via rl0
add 64 divert 8668 ip from 192.168.108.14 to any via rl0
add 65 divert 8668 ip from 192.168.108.15 to any via rl0
add 66 divert 8668 ip from 192.168.108.16 to any via rl0
add 67 divert 8668 ip from 192.168.108.17 to any via rl0
add 68 divert 8668 ip from 192.168.108.18 to any via rl0
add 69 divert 8668 ip from 192.168.108.19 to any via rl0
add 70 divert 8668 ip from 192.168.108.20 to any via rl0
add 71 divert 8668 ip from 192.168.108.21 to any via rl0
add 72 divert 8668 ip from 192.168.108.22 to any via rl0
add 73 divert 8668 ip from 192.168.108.23 to any via rl0
add 74 divert 8668 ip from 192.168.108.24 to any via rl0
add 75 divert 8668 ip from 192.168.108.25 to any via rl0

add 76 divert 8668 ip from 192.168.112.1 to any via rl0
add 77 divert 8668 ip from 192.168.112.2 to any via rl0
add 78 divert 8668 ip from 192.168.112.3 to any via rl0
add 79 divert 8668 ip from 192.168.112.4 to any via rl0
add 80 divert 8668 ip from 192.168.112.5 to any via rl0
add 81 divert 8668 ip from 192.168.112.6 to any via rl0
add 82 divert 8668 ip from 192.168.112.7 to any via rl0
add 83 divert 8668 ip from 192.168.112.8 to any via rl0
add 84 divert 8668 ip from 192.168.112.9 to any via rl0
add 85 divert 8668 ip from 192.168.112.10 to any via rl0
add 86 divert 8668 ip from 192.168.112.11 to any via rl0
add 87 divert 8668 ip from 192.168.112.12 to any via rl0
add 88 divert 8668 ip from 192.168.112.13 to any via rl0
add 89 divert 8668 ip from 192.168.112.14 to any via rl0
add 90 divert 8668 ip from 192.168.112.15 to any via rl0
add 91 divert 8668 ip from 192.168.112.16 to any via rl0
add 92 divert 8668 ip from 192.168.112.17 to any via rl0
add 93 divert 8668 ip from 192.168.112.18 to any via rl0
add 94 divert 8668 ip from 192.168.112.19 to any via rl0
add 95 divert 8668 ip from 192.168.112.20 to any via rl0
add 96 divert 8668 ip from 192.168.112.21 to any via rl0
add 97 divert 8668 ip from 192.168.112.22 to any via rl0
add 98 divert 8668 ip from 192.168.112.23 to any via rl0
add 99 divert 8668 ip from 192.168.112.24 to any via rl0
add 100 divert 8668 ip from 192.168.112.25 to any via rl0

add 101 divert 8668 ip from 192.168.116.1 to any via rl0
add 102 divert 8668 ip from 192.168.116.2 to any via rl0
add 103 divert 8668 ip from 192.168.116.3 to any via rl0
add 104 divert 8668 ip from 192.168.116.4 to any via rl0
add 105 divert 8668 ip from 192.168.116.5 to any via rl0
add 106 divert 8668 ip from 192.168.116.6 to any via rl0
add 107 divert 8668 ip from 192.168.116.7 to any via rl0
add 108 divert 8668 ip from 192.168.116.8 to any via rl0
add 109 divert 8668 ip from 192.168.116.9 to any via rl0
add 110 divert 8668 ip from 192.168.116.10 to any via rl0
add 111 divert 8668 ip from 192.168.116.11 to any via rl0
add 112 divert 8668 ip from 192.168.116.12 to any via rl0
add 113 divert 8668 ip from 192.168.116.13 to any via rl0
add 114 divert 8668 ip from 192.168.116.14 to any via rl0
add 115 divert 8668 ip from 192.168.116.15 to any via rl0
add 116 divert 8668 ip from 192.168.116.16 to any via rl0
add 117 divert 8668 ip from 192.168.116.17 to any via rl0
add 118 divert 8668 ip from 192.168.116.18 to any via rl0
add 119 divert 8668 ip from 192.168.116.19 to any via rl0
add 120 divert 8668 ip from 192.168.116.20 to any via rl0
add 121 divert 8668 ip from 192.168.116.21 to any via rl0
add 122 divert 8668 ip from 192.168.116.22 to any via rl0
add 123 divert 8668 ip from 192.168.116.23 to any via rl0
add 124 divert 8668 ip from 192.168.116.24 to any via rl0
add 125 divert 8668 ip from 192.168.116.25 to any via rl0

add 126 divert 8668 ip from 192.168.120.1 to any via rl0
add 127 divert 8668 ip from 192.168.120.2 to any via rl0
add 128 divert 8668 ip from 192.168.120.3 to any via rl0
add 129 divert 8668 ip from 192.168.120.4 to any via rl0
add 130 divert 8668 ip from 192.168.120.5 to any via rl0
add 131 divert 8668 ip from 192.168.120.6 to any via rl0
add 132 divert 8668 ip from 192.168.120.7 to any via rl0
add 133 divert 8668 ip from 192.168.120.8 to any via rl0
add 134 divert 8668 ip from 192.168.120.9 to any via rl0
add 135 divert 8668 ip from 192.168.120.10 to any via rl0
add 136 divert 8668 ip from 192.168.120.11 to any via rl0
add 137 divert 8668 ip from 192.168.120.12 to any via rl0
add 138 divert 8668 ip from 192.168.120.13 to any via rl0
add 139 divert 8668 ip from 192.168.120.14 to any via rl0
add 140 divert 8668 ip from 192.168.120.15 to any via rl0
add 141 divert 8668 ip from 192.168.120.16 to any via rl0
add 142 divert 8668 ip from 192.168.120.17 to any via rl0
add 143 divert 8668 ip from 192.168.120.18 to any via rl0
add 144 divert 8668 ip from 192.168.120.19 to any via rl0
add 145 divert 8668 ip from 192.168.120.20 to any via rl0
add 146 divert 8668 ip from 192.168.120.21 to any via rl0
add 147 divert 8668 ip from 192.168.120.22 to any via rl0
add 148 divert 8668 ip from 192.168.120.23 to any via rl0
add 149 divert 8668 ip from 192.168.120.24 to any via rl0
add 150 divert 8668 ip from 192.168.120.25 to any via rl0

add 151 divert 8668 ip from 192.168.124.1 to any via rl0
add 152 divert 8668 ip from 192.168.124.2 to any via rl0
add 153 divert 8668 ip from 192.168.124.3 to any via rl0
add 154 divert 8668 ip from 192.168.124.4 to any via rl0
add 155 divert 8668 ip from 192.168.124.5 to any via rl0
add 156 divert 8668 ip from 192.168.124.6 to any via rl0
add 157 divert 8668 ip from 192.168.124.7 to any via rl0
add 158 divert 8668 ip from 192.168.124.8 to any via rl0
add 159 divert 8668 ip from 192.168.124.9 to any via rl0
add 160 divert 8668 ip from 192.168.124.10 to any via rl0
add 161 divert 8668 ip from 192.168.124.11 to any via rl0
add 162 divert 8668 ip from 192.168.124.12 to any via rl0
add 163 divert 8668 ip from 192.168.124.13 to any via rl0
add 164 divert 8668 ip from 192.168.124.14 to any via rl0
add 165 divert 8668 ip from 192.168.124.15 to any via rl0
add 166 divert 8668 ip from 192.168.124.16 to any via rl0
add 167 divert 8668 ip from 192.168.124.17 to any via rl0
add 168 divert 8668 ip from 192.168.124.18 to any via rl0
add 169 divert 8668 ip from 192.168.124.19 to any via rl0
add 170 divert 8668 ip from 192.168.124.20 to any via rl0
add 171 divert 8668 ip from 192.168.124.21 to any via rl0
add 172 divert 8668 ip from 192.168.124.22 to any via rl0
add 173 divert 8668 ip from 192.168.124.23 to any via rl0
add 174 divert 8668 ip from 192.168.124.24 to any via rl0
add 175 divert 8668 ip from 192.168.124.25 to any via rl0

add 176 divert 8668 ip from 192.168.128.1 to any via rl0
add 177 divert 8668 ip from 192.168.128.2 to any via rl0
add 178 divert 8668 ip from 192.168.128.3 to any via rl0
add 179 divert 8668 ip from 192.168.128.4 to any via rl0
add 180 divert 8668 ip from 192.168.128.5 to any via rl0
add 181 divert 8668 ip from 192.168.128.6 to any via rl0
add 182 divert 8668 ip from 192.168.128.7 to any via rl0
add 183 divert 8668 ip from 192.168.128.8 to any via rl0
add 184 divert 8668 ip from 192.168.128.9 to any via rl0
add 185 divert 8668 ip from 192.168.128.10 to any via rl0
add 186 divert 8668 ip from 192.168.128.11 to any via rl0
add 187 divert 8668 ip from 192.168.128.12 to any via rl0
add 188 divert 8668 ip from 192.168.128.13 to any via rl0
add 189 divert 8668 ip from 192.168.128.14 to any via rl0
add 190 divert 8668 ip from 192.168.128.15 to any via rl0
add 191 divert 8668 ip from 192.168.128.16 to any via rl0
add 192 divert 8668 ip from 192.168.128.17 to any via rl0
add 193 divert 8668 ip from 192.168.128.18 to any via rl0
add 194 divert 8668 ip from 192.168.128.19 to any via rl0
add 195 divert 8668 ip from 192.168.128.20 to any via rl0
add 196 divert 8668 ip from 192.168.128.21 to any via rl0
add 197 divert 8668 ip from 192.168.128.22 to any via rl0
add 198 divert 8668 ip from 192.168.128.23 to any via rl0
add 199 divert 8668 ip from 192.168.128.24 to any via rl0
add 200 divert 8668 ip from 192.168.128.25 to any via rl0

add 201 divert 8668 ip from 192.168.132.1 to any via rl0
add 202 divert 8668 ip from 192.168.132.2 to any via rl0
add 203 divert 8668 ip from 192.168.132.3 to any via rl0
add 204 divert 8668 ip from 192.168.132.4 to any via rl0
add 205 divert 8668 ip from 192.168.132.5 to any via rl0
add 206 divert 8668 ip from 192.168.132.6 to any via rl0
add 207 divert 8668 ip from 192.168.132.7 to any via rl0
add 208 divert 8668 ip from 192.168.132.8 to any via rl0
add 209 divert 8668 ip from 192.168.132.9 to any via rl0
add 210 divert 8668 ip from 192.168.132.10 to any via rl0
add 211 divert 8668 ip from 192.168.132.11 to any via rl0
add 212 divert 8668 ip from 192.168.132.12 to any via rl0
add 213 divert 8668 ip from 192.168.132.13 to any via rl0
add 214 divert 8668 ip from 192.168.132.14 to any via rl0
add 215 divert 8668 ip from 192.168.132.15 to any via rl0
add 216 divert 8668 ip from 192.168.132.16 to any via rl0
add 217 divert 8668 ip from 192.168.132.17 to any via rl0
add 218 divert 8668 ip from 192.168.132.18 to any via rl0
add 219 divert 8668 ip from 192.168.132.19 to any via rl0
add 220 divert 8668 ip from 192.168.132.20 to any via rl0
add 221 divert 8668 ip from 192.168.132.21 to any via rl0
add 222 divert 8668 ip from 192.168.132.22 to any via rl0
add 223 divert 8668 ip from 192.168.132.23 to any via rl0
add 224 divert 8668 ip from 192.168.132.24 to any via rl0
add 225 divert 8668 ip from 192.168.132.25 to any via rl0

add 226 divert 8668 ip from 192.168.136.1 to any via rl0
add 227 divert 8668 ip from 192.168.136.2 to any via rl0
add 228 divert 8668 ip from 192.168.136.3 to any via rl0
add 229 divert 8668 ip from 192.168.136.4 to any via rl0
add 230 divert 8668 ip from 192.168.136.5 to any via rl0
add 231 divert 8668 ip from 192.168.136.6 to any via rl0
add 232 divert 8668 ip from 192.168.136.7 to any via rl0
add 233 divert 8668 ip from 192.168.136.8 to any via rl0
add 234 divert 8668 ip from 192.168.136.9 to any via rl0
add 235 divert 8668 ip from 192.168.136.10 to any via rl0
add 236 divert 8668 ip from 192.168.136.11 to any via rl0
add 237 divert 8668 ip from 192.168.136.12 to any via rl0
add 238 divert 8668 ip from 192.168.136.13 to any via rl0
add 239 divert 8668 ip from 192.168.136.14 to any via rl0
add 240 divert 8668 ip from 192.168.136.15 to any via rl0
add 241 divert 8668 ip from 192.168.136.16 to any via rl0
add 242 divert 8668 ip from 192.168.136.17 to any via rl0
add 243 divert 8668 ip from 192.168.136.18 to any via rl0
add 244 divert 8668 ip from 192.168.136.19 to any via rl0
add 245 divert 8668 ip from 192.168.136.20 to any via rl0
add 246 divert 8668 ip from 192.168.136.21 to any via rl0
add 247 divert 8668 ip from 192.168.136.22 to any via rl0
add 248 divert 8668 ip from 192.168.136.23 to any via rl0
add 249 divert 8668 ip from 192.168.136.24 to any via rl0
add 250 divert 8668 ip from 192.168.136.25 to any via rl0

add 251 divert 8668 ip from 192.168.140.1 to any via rl0
add 252 divert 8668 ip from 192.168.140.2 to any via rl0
add 253 divert 8668 ip from 192.168.140.3 to any via rl0
add 254 divert 8668 ip from 192.168.140.4 to any via rl0
add 255 divert 8668 ip from 192.168.140.5 to any via rl0
add 256 divert 8668 ip from 192.168.140.6 to any via rl0
add 257 divert 8668 ip from 192.168.140.7 to any via rl0
add 258 divert 8668 ip from 192.168.140.8 to any via rl0
add 259 divert 8668 ip from 192.168.140.9 to any via rl0
add 260 divert 8668 ip from 192.168.140.10 to any via rl0
add 261 divert 8668 ip from 192.168.140.11 to any via rl0
add 262 divert 8668 ip from 192.168.140.12 to any via rl0
add 263 divert 8668 ip from 192.168.140.13 to any via rl0
add 264 divert 8668 ip from 192.168.140.14 to any via rl0
add 265 divert 8668 ip from 192.168.140.15 to any via rl0
add 266 divert 8668 ip from 192.168.140.16 to any via rl0
add 267 divert 8668 ip from 192.168.140.17 to any via rl0
add 268 divert 8668 ip from 192.168.140.18 to any via rl0
add 269 divert 8668 ip from 192.168.140.19 to any via rl0
add 270 divert 8668 ip from 192.168.140.20 to any via rl0
add 271 divert 8668 ip from 192.168.140.21 to any via rl0
add 272 divert 8668 ip from 192.168.140.22 to any via rl0
add 273 divert 8668 ip from 192.168.140.23 to any via rl0
add 274 divert 8668 ip from 192.168.140.24 to any via rl0
add 275 divert 8668 ip from 192.168.140.25 to any via rl0

add 276 divert 8668 ip from 192.168.144.1 to any via rl0
add 277 divert 8668 ip from 192.168.144.2 to any via rl0
add 278 divert 8668 ip from 192.168.144.3 to any via rl0
add 279 divert 8668 ip from 192.168.144.4 to any via rl0
add 280 divert 8668 ip from 192.168.144.5 to any via rl0
add 281 divert 8668 ip from 192.168.144.6 to any via rl0
add 282 divert 8668 ip from 192.168.144.7 to any via rl0
add 283 divert 8668 ip from 192.168.144.8 to any via rl0
add 284 divert 8668 ip from 192.168.144.9 to any via rl0
add 285 divert 8668 ip from 192.168.144.10 to any via rl0
add 286 divert 8668 ip from 192.168.144.11 to any via rl0
add 287 divert 8668 ip from 192.168.144.12 to any via rl0
add 288 divert 8668 ip from 192.168.144.13 to any via rl0
add 289 divert 8668 ip from 192.168.144.14 to any via rl0
add 290 divert 8668 ip from 192.168.144.15 to any via rl0
add 291 divert 8668 ip from 192.168.144.16 to any via rl0
add 292 divert 8668 ip from 192.168.144.17 to any via rl0
add 293 divert 8668 ip from 192.168.144.18 to any via rl0
add 294 divert 8668 ip from 192.168.144.19 to any via rl0
add 295 divert 8668 ip from 192.168.144.20 to any via rl0
add 296 divert 8668 ip from 192.168.144.21 to any via rl0
add 297 divert 8668 ip from 192.168.144.22 to any via rl0
add 298 divert 8668 ip from 192.168.144.23 to any via rl0
add 299 divert 8668 ip from 192.168.144.24 to any via rl0
add 300 divert 8668 ip from 192.168.144.25 to any via rl0

#add 301 divert 8668 ip from 192.168.148.1 to any via rl0
#add 302 divert 8668 ip from 192.168.148.2 to any via rl0
#add 303 divert 8668 ip from 192.168.148.3 to any via rl0
#add 304 divert 8668 ip from 192.168.148.4 to any via rl0
#add 305 divert 8668 ip from 192.168.148.5 to any via rl0
#add 306 divert 8668 ip from 192.168.148.6 to any via rl0
#add 307 divert 8668 ip from 192.168.148.7 to any via rl0
#add 308 divert 8668 ip from 192.168.148.8 to any via rl0
#add 309 divert 8668 ip from 192.168.148.9 to any via rl0
#add 310 divert 8668 ip from 192.168.148.10 to any via rl0
#add 311 divert 8668 ip from 192.168.148.11 to any via rl0
#add 312 divert 8668 ip from 192.168.148.12 to any via rl0
#add 313 divert 8668 ip from 192.168.148.13 to any via rl0
#add 314 divert 8668 ip from 192.168.148.14 to any via rl0
#add 315 divert 8668 ip from 192.168.148.15 to any via rl0
#add 316 divert 8668 ip from 192.168.148.16 to any via rl0
#add 317 divert 8668 ip from 192.168.148.17 to any via rl0
#add 318 divert 8668 ip from 192.168.148.18 to any via rl0
#add 319 divert 8668 ip from 192.168.148.19 to any via rl0
#add 320 divert 8668 ip from 192.168.148.20 to any via rl0
#add 321 divert 8668 ip from 192.168.148.21 to any via rl0
#add 322 divert 8668 ip from 192.168.148.22 to any via rl0
#add 323 divert 8668 ip from 192.168.148.23 to any via rl0
#add 324 divert 8668 ip from 192.168.148.24 to any via rl0
#add 325 divert 8668 ip from 192.168.148.25 to any via rl0

add 326 divert 8668 ip from 192.168.152.1 to any via rl0
add 327 divert 8668 ip from 192.168.152.2 to any via rl0
add 328 divert 8668 ip from 192.168.152.3 to any via rl0
add 329 divert 8668 ip from 192.168.152.4 to any via rl0
add 330 divert 8668 ip from 192.168.152.5 to any via rl0
add 331 divert 8668 ip from 192.168.152.6 to any via rl0
add 332 divert 8668 ip from 192.168.152.7 to any via rl0
add 333 divert 8668 ip from 192.168.152.8 to any via rl0
add 334 divert 8668 ip from 192.168.152.9 to any via rl0
add 335 divert 8668 ip from 192.168.152.10 to any via rl0
add 336 divert 8668 ip from 192.168.152.11 to any via rl0
add 337 divert 8668 ip from 192.168.152.12 to any via rl0
add 338 divert 8668 ip from 192.168.152.13 to any via rl0
add 339 divert 8668 ip from 192.168.152.14 to any via rl0
add 340 divert 8668 ip from 192.168.152.15 to any via rl0
add 341 divert 8668 ip from 192.168.152.16 to any via rl0
add 342 divert 8668 ip from 192.168.152.17 to any via rl0
add 343 divert 8668 ip from 192.168.152.18 to any via rl0
add 344 divert 8668 ip from 192.168.152.19 to any via rl0
add 345 divert 8668 ip from 192.168.152.20 to any via rl0
add 346 divert 8668 ip from 192.168.152.21 to any via rl0
add 347 divert 8668 ip from 192.168.152.22 to any via rl0
add 348 divert 8668 ip from 192.168.152.23 to any via rl0
add 349 divert 8668 ip from 192.168.152.24 to any via rl0
add 350 divert 8668 ip from 192.168.152.25 to any via rl0

add 351 divert 8668 ip from 192.168.156.1 to any via rl0
add 352 divert 8668 ip from 192.168.156.2 to any via rl0
add 353 divert 8668 ip from 192.168.156.3 to any via rl0
add 354 divert 8668 ip from 192.168.156.4 to any via rl0
add 355 divert 8668 ip from 192.168.156.5 to any via rl0
add 356 divert 8668 ip from 192.168.156.6 to any via rl0
add 357 divert 8668 ip from 192.168.156.7 to any via rl0
add 358 divert 8668 ip from 192.168.156.8 to any via rl0
add 359 divert 8668 ip from 192.168.156.9 to any via rl0
add 360 divert 8668 ip from 192.168.156.10 to any via rl0
add 361 divert 8668 ip from 192.168.156.11 to any via rl0
add 362 divert 8668 ip from 192.168.156.12 to any via rl0
add 363 divert 8668 ip from 192.168.156.13 to any via rl0
add 364 divert 8668 ip from 192.168.156.14 to any via rl0
add 365 divert 8668 ip from 192.168.156.15 to any via rl0
add 366 divert 8668 ip from 192.168.156.16 to any via rl0
add 367 divert 8668 ip from 192.168.156.17 to any via rl0
add 368 divert 8668 ip from 192.168.156.18 to any via rl0
add 369 divert 8668 ip from 192.168.156.19 to any via rl0
add 370 divert 8668 ip from 192.168.156.20 to any via rl0
add 371 divert 8668 ip from 192.168.156.21 to any via rl0
add 372 divert 8668 ip from 192.168.156.22 to any via rl0
add 373 divert 8668 ip from 192.168.156.23 to any via rl0
add 374 divert 8668 ip from 192.168.156.24 to any via rl0
add 375 divert 8668 ip from 192.168.156.25 to any via rl0

add 376 divert 8668 ip from 192.168.160.1 to any via rl0
add 377 divert 8668 ip from 192.168.160.2 to any via rl0
add 378 divert 8668 ip from 192.168.160.3 to any via rl0
add 379 divert 8668 ip from 192.168.160.4 to any via rl0
add 380 divert 8668 ip from 192.168.160.5 to any via rl0
add 381 divert 8668 ip from 192.168.160.6 to any via rl0
add 382 divert 8668 ip from 192.168.160.7 to any via rl0
add 383 divert 8668 ip from 192.168.160.8 to any via rl0
add 384 divert 8668 ip from 192.168.160.9 to any via rl0
add 385 divert 8668 ip from 192.168.160.10 to any via rl0
add 386 divert 8668 ip from 192.168.160.11 to any via rl0
add 387 divert 8668 ip from 192.168.160.12 to any via rl0
add 388 divert 8668 ip from 192.168.160.13 to any via rl0
add 389 divert 8668 ip from 192.168.160.14 to any via rl0
add 390 divert 8668 ip from 192.168.160.15 to any via rl0
add 391 divert 8668 ip from 192.168.160.16 to any via rl0
add 392 divert 8668 ip from 192.168.160.17 to any via rl0
add 393 divert 8668 ip from 192.168.160.18 to any via rl0
add 394 divert 8668 ip from 192.168.160.19 to any via rl0
add 395 divert 8668 ip from 192.168.160.20 to any via rl0
add 396 divert 8668 ip from 192.168.160.21 to any via rl0
add 397 divert 8668 ip from 192.168.160.22 to any via rl0
add 398 divert 8668 ip from 192.168.160.23 to any via rl0
add 399 divert 8668 ip from 192.168.160.24 to any via rl0
add 400 divert 8668 ip from 192.168.160.25 to any via rl0

add 401 divert 8668 ip from 192.168.164.1 to any via rl0
add 402 divert 8668 ip from 192.168.164.2 to any via rl0
add 403 divert 8668 ip from 192.168.164.3 to any via rl0
add 404 divert 8668 ip from 192.168.164.4 to any via rl0
add 405 divert 8668 ip from 192.168.164.5 to any via rl0
add 406 divert 8668 ip from 192.168.164.6 to any via rl0
add 407 divert 8668 ip from 192.168.164.7 to any via rl0
add 408 divert 8668 ip from 192.168.164.8 to any via rl0
add 409 divert 8668 ip from 192.168.164.9 to any via rl0
add 410 divert 8668 ip from 192.168.164.10 to any via rl0
add 411 divert 8668 ip from 192.168.164.11 to any via rl0
add 412 divert 8668 ip from 192.168.164.12 to any via rl0
add 413 divert 8668 ip from 192.168.164.13 to any via rl0
add 414 divert 8668 ip from 192.168.164.14 to any via rl0
add 415 divert 8668 ip from 192.168.164.15 to any via rl0
add 416 divert 8668 ip from 192.168.164.16 to any via rl0
add 417 divert 8668 ip from 192.168.164.17 to any via rl0
add 418 divert 8668 ip from 192.168.164.18 to any via rl0
add 419 divert 8668 ip from 192.168.164.19 to any via rl0
add 420 divert 8668 ip from 192.168.164.20 to any via rl0
add 421 divert 8668 ip from 192.168.164.21 to any via rl0
add 422 divert 8668 ip from 192.168.164.22 to any via rl0
add 423 divert 8668 ip from 192.168.164.23 to any via rl0
add 424 divert 8668 ip from 192.168.164.24 to any via rl0
add 425 divert 8668 ip from 192.168.164.25 to any via rl0

add 426 divert 8668 ip from 192.168.168.1 to any via rl0
add 427 divert 8668 ip from 192.168.168.2 to any via rl0
add 428 divert 8668 ip from 192.168.168.3 to any via rl0
add 429 divert 8668 ip from 192.168.168.4 to any via rl0
add 430 divert 8668 ip from 192.168.168.5 to any via rl0
add 431 divert 8668 ip from 192.168.168.6 to any via rl0
add 432 divert 8668 ip from 192.168.168.7 to any via rl0
add 433 divert 8668 ip from 192.168.168.8 to any via rl0
add 434 divert 8668 ip from 192.168.168.9 to any via rl0
add 435 divert 8668 ip from 192.168.168.10 to any via rl0
add 436 divert 8668 ip from 192.168.168.11 to any via rl0
add 437 divert 8668 ip from 192.168.168.12 to any via rl0
add 438 divert 8668 ip from 192.168.168.13 to any via rl0
add 439 divert 8668 ip from 192.168.168.14 to any via rl0
add 440 divert 8668 ip from 192.168.168.15 to any via rl0
add 441 divert 8668 ip from 192.168.168.16 to any via rl0
add 442 divert 8668 ip from 192.168.168.17 to any via rl0
add 443 divert 8668 ip from 192.168.168.18 to any via rl0
add 444 divert 8668 ip from 192.168.168.19 to any via rl0
add 445 divert 8668 ip from 192.168.168.20 to any via rl0
add 446 divert 8668 ip from 192.168.168.21 to any via rl0
add 447 divert 8668 ip from 192.168.168.22 to any via rl0
add 448 divert 8668 ip from 192.168.168.23 to any via rl0
add 449 divert 8668 ip from 192.168.168.24 to any via rl0
add 450 divert 8668 ip from 192.168.168.25 to any via rl0

add 451 divert 8668 ip from 192.168.172.1 to any via rl0
add 452 divert 8668 ip from 192.168.172.2 to any via rl0
add 453 divert 8668 ip from 192.168.172.3 to any via rl0
add 454 divert 8668 ip from 192.168.172.4 to any via rl0
add 455 divert 8668 ip from 192.168.172.5 to any via rl0
add 456 divert 8668 ip from 192.168.172.6 to any via rl0
add 457 divert 8668 ip from 192.168.172.7 to any via rl0
add 458 divert 8668 ip from 192.168.172.8 to any via rl0
add 459 divert 8668 ip from 192.168.172.9 to any via rl0
add 460 divert 8668 ip from 192.168.172.10 to any via rl0
add 461 divert 8668 ip from 192.168.172.11 to any via rl0
add 462 divert 8668 ip from 192.168.172.12 to any via rl0
add 463 divert 8668 ip from 192.168.172.13 to any via rl0
add 464 divert 8668 ip from 192.168.172.14 to any via rl0
add 465 divert 8668 ip from 192.168.172.15 to any via rl0
add 466 divert 8668 ip from 192.168.172.16 to any via rl0
add 467 divert 8668 ip from 192.168.172.17 to any via rl0
add 468 divert 8668 ip from 192.168.172.18 to any via rl0
add 469 divert 8668 ip from 192.168.172.19 to any via rl0
add 470 divert 8668 ip from 192.168.172.20 to any via rl0
add 471 divert 8668 ip from 192.168.172.21 to any via rl0
add 472 divert 8668 ip from 192.168.172.22 to any via rl0
add 473 divert 8668 ip from 192.168.172.23 to any via rl0
add 474 divert 8668 ip from 192.168.172.24 to any via rl0
add 475 divert 8668 ip from 192.168.172.25 to any via rl0

add 476 divert 8668 ip from 192.168.176.1 to any via rl0
add 477 divert 8668 ip from 192.168.176.2 to any via rl0
add 478 divert 8668 ip from 192.168.176.3 to any via rl0
add 479 divert 8668 ip from 192.168.176.4 to any via rl0
add 480 divert 8668 ip from 192.168.176.5 to any via rl0
add 481 divert 8668 ip from 192.168.176.6 to any via rl0
add 482 divert 8668 ip from 192.168.176.7 to any via rl0
add 483 divert 8668 ip from 192.168.176.8 to any via rl0
add 484 divert 8668 ip from 192.168.176.9 to any via rl0
add 485 divert 8668 ip from 192.168.176.10 to any via rl0
add 486 divert 8668 ip from 192.168.176.11 to any via rl0
add 487 divert 8668 ip from 192.168.176.12 to any via rl0
add 488 divert 8668 ip from 192.168.176.13 to any via rl0
add 489 divert 8668 ip from 192.168.176.14 to any via rl0
add 490 divert 8668 ip from 192.168.176.15 to any via rl0
add 491 divert 8668 ip from 192.168.176.16 to any via rl0
add 492 divert 8668 ip from 192.168.176.17 to any via rl0
add 493 divert 8668 ip from 192.168.176.18 to any via rl0
add 494 divert 8668 ip from 192.168.176.19 to any via rl0
add 495 divert 8668 ip from 192.168.176.20 to any via rl0
add 496 divert 8668 ip from 192.168.176.21 to any via rl0
add 497 divert 8668 ip from 192.168.176.22 to any via rl0
add 498 divert 8668 ip from 192.168.176.23 to any via rl0
add 499 divert 8668 ip from 192.168.176.24 to any via rl0
add 500 divert 8668 ip from 192.168.176.25 to any via rl0

add 501 divert 8668 ip from 192.168.180.1 to any via rl0
add 502 divert 8668 ip from 192.168.180.2 to any via rl0
add 503 divert 8668 ip from 192.168.180.3 to any via rl0
add 504 divert 8668 ip from 192.168.180.4 to any via rl0
add 505 divert 8668 ip from 192.168.180.5 to any via rl0
add 506 divert 8668 ip from 192.168.180.6 to any via rl0
add 507 divert 8668 ip from 192.168.180.7 to any via rl0
add 508 divert 8668 ip from 192.168.180.8 to any via rl0
add 509 divert 8668 ip from 192.168.180.9 to any via rl0
add 510 divert 8668 ip from 192.168.180.10 to any via rl0
add 511 divert 8668 ip from 192.168.180.11 to any via rl0
add 512 divert 8668 ip from 192.168.180.12 to any via rl0
add 513 divert 8668 ip from 192.168.180.13 to any via rl0
add 514 divert 8668 ip from 192.168.180.14 to any via rl0
add 515 divert 8668 ip from 192.168.180.15 to any via rl0
add 516 divert 8668 ip from 192.168.180.16 to any via rl0
add 517 divert 8668 ip from 192.168.180.17 to any via rl0
add 518 divert 8668 ip from 192.168.180.18 to any via rl0
add 519 divert 8668 ip from 192.168.180.19 to any via rl0
add 520 divert 8668 ip from 192.168.180.20 to any via rl0
add 521 divert 8668 ip from 192.168.180.21 to any via rl0
add 522 divert 8668 ip from 192.168.180.22 to any via rl0
add 523 divert 8668 ip from 192.168.180.23 to any via rl0
add 524 divert 8668 ip from 192.168.180.24 to any via rl0
add 525 divert 8668 ip from 192.168.180.25 to any via rl0

add 526 divert 8668 ip from 192.168.184.1 to any via rl0
add 527 divert 8668 ip from 192.168.184.2 to any via rl0
add 528 divert 8668 ip from 192.168.184.3 to any via rl0
add 529 divert 8668 ip from 192.168.184.4 to any via rl0
add 530 divert 8668 ip from 192.168.184.5 to any via rl0
add 531 divert 8668 ip from 192.168.184.6 to any via rl0
add 532 divert 8668 ip from 192.168.184.7 to any via rl0
add 533 divert 8668 ip from 192.168.184.8 to any via rl0
add 534 divert 8668 ip from 192.168.184.9 to any via rl0
add 535 divert 8668 ip from 192.168.184.10 to any via rl0
add 536 divert 8668 ip from 192.168.184.11 to any via rl0
add 537 divert 8668 ip from 192.168.184.12 to any via rl0
add 538 divert 8668 ip from 192.168.184.13 to any via rl0
add 539 divert 8668 ip from 192.168.184.14 to any via rl0
add 540 divert 8668 ip from 192.168.184.15 to any via rl0
add 541 divert 8668 ip from 192.168.184.16 to any via rl0
add 542 divert 8668 ip from 192.168.184.17 to any via rl0
add 543 divert 8668 ip from 192.168.184.18 to any via rl0
add 544 divert 8668 ip from 192.168.184.19 to any via rl0
add 545 divert 8668 ip from 192.168.184.20 to any via rl0
add 546 divert 8668 ip from 192.168.184.21 to any via rl0
add 547 divert 8668 ip from 192.168.184.22 to any via rl0
add 548 divert 8668 ip from 192.168.184.23 to any via rl0
add 549 divert 8668 ip from 192.168.184.24 to any via rl0
add 550 divert 8668 ip from 192.168.184.25 to any via rl0

add 551 divert 8668 ip from 192.168.188.1 to any via rl0
add 552 divert 8668 ip from 192.168.188.2 to any via rl0
add 553 divert 8668 ip from 192.168.188.3 to any via rl0
add 554 divert 8668 ip from 192.168.188.4 to any via rl0
add 555 divert 8668 ip from 192.168.188.5 to any via rl0
add 556 divert 8668 ip from 192.168.188.6 to any via rl0
add 557 divert 8668 ip from 192.168.188.7 to any via rl0
add 558 divert 8668 ip from 192.168.188.8 to any via rl0
add 559 divert 8668 ip from 192.168.188.9 to any via rl0
add 560 divert 8668 ip from 192.168.188.10 to any via rl0
add 561 divert 8668 ip from 192.168.188.11 to any via rl0
add 562 divert 8668 ip from 192.168.188.12 to any via rl0
add 563 divert 8668 ip from 192.168.188.13 to any via rl0
add 564 divert 8668 ip from 192.168.188.14 to any via rl0
add 565 divert 8668 ip from 192.168.188.15 to any via rl0
add 566 divert 8668 ip from 192.168.188.16 to any via rl0
add 567 divert 8668 ip from 192.168.188.17 to any via rl0
add 568 divert 8668 ip from 192.168.188.18 to any via rl0
add 569 divert 8668 ip from 192.168.188.19 to any via rl0
add 570 divert 8668 ip from 192.168.188.20 to any via rl0
add 571 divert 8668 ip from 192.168.188.21 to any via rl0
add 572 divert 8668 ip from 192.168.188.22 to any via rl0
add 573 divert 8668 ip from 192.168.188.23 to any via rl0
add 574 divert 8668 ip from 192.168.188.24 to any via rl0
add 575 divert 8668 ip from 192.168.188.25 to any via rl0

add 576 divert 8668 ip from 192.168.192.1 to any via rl0
add 577 divert 8668 ip from 192.168.192.2 to any via rl0
add 578 divert 8668 ip from 192.168.192.3 to any via rl0
add 579 divert 8668 ip from 192.168.192.4 to any via rl0
add 580 divert 8668 ip from 192.168.192.5 to any via rl0
add 581 divert 8668 ip from 192.168.192.6 to any via rl0
add 582 divert 8668 ip from 192.168.192.7 to any via rl0
add 583 divert 8668 ip from 192.168.192.8 to any via rl0
add 584 divert 8668 ip from 192.168.192.9 to any via rl0
add 585 divert 8668 ip from 192.168.192.10 to any via rl0
add 586 divert 8668 ip from 192.168.192.11 to any via rl0
add 587 divert 8668 ip from 192.168.192.12 to any via rl0
add 588 divert 8668 ip from 192.168.192.13 to any via rl0
add 589 divert 8668 ip from 192.168.192.14 to any via rl0
add 590 divert 8668 ip from 192.168.192.15 to any via rl0
add 591 divert 8668 ip from 192.168.192.16 to any via rl0
add 592 divert 8668 ip from 192.168.192.17 to any via rl0
add 593 divert 8668 ip from 192.168.192.18 to any via rl0
add 594 divert 8668 ip from 192.168.192.19 to any via rl0
add 595 divert 8668 ip from 192.168.192.20 to any via rl0
add 596 divert 8668 ip from 192.168.192.21 to any via rl0
add 597 divert 8668 ip from 192.168.192.22 to any via rl0
add 598 divert 8668 ip from 192.168.192.23 to any via rl0
add 599 divert 8668 ip from 192.168.192.24 to any via rl0
add 600 divert 8668 ip from 192.168.192.25 to any via rl0

add 601 divert 8668 ip from 192.168.196.1 to any via rl0
add 602 divert 8668 ip from 192.168.196.2 to any via rl0
add 603 divert 8668 ip from 192.168.196.3 to any via rl0
add 604 divert 8668 ip from 192.168.196.4 to any via rl0
add 605 divert 8668 ip from 192.168.196.5 to any via rl0
add 606 divert 8668 ip from 192.168.196.6 to any via rl0
add 607 divert 8668 ip from 192.168.196.7 to any via rl0
add 608 divert 8668 ip from 192.168.196.8 to any via rl0
add 609 divert 8668 ip from 192.168.196.9 to any via rl0
add 610 divert 8668 ip from 192.168.196.10 to any via rl0
add 611 divert 8668 ip from 192.168.196.11 to any via rl0
add 612 divert 8668 ip from 192.168.196.12 to any via rl0
add 613 divert 8668 ip from 192.168.196.13 to any via rl0
add 614 divert 8668 ip from 192.168.196.14 to any via rl0
add 615 divert 8668 ip from 192.168.196.15 to any via rl0
add 616 divert 8668 ip from 192.168.196.16 to any via rl0
add 617 divert 8668 ip from 192.168.196.17 to any via rl0
add 618 divert 8668 ip from 192.168.196.18 to any via rl0
add 619 divert 8668 ip from 192.168.196.19 to any via rl0
add 620 divert 8668 ip from 192.168.196.20 to any via rl0
add 621 divert 8668 ip from 192.168.196.21 to any via rl0
add 622 divert 8668 ip from 192.168.196.22 to any via rl0
add 623 divert 8668 ip from 192.168.196.23 to any via rl0
add 624 divert 8668 ip from 192.168.196.24 to any via rl0
add 625 divert 8668 ip from 192.168.196.25 to any via rl0

add 627 divert 8668 ip from 192.168.80.1 to any via rl0
add 628 divert 8668 ip from 192.168.80.2 to any via rl0
add 629 divert 8668 ip from 192.168.80.3 to any via rl0
add 630 divert 8668 ip from 192.168.80.4 to any via rl0
add 640 divert 8668 ip from 192.168.80.5 to any via rl0
add 641 divert 8668 ip from 192.168.80.6 to any via rl0
add 642 divert 8668 ip from 192.168.80.7 to any via rl0
add 643 divert 8668 ip from 192.168.80.8 to any via rl0
add 644 divert 8668 ip from 192.168.80.9 to any via rl0
add 645 divert 8668 ip from 192.168.80.10 to any via rl0
add 646 divert 8668 ip from 192.168.80.11 to any via rl0
add 647 divert 8668 ip from 192.168.80.12 to any via rl0
add 648 divert 8668 ip from 192.168.80.13 to any via rl0
add 649 divert 8668 ip from 192.168.80.14 to any via rl0
add 650 divert 8668 ip from 192.168.80.15 to any via rl0
add 651 divert 8668 ip from 192.168.80.16 to any via rl0
add 652 divert 8668 ip from 192.168.80.17 to any via rl0
add 653 divert 8668 ip from 192.168.80.18 to any via rl0
add 654 divert 8668 ip from 192.168.80.19 to any via rl0
add 655 divert 8668 ip from 192.168.80.20 to any via rl0
add 656 divert 8668 ip from 192.168.80.21 to any via rl0
add 657 divert 8668 ip from 192.168.80.22 to any via rl0
add 658 divert 8668 ip from 192.168.80.23 to any via rl0
add 659 divert 8668 ip from 192.168.80.24 to any via rl0
add 660 divert 8668 ip from 192.168.80.25 to any via rl0

add 661 divert 8668 ip from 192.168.200.1 to any via rl0 
add 662 divert 8668 ip from 192.168.200.2 to any via rl0 
add 663 divert 8668 ip from 192.168.200.3 to any via rl0 
add 664 divert 8668 ip from 192.168.200.4 to any via rl0 
add 665 divert 8668 ip from 192.168.200.5 to any via rl0 
add 666 divert 8668 ip from 192.168.200.6 to any via rl0 
add 667 divert 8668 ip from 192.168.200.7 to any via rl0 
add 668 divert 8668 ip from 192.168.200.8 to any via rl0 
add 669 divert 8668 ip from 192.168.200.9 to any via rl0 
add 670 divert 8668 ip from 192.168.200.10 to any via rl0 
add 671 divert 8668 ip from 192.168.200.11 to any via rl0 
add 672 divert 8668 ip from 192.168.200.12 to any via rl0 
add 673 divert 8668 ip from 192.168.200.13 to any via rl0 
add 674 divert 8668 ip from 192.168.200.14 to any via rl0 
add 675 divert 8668 ip from 192.168.200.15 to any via rl0 
add 676 divert 8668 ip from 192.168.200.16 to any via rl0 
add 677 divert 8668 ip from 192.168.200.17 to any via rl0 
add 678 divert 8668 ip from 192.168.200.18 to any via rl0 
add 679 divert 8668 ip from 192.168.200.19 to any via rl0 
add 680 divert 8668 ip from 192.168.200.20 to any via rl0 
add 681 divert 8668 ip from 192.168.200.21 to any via rl0 
add 682 divert 8668 ip from 192.168.200.22 to any via rl0 
add 683 divert 8668 ip from 192.168.200.23 to any via rl0 
add 684 divert 8668 ip from 192.168.200.24 to any via rl0 
add 685 divert 8668 ip from 192.168.200.25 to any via rl0 

add 686 divert 8668 ip from 192.168.204.1 to any via rl0 
add 687 divert 8668 ip from 192.168.204.2 to any via rl0 
add 688 divert 8668 ip from 192.168.204.3 to any via rl0 
add 689 divert 8668 ip from 192.168.204.4 to any via rl0 
add 690 divert 8668 ip from 192.168.204.5 to any via rl0 
add 691 divert 8668 ip from 192.168.204.6 to any via rl0 
add 692 divert 8668 ip from 192.168.204.7 to any via rl0 
add 693 divert 8668 ip from 192.168.204.8 to any via rl0 
add 694 divert 8668 ip from 192.168.204.9 to any via rl0 
add 695 divert 8668 ip from 192.168.204.10 to any via rl0 
add 696 divert 8668 ip from 192.168.204.11 to any via rl0 
add 697 divert 8668 ip from 192.168.204.12 to any via rl0 
add 698 divert 8668 ip from 192.168.204.13 to any via rl0 
add 699 divert 8668 ip from 192.168.204.14 to any via rl0 
add 700 divert 8668 ip from 192.168.204.15 to any via rl0 
add 701 divert 8668 ip from 192.168.204.16 to any via rl0 
add 702 divert 8668 ip from 192.168.204.17 to any via rl0 
add 703 divert 8668 ip from 192.168.204.18 to any via rl0 
add 704 divert 8668 ip from 192.168.204.19 to any via rl0 
add 705 divert 8668 ip from 192.168.204.20 to any via rl0 
add 706 divert 8668 ip from 192.168.204.21 to any via rl0 
add 707 divert 8668 ip from 192.168.204.22 to any via rl0 
add 708 divert 8668 ip from 192.168.204.23 to any via rl0 
add 709 divert 8668 ip from 192.168.204.24 to any via rl0 
add 710 divert 8668 ip from 192.168.204.25 to any via rl0 

add 711 divert 8668 ip from 192.168.208.1 to any via rl0 
add 712 divert 8668 ip from 192.168.208.2 to any via rl0 
add 713 divert 8668 ip from 192.168.208.3 to any via rl0 
add 714 divert 8668 ip from 192.168.208.4 to any via rl0 
add 715 divert 8668 ip from 192.168.208.5 to any via rl0 
add 716 divert 8668 ip from 192.168.208.6 to any via rl0 
add 717 divert 8668 ip from 192.168.208.7 to any via rl0 
add 718 divert 8668 ip from 192.168.208.8 to any via rl0 
add 719 divert 8668 ip from 192.168.208.9 to any via rl0 
add 720 divert 8668 ip from 192.168.208.10 to any via rl0 
add 721 divert 8668 ip from 192.168.208.11 to any via rl0 
add 722 divert 8668 ip from 192.168.208.12 to any via rl0 
add 723 divert 8668 ip from 192.168.208.13 to any via rl0 
add 724 divert 8668 ip from 192.168.208.14 to any via rl0 
add 725 divert 8668 ip from 192.168.208.15 to any via rl0 
add 726 divert 8668 ip from 192.168.208.16 to any via rl0 
add 727 divert 8668 ip from 192.168.208.17 to any via rl0 
add 728 divert 8668 ip from 192.168.208.18 to any via rl0 
add 729 divert 8668 ip from 192.168.208.19 to any via rl0 
add 730 divert 8668 ip from 192.168.208.20 to any via rl0 
add 731 divert 8668 ip from 192.168.208.21 to any via rl0 
add 732 divert 8668 ip from 192.168.208.22 to any via rl0 
add 733 divert 8668 ip from 192.168.208.23 to any via rl0 
add 734 divert 8668 ip from 192.168.208.24 to any via rl0 
add 735 divert 8668 ip from 192.168.208.25 to any via rl0 

add 736 divert 8668 ip from 192.168.212.1 to any via rl0 
add 737 divert 8668 ip from 192.168.212.2 to any via rl0 
add 738 divert 8668 ip from 192.168.212.3 to any via rl0 
add 739 divert 8668 ip from 192.168.212.4 to any via rl0 
add 740 divert 8668 ip from 192.168.212.5 to any via rl0 
add 741 divert 8668 ip from 192.168.212.6 to any via rl0 
add 742 divert 8668 ip from 192.168.212.7 to any via rl0 
add 743 divert 8668 ip from 192.168.212.8 to any via rl0 
add 744 divert 8668 ip from 192.168.212.9 to any via rl0 
add 745 divert 8668 ip from 192.168.212.10 to any via rl0 
add 746 divert 8668 ip from 192.168.212.11 to any via rl0 
add 747 divert 8668 ip from 192.168.212.12 to any via rl0 
add 748 divert 8668 ip from 192.168.212.13 to any via rl0 
add 749 divert 8668 ip from 192.168.212.14 to any via rl0 
add 750 divert 8668 ip from 192.168.212.15 to any via rl0 
add 751 divert 8668 ip from 192.168.212.16 to any via rl0 
add 752 divert 8668 ip from 192.168.212.17 to any via rl0 
add 753 divert 8668 ip from 192.168.212.18 to any via rl0 
add 754 divert 8668 ip from 192.168.212.19 to any via rl0 
add 755 divert 8668 ip from 192.168.212.20 to any via rl0 
add 756 divert 8668 ip from 192.168.212.21 to any via rl0 
add 757 divert 8668 ip from 192.168.212.22 to any via rl0 
add 758 divert 8668 ip from 192.168.212.23 to any via rl0 
add 759 divert 8668 ip from 192.168.212.24 to any via rl0 
add 760 divert 8668 ip from 192.168.212.25 to any via rl0 

add 761 divert 8668 ip from 192.168.216.1 to any via rl0 
add 762 divert 8668 ip from 192.168.216.2 to any via rl0 
add 763 divert 8668 ip from 192.168.216.3 to any via rl0 
add 764 divert 8668 ip from 192.168.216.4 to any via rl0 
add 765 divert 8668 ip from 192.168.216.5 to any via rl0 
add 766 divert 8668 ip from 192.168.216.6 to any via rl0 
add 767 divert 8668 ip from 192.168.216.7 to any via rl0 
add 768 divert 8668 ip from 192.168.216.8 to any via rl0 
add 769 divert 8668 ip from 192.168.216.9 to any via rl0 
add 770 divert 8668 ip from 192.168.216.10 to any via rl0 
add 771 divert 8668 ip from 192.168.216.11 to any via rl0 
add 772 divert 8668 ip from 192.168.216.12 to any via rl0 
add 773 divert 8668 ip from 192.168.216.13 to any via rl0 
add 774 divert 8668 ip from 192.168.216.14 to any via rl0 
add 775 divert 8668 ip from 192.168.216.15 to any via rl0 
add 776 divert 8668 ip from 192.168.216.16 to any via rl0 
add 777 divert 8668 ip from 192.168.216.17 to any via rl0 
add 778 divert 8668 ip from 192.168.216.18 to any via rl0 
add 779 divert 8668 ip from 192.168.216.19 to any via rl0 
add 780 divert 8668 ip from 192.168.216.20 to any via rl0 
add 781 divert 8668 ip from 192.168.216.21 to any via rl0 
add 782 divert 8668 ip from 192.168.216.22 to any via rl0 
add 783 divert 8668 ip from 192.168.216.23 to any via rl0 
add 784 divert 8668 ip from 192.168.216.24 to any via rl0 
add 785 divert 8668 ip from 192.168.216.25 to any via rl0 
add 828 divert 8668 ip from 10.5.5.2 to any via rl0
add 829 divert 8668 ip from 10.5.5.3 to any via rl0
add 830 divert 8668 ip from 10.5.5.4 to any via rl0
add 831 divert 8668 ip from 10.5.5.5 to any via rl0
add 832 divert 8668 ip from 10.5.5.6 to any via rl0
add 833 divert 8668 ip from 10.5.5.7 to any via rl0
add 834 divert 8668 ip from 10.5.5.8 to any via rl0
add 835 divert 8668 ip from 10.5.5.9 to any via rl0
add 836 divert 8668 ip from 10.5.5.10 to any via rl0
add 837 divert 8668 ip from 10.5.5.11 to any via rl0
add 838 divert 8668 ip from 10.5.5.12 to any via rl0
add 839 divert 8668 ip from 10.5.5.13 to any via rl0
add 840 divert 8668 ip from 10.5.5.14 to any via rl0
add 841 divert 8668 ip from 10.5.5.15 to any via rl0
add 842 divert 8668 ip from 10.5.5.16 to any via rl0
add 843 divert 8668 ip from 10.5.5.17 to any via rl0
add 844 divert 8668 ip from 10.5.5.18 to any via rl0
add 845 divert 8668 ip from 10.5.5.19 to any via rl0
add 846 divert 8668 ip from 10.5.5.20 to any via rl0
add 847 divert 8668 ip from 10.5.5.21 to any via rl0
add 848 divert 8668 ip from 10.5.5.22 to any via rl0
add 849 divert 8668 ip from 10.5.5.23 to any via rl0
add 850 divert 8668 ip from 10.5.5.24 to any via rl0
add 851 divert 8668 ip from 10.5.5.25 to any via rl0
add 852 divert 8668 ip from 10.5.5.26 to any via rl0
add 853 divert 8668 ip from 10.5.5.27 to any via rl0
add 854 divert 8668 ip from 10.5.5.28 to any via rl0
add 855 divert 8668 ip from 10.5.5.29 to any via rl0
add 856 divert 8668 ip from 10.5.5.30 to any via rl0

add divert 8668 ip from any to me via rl0
add allow ip from any to me
add allow ip from me to any

add allow ip from 10.5.5.254 to any
add allow ip from 10.5.5.1 to any
add allow ip from 10.5.5.2 to any
add allow ip from 10.5.5.3 to any
add allow ip from 10.5.5.4 to any
add allow ip from 10.5.5.5 to any
add allow ip from 10.5.5.6 to any
add allow ip from 10.5.5.7 to any
add allow ip from 10.5.5.8 to any
add allow ip from 10.5.5.9 to any
add allow ip from 10.5.5.10 to any
add allow ip from 10.5.5.11 to any
add allow ip from 10.5.5.12 to any
add allow ip from 10.5.5.13 to any
add allow ip from 10.5.5.14 to any
add allow ip from 10.5.5.15 to any
add allow ip from 10.5.5.16 to any
add allow ip from 10.5.5.17 to any
add allow ip from 10.5.5.18 to any
add allow ip from 10.5.5.19 to any
add allow ip from 10.5.5.20 to any
add allow ip from 10.5.5.21 to any
add allow ip from 10.5.5.22 to any
add allow ip from 10.5.5.23 to any
add allow ip from 10.5.5.24 to any
add allow ip from 10.5.5.25 to any
add allow ip from 10.5.5.26 to any
add allow ip from 10.5.5.27 to any
add allow ip from 10.5.5.28 to any
add allow ip from 10.5.5.29 to any
add allow ip from 10.5.5.30 to any

add deny tcp from 192.168.172.1 to any 25
add deny tcp from any to 192.168.172.1 25
add deny udp from 192.168.172.1 to any 25
add deny udp from any to 192.168.172.1 25

add 65534 allow ip from any to any

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-31 16:32:41

чего поменять/добавить?!подскажите пожалуйста!

Аватара пользователя
freak
сержант
Сообщения: 183
Зарегистрирован: 2008-07-16 9:30:18
Откуда: UA
Контактная информация:

Re: freebsd router

Непрочитанное сообщение freak » 2008-07-31 16:35:58

ппц. а диапазонами писать правила не пробовали?
...no lords, no gods, no masters...

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-31 16:46:24

дык это не я писал.как говорится: я пришел-так и было!а зачем трогать,если все работает?! :cf:
но суть-то не в том как написать,а в том,что написать!все раньше работало и так,а теперь выше изложенная проблема!

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: freebsd router

Непрочитанное сообщение paradox » 2008-07-31 17:02:09

скажи где этот сервер
и кто у него был админ
за^&^*&^*& на весь интернет

пипец

он бы еще все сети 10/ 172.16/ 192.168/ по айпишке туда зангнал
в диверт

вот же ш умааааааааа

неиначе общага какаято

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-31 17:14:00

спасибо за комментарии!но вот от этого ничего не меняется в моей проблеме(
может поможете хоть чуток?!

Аватара пользователя
dikens3
подполковник
Сообщения: 4856
Зарегистрирован: 2006-09-06 16:24:08
Откуда: Нижний Новгород
Контактная информация:

Re: freebsd router

Непрочитанное сообщение dikens3 » 2008-07-31 17:22:24

Если задача состоит в том, чтобы помочь решить проблему, то решается она исправлением файервола в рабочий (но небезопасный) вид.

Вот ваш ВЕСЬ фаервол.

Код: Выделить всё

add divert 8668 ip from any to any via rl0
Лучше установить FreeBSD, чем потратить 30 лет на Linux'ы и выяснить какой из них хуже.

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: freebsd router

Непрочитанное сообщение paradox » 2008-07-31 17:23:40

мой совет
выделите денек
и переставте систему с нуля
изучите что там делает этот сервер
и сделайте все правильно
тогда и глючит ничего не будет

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: freebsd router

Непрочитанное сообщение paradox » 2008-07-31 17:25:36

>dikens3
телепатируя
зачем там стоко дивертов
могу предположить что там какой &^*%&^% биллинг
который по правилам фаера считыавает счетчики

и сделав как ты говоришь
будет еще хуже)))

Toxa
рядовой
Сообщения: 49
Зарегистрирован: 2008-04-07 17:32:01

Re: freebsd router

Непрочитанное сообщение Toxa » 2008-07-31 17:34:55

поменял конфиг на

Код: Выделить всё

    add divert 8668 ip from any to any via rl0
    add allow ip from any to any
, сделал ipfw flush;ipfw -f /etc/newfirewall.conf
и ничего не поменялось(
а насчет переставить сервак с нуля-хотел,но пока времени нет(
чувствую скоро будет-не хотел,а придется!