|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Vadim Goncharov 2:5020/400 24 Jan 2008 15:03:23 To : All Subject : natd: multiple instances -------------------------------------------------------------------------------- Hi, А знаете ли вы, что, начиная с 5.3R, в natd(8) присутствует возможность алиасинга в несколько внешних IP в одном процессе? Причем не просто внос нескольких процессов в один, а со средствами, позволяющими организовать load balancing нескольких внешних каналов, без всяких keep state. phk@ сделал эту возможность и описал пример с двумя каналами на http://phk.freebsd.dk/misc/natd/notes.natd - но в ман это так и не попало. Сейчас готовится патч на ман... -instance instancename This option switches command line options processing to con- figure instance instancename (creating it if necessary) till the next -instance option or end of command line. It is con- venient to use multiple instances in the configuration file specified with -config option rather than on command line. -globalport port Read from and write to divert(4) port port, treating all packets as ``outgoing''. This option is intended to be used with multiple instances: packets received on this port are checked against internal translation tables of every config- ured instance. If an entry is found, packet is aliased according to that entry. In no entry was found in any of instances, packet is passed unchanged, no new entry will ever be made. -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight] --- slrn/0.9.8.1 on FreeBSD 4.11/i386 * Origin: Nuclear Lightning @ Tomsk, TPU AVTF Hostel (2:5020/400@fidonet) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/337391bbfe534.html, оценка из 5, голосов 10
|