Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Iptables Port Redirection ot Squid Port - Problem


  • Subject: Re: lug-bg: Iptables Port Redirection ot Squid Port - Problem
  • From: mano@xxxxxxxxxxxxx (Marian Popov)
  • Date: Wed, 17 Apr 2002 23:56:01 +0300



Zdrasti.
V squid.conf triabva da imash slednite redove:

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

Obyrni vnimanie v pismoto ot Georgi Chorbadzhiyski pishe httpd_accel_port
8080
ama spored men triabva da byde samo 80 :)

mano

----- Original Message -----
From: "Vesselin Kolev" <vlk@xxxxxxxxxxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, April 17, 2002 6:29 PM
Subject: lug-bg: Iptables Port Redirection ot Squid Port - Problem

> Zdraveite...

>   Imam malko stranen problem.
>
>   Iskam da nakaram zaiavkite na kolegite mi kym 80/tcp port
> na vynshni mashini da se obsluzhvat ot squid-a, a ne da
> minavat directno. Na routera ima squid i iskam da redirectna
> paketite za portove 80/tcp kym port 8080/tcp na routera,
> t.e. kym http-alt porta.
>
> Za da redirectvaneto na port izpolzva slednata configuracia:
>
> iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j
REDIRECT --to-port
> 8080
>
> I taka sega veche ima prenasochvane na zaiavkite. Obache kato
> nabludavam lo-faila na squid-a ustanoviavam, che pri
> redirectvane zaiavkite se podavat BEZ pyt i protocol...
>
> T.e. ako klientskata mashina iska da izvika :
>
> http://www.lcpe.uni-sofia.bg/test.html
>
> zaiavkata kam squida e /test.html, t.e. v neia lispva
> http://www.lcpe.uni-sofia.bg i razbira se na clienta se
> vryshta greshka.
>
> Tozi problem go niama, ako browsera na clientskata mashina
> ima nastroika za proxy. Ako ima nastroika za proxy i podade
> zaiavkata... tia dostiga zaedno s protocola i pytia i se obsluzhva
> normalno...
>
> Squid-a e 2.4.STABLE4. squid.conf faila mozhete da pregledate
> tuk:  http://e-lib.lcpe.uni-sofia.bg/squid.conf
>
> Bih bil mnogo blagodaren, ako niakoi znae kak da reshi tozi problem
>
>
>   Pozdravi
>     Vesselin
>
===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
Zagora
>

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.