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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: hi iptables i squid


  • Subject: Re: lug-bg: hi iptables i squid
  • From: ctv@email.domain.hidden (Miroslav Enchev)
  • Date: Thu, 3 Jul 2003 17:15:34 +0300


----- Original Message ----- 
From: "Elin" <eex_at_mr-bricolage.bg>
To: <lug-bg_at_linux-bulgaria.org>
Sent: Thursday, July 03, 2003 6:41 PM
Subject: lug-bg: hi iptables i squid

<p><em class="quotelev1">> zdraveite imam nuzda ot help tazi komanda na iptables
<em class="quotelev1">>
<em class="quotelev1">> iptables -t nat -A PREROUTING -s 192.168.1.80 -p tcp -d 216.228.114.72
<em class="quotelev1">> --dport 80 -j DNAT --to-destination  <ipto na squida i port>
<em class="quotelev1">> znachi tai komanda pravi slednoto ot sorsa *1.80 pravi zaivaka kam
<em class="quotelev1">> 216.228.114.72 na 80 prot i ideiata mie za toizi ip da go prehvurli prez
<em class="quotelev1">> squida samoche squida nemoga da go nakaram da se vurze s iptablesa niako
<em class="quotelev1">> znaeli kavi sa tochnite nastroiki za tova

<p>Ïðàâèë ñúì òîâà è ðàáîòè:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port 8080

 è ïðîìåíÿø òîâà â squid.conf:

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

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



 

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

 

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