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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: hi iptables i squid


  • Subject: Re: lug-bg: hi iptables i squid
  • From: oneofus@email.domain.hidden (oneofus_at_email.domain.hidden)
  • Date: Fri, 4 Jul 2003 10:24:12 +0300 (EEST)


ako squid-a koito iskash da polzwash e localno na mashinata koqto prawi
masq/snat na tazi mreja (192.168.x.x) nai dobre go naprawi s redirecct ->
iptables -t nat -A PREROUTING -p tcp -s 192.168.1.80 -d 216.228.114.72
--dport 80 -j REDIRECT --to-port 8080 (ili kufto tam e port-na na squid-a)

Regards ....

<em class="quotelev1">> ptables -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 squid 8080 ili 80>
<em class="quotelev1">>
<em class="quotelev1">>
<em class="quotelev1">> Todor Belev wrote:
<em class="quotelev1">>
<em class="quotelev2">>>Znachi za ACL listi predpolagam niama nujda da govorim, nujnite ti opcii
<em class="quotelev2">>> osven tiah sa ti slednite:
<em class="quotelev2">>>
<em class="quotelev2">>>httpd_accel_host Ip-to na SQUID-a
<em class="quotelev2">>>httpd_accel_port 80
<em class="quotelev2">>>httpd_accel_with_proxy on
<em class="quotelev2">>>httpd_accel_uses_host_header on
<em class="quotelev2">>>
<em class="quotelev2">>>
<em class="quotelev2">>>Todorin
<em class="quotelev2">>>
<em class="quotelev2">>>
<em class="quotelev3">>> >-------- Îðèãèíàëíî ïèñìî --------
<em class="quotelev3">>> >Îò:  Elin <eex_at_mr-bricolage.bg>
<em class="quotelev3">>> >Îòíîñíî: lug-bg: hi iptables i squid
<em class="quotelev3">>> >Äî: lug-bg_at_linux-bulgaria.org
<em class="quotelev3">>> >Èçïðàòåíî íà: ×åòâúâòúê, 2003, Þëè 3 18:41:49 EEST
<em class="quotelev3">>> >----------------------------------
<em class="quotelev3">>> >
<em class="quotelev3">>> >zdraveite imam nuzda ot help tazi komanda na iptables
<em class="quotelev3">>> >
<em class="quotelev3">>> >iptables -t nat -A PREROUTING -s 192.168.1.80 -p tcp -d 216.228.114.72
<em class="quotelev3">>> >--dport 80 -j DNAT --to-destination  <ipto na squida i port>
<em class="quotelev3">>> >znachi tai komanda pravi slednoto ot sorsa *1.80 pravi zaivaka kam
<em class="quotelev3">>> >216.228.114.72 na 80 prot i ideiata mie za toizi ip da go prehvurli
<em class="quotelev2">>> prez
<em class="quotelev3">>> >squida samoche squida nemoga da go nakaram da se vurze s iptablesa
<em class="quotelev2">>> niako
<em class="quotelev3">>> >znaeli kavi sa tochnite nastroiki za tova
<em class="quotelev3">>> >
<em class="quotelev3">>> >============================================================================
<em class="quotelev3">>> >A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev3">>> >http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
<em class="quotelev2">>> Zagora
<em class="quotelev3">>> >To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev3">>> >============================================================================
<em class="quotelev3">>> >
<em class="quotelev2">>>
<em class="quotelev2">>>-----------------------------------------------------------------
<em class="quotelev2">>>http://opustheatrale.abv.bg - Ïîðú÷àé íîâèÿò äâîåí äèñê íà Ñòåôàí
<em class="quotelev2">>> Âúëäîáðåâ ÒÓÊ !
<em class="quotelev2">>>============================================================================
<em class="quotelev2">>>A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev2">>>http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
<em class="quotelev2">>> Zagora
<em class="quotelev2">>>To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev2">>>============================================================================
<em class="quotelev2">>>
<em class="quotelev2">>>
<em class="quotelev2">>>
<em class="quotelev2">>>
<em class="quotelev1">>
<em class="quotelev1">>
<em class="quotelev1">> ============================================================================
<em class="quotelev1">> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev1">> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
<em class="quotelev1">> Zagora
<em class="quotelev1">> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1">> ============================================================================
<em class="quotelev1">>

============================================================================
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.