Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Dmitriy Dubinin                      2:5029/34      08 Feb 2008  20:28:38
 To : Vadim Goncharov
 Subject : Re: natd: multiple instances
 -------------------------------------------------------------------------------- 
 
 VG> From: Vadim Goncharov <vadimnuclight@tpu.ru>
 
 VG> Hi,
 
 VG> А знаете ли вы, что,
 
 VG> начиная с 5.3R, в natd(8) присутствует возможность алиасинга в несколько
 VG> внешних IP в одном процессе? Причем не просто внос нескольких процессов
 VG> в один, а со средствами, позволяющими организовать load balancing
 VG> нескольких внешних каналов, без всяких keep state.
 
 VG> phk@ сделал эту возможность и описал пример с двумя каналами на
 VG> http://phk.freebsd.dk/misc/natd/notes.natd - но в ман это так и не
 VG> попало. Сейчас готовится патч на ман...
 
 VG>      -instance instancename
 VG>                  This option switches command line options processing to
 VG> con-                 figure instance instancename (creating it if necessary)
 VG> till                 the next -instance option or end of command line.  It
 VG> is con-                 venient to use multiple instances in the
 VG> configuration file                 specified with -config option rather than
 VG> on command line.
 
 VG>      -globalport port
 VG>                  Read from and write to divert(4) port port, treating all
 VG>                  packets as ``outgoing''.  This option is intended to be
 VG> used                 with multiple instances: packets received on this port 
 VG> are                 checked against internal translation tables of every
 VG> config-                 ured instance.  If an entry is found, packet is
 VG> aliased                 according to that entry.  In no entry was found in
 VG> any of                 instances, packet is passed unchanged, no new entry
 VG> will ever                 be made.
 Сейчас попробовал, работает отлично. instance default как я понял создается
 по-любому, есть он в конфиге или нет. 
 
 -- 
 Dmitriy Dubinin
 --- ifmail v.2.15.lk7.b7
  * Origin: Blue Flame Station (2:5029/34@fidonet)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: natd: multiple instances   Dmitriy Dubinin   08 Feb 2008 20:28:38 
 Re: natd: multiple instances   Vadim Goncharov   11 Feb 2008 09:56:30 
Архивное /ru.unix.bsd/121172ee04493.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional