Odp: IPFW
Vaclav.Ulik at cz.soluziona.com
Vaclav.Ulik at cz.soluziona.com
Wed Apr 13 10:06:17 CEST 2005
A co takhle pouzit 'ipfw table'
nejsem si jisty zdali jsou podporovany jen v IPFW2 ale mohlo by to byt o
neco lepsi reseni, zvlaste pak v cyklu.
ipfw table number add addr
s pozdravem V.
users-l-bounces at freebsd.cz wrote on 04/13/2005 09:24:13 AM:
> Zdravim vespolek,
>
> netusite nekdo, jestli se da nastavit delka listu (IP adres) v ipfw?
>
> pri spusteni prikazu
> add 1010 skipto 30000 all from any to 172.16.1.39,172.16.1.61,
> 172.16.1.252,172.16.1.253,172.16.1.20,111.197.159.221,172.16.1.1,
> 172.16.1.2,172.16.1.3,172.16.1.4,172.16.1.7,172.16.1.9,172.16.1.10,
> 172.16.1.11,172.16.1.12,172.16.1.13,172.16.1.14,172.16.1.15,
> 172.16.1.16,172.16.1.17,172.16.1.19,172.16.1.21,172.16.1.22,
> 172.16.1.23,172.16.1.24,172.16.1.25,172.16.1.26,172.16.1.27,
> 172.16.1.28,172.16.1.29,172.16.1.30,172.16.1.32,172.16.1.33,
> 172.16.1.35,172.16.1.36,172.16.1.37,172.16.1.38,172.16.1.40,
> 172.16.1.41,172.16.1.42,172.16.1.43,172.16.1.44,172.16.1.45,
> 172.16.1.46,172.16.1.50,172.16.1.150,172.16.1.18,172.16.1.31,
> 172.16.1.5,172.16.1.8,111.197.159.222,172.16.2.1,172.16.2.3,
> 172.16.2.5,172.16.2.6,172.16.2.7,172.16.2.8,172.16.2.9,172.16.2.10,
> 172.16.2.11,172.16.2.12,172.16.2.13,172.16.2.14,172.16.2.15,
> 172.16.2.17,172.16.2.18,172.16.2.21,172.16.2.22,172.16.2.23,
> 172.16.2.20,172.16.2.40,172.16.2.2,172.16.2.4,172.16.2.16,
> 172.16.2.19 out via rl1
>
>
> se mi seznam IP oreze na pocet 11:
>
> 64000 skipto 30000 ip from any to not 172.16.1.39,172.16.1.61,
> 172.16.1.252,172.16.1.253,172.16.1.20,111.197.159.221,172.16.1.1,
> 172.16.1.2,172.16.1.3,172.16.1.4,172.16.1.7 out via rl1
>
> to pravidlo je generovane automaticky a chtel jsem se vyhnout or blokum
> (takhle se to snadnej sestavuje)
>
> Je nejake reseni?
>
> Diky
>
> Zbynek Burget
>
> --
> FreeBSD mailing list (users-l at freebsd.cz)
> http://www.freebsd.cz/listserv/listinfo/users-l
More information about the Users-l
mailing list