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


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Eugene Grosbein                      2:5006/1       01 Jun 2006  17:03:03
 To : sergey belov
 Subject : Re: ipfw fwd+squid
 -------------------------------------------------------------------------------- 
 
 01 июн 2006, четверг, в 10:43 KRAST, sergey belov написал(а):
 
  sb> сейчас весь хттп-трафик заворачивается на проксю так:
  sb> fwd 127.0.0.1,3108 tcp from table(2) to not table(1) dst-port 80 via rl0
  sb> появилась необходимость проксю поставить на одну из тачек из внутренней
  sb> сетки,
  sb> соответственно исправил форвардинг на
  sb> fwd 192.168.0.34,3108 tcp from table(2) to not table(1) dst-port 80 via
  sb> rl0
 
 Убери номер порта 3108 тут.
 
  sb> несмотря на это, трафик на 192.168.0.34 почему-то не попадает.
  sb> почитал вот это:
  sb>                The fwd action does not change the contents of the packet
  sb>                at
  sb> all.
  sb>              In particular, the destination address remains unmodified, so
  sb>              packets forwarded to another system will usually be rejected
  sb>              by
  sb>              that system unless there is a matching rule on that system to
  sb>              capture them.  For packets forwarded locally, the local
  sb>              address
  sb>              of the socket will be set to the original destination address
  sb>              of
  sb>              the packet.  This makes the netstat(1) entry look rather
  sb>              weird
  sb>              but is intended for use with transparent proxy servers.
  sb> получается, мне еще и на машине со сквидом тоже fwd правило указывать?
 
 Обязательно.
 
  sb> прописал, все равно хттп-трафик с роутера на эту машину не форвардится.
 
 Счетчик на правиле fwd роутера растут?
 
 Eugene
 -- 
 Choose no friends
 --- slrn/0.9.8.0 (FreeBSD)
  * Origin: Svyaz Service JSC (2:5006/1@fidonet)
 
 

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

 Тема:    Автор:    Дата:  
 ipfw fwd+squid   sergey belov   01 Jun 2006 12:43:34 
 Re: ipfw fwd+squid   Valentin Davydov   01 Jun 2006 13:53:43 
 Re: ipfw fwd+squid   Eugene Grosbein   01 Jun 2006 17:03:03 
 ipfw fwd+squid   Alex Mogilnikov   01 Jun 2006 17:26:20 
Архивное /ru.unix.bsd/26093ce6b6a46.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional