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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: hi iptables i squid


  • Subject: Re: lug-bg: hi iptables i squid
  • From: Firestone@email.domain.hidden (Пламен Стоянов)
  • Date: Sat, 5 Jul 2003 13:48:05 +0300


Iptables -t nat -A PREROUTING -p tcp -s $NET1  --dport 80 -j DNAT 
--to-destination x.x.x.x:8080

On Friday 04 July 2003 12:15, Doncho N. Gunchev wrote:
<em class="quotelev1">> man iptables
<em class="quotelev1">> -j DNAT --to-destination ipaddr[-ipaddr][:port-port]
<em class="quotelev1">>
<em class="quotelev1">> | On Friday 04 July 2003 14:19, Elin wrote:
<em class="quotelev1">> | ne e llocalen squida
<em class="quotelev1">> |
<em class="quotelev1">> | oneofus_at_crew.inetg.bg wrote:
<em class="quotelev1">> | >ako squid-a koito iskash da polzwash e localno na mashinata koqto prawi
<em class="quotelev1">> | >masq/snat na tazi mreja (192.168.x.x) nai dobre go naprawi s redirecct
<em class="quotelev1">> | > -> iptables -t nat -A PREROUTING -p tcp -s 192.168.1.80 -d
<em class="quotelev1">> | > 216.228.114.72 --dport 80 -j REDIRECT --to-port 8080 (ili kufto tam e
<em class="quotelev1">> | > port-na na squid-a)
<em class="quotelev1">> | >
<em class="quotelev1">> | >Regards ....
<em class="quotelev1">> | >
<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">> | >>Todor Belev wrote:
<em class="quotelev1">> | >>>Znachi za ACL listi predpolagam niama nujda da govorim, nujnite ti
<em class="quotelev1">> | >>> opcii osven tiah sa ti slednite:
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>httpd_accel_host Ip-to na SQUID-a
<em class="quotelev1">> | >>>httpd_accel_port 80
<em class="quotelev1">> | >>>httpd_accel_with_proxy on
<em class="quotelev1">> | >>>httpd_accel_uses_host_header on
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>Todorin
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>>-------- Îðèãèíàëíî ïèñìî --------
<em class="quotelev1">> | >>>>Îò:  Elin <eex_at_mr-bricolage.bg>
<em class="quotelev1">> | >>>>Îòíîñíî: lug-bg: hi iptables i squid
<em class="quotelev1">> | >>>>Äî: lug-bg_at_linux-bulgaria.org
<em class="quotelev1">> | >>>>Èçïðàòåíî íà: ×åòâúâòúê, 2003, Þëè 3 18:41:49 EEST
<em class="quotelev1">> | >>>>----------------------------------
<em class="quotelev1">> | >>>>
<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
<em class="quotelev1">> | >>>> 216.228.114.72 --dport 80 -j DNAT --to-destination  <ipto na squida
<em class="quotelev1">> | >>>> i port> znachi tai komanda pravi slednoto ot sorsa *1.80 pravi
<em class="quotelev1">> | >>>> zaivaka kam 216.228.114.72 na 80 prot i ideiata mie za toizi ip da
<em class="quotelev1">> | >>>> go prehvurli
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>prez
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>>squida samoche squida nemoga da go nakaram da se vurze s iptablesa
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>niako
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>>znaeli kavi sa tochnite nastroiki za tova
<em class="quotelev1">> | >>>>
<em class="quotelev1">> | >>>>=====================================================================
<em class="quotelev1">> | >>>>== ===== A mail-list of Linux Users Group - Bulgaria (bulgarian
<em class="quotelev1">> | >>>> linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group
<em class="quotelev1">> | >>>> Ltd. - Stara
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>Zagora
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>>To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1">> | >>>>=====================================================================
<em class="quotelev1">> | >>>>== =====
<em class="quotelev1">> | >>>
<em class="quotelev1">> | >>>-----------------------------------------------------------------
<em class="quotelev1">> | >>>http://opustheatrale.abv.bg - Ïîðú÷àé íîâèÿò äâîåí äèñê íà Ñòåôàí
<em class="quotelev1">> | >>>Âúëäîáðåâ ÒÓÊ !
<em class="quotelev1">> | >>>======================================================================
<em class="quotelev1">> | >>>== ==== A mail-list of Linux Users Group - Bulgaria (bulgarian
<em class="quotelev1">> | >>> linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group
<em class="quotelev1">> | >>> Ltd. - Stara Zagora
<em class="quotelev1">> | >>>To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1">> | >>>======================================================================
<em class="quotelev1">> | >>>== ====
<em class="quotelev1">> | >>
<em class="quotelev1">> | >>=======================================================================
<em class="quotelev1">> | >>== === A mail-list of Linux Users Group - Bulgaria (bulgarian
<em class="quotelev1">> | >> linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group
<em class="quotelev1">> | >> Ltd. - Stara Zagora
<em class="quotelev1">> | >>To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1">> | >>=======================================================================
<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 To unsubscribe:
<em class="quotelev1">> | > http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1">> | > =======================================================================
<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 To unsubscribe:
<em class="quotelev1">> | 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.