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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

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


  • Subject: lug-bg: Iptables Port Redirection ot Squid Port - Problem
  • From: vlk@xxxxxxxxxxxxxxxxx (Vesselin Kolev)
  • Date: Wed, 17 Apr 2002 18:29:56 +0300



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



 

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

 

линукс за българи
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.