|
Re: lug-bg: hi iptables i squid
- Subject: Re: lug-bg: hi iptables i squid
- From: mr700@email.domain.hidden (Doncho N. Gunchev)
- Date: Fri, 4 Jul 2003 12:15:58 +0300
man iptables
-j DNAT --to-destination ipaddr[-ipaddr][:port-port]
| On Friday 04 July 2003 14:19, Elin wrote:
| ne e llocalen squida
|
| oneofus_at_crew.inetg.bg wrote:
| >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 ....
| >
| >>ptables -t nat -A PREROUTING -s 192.168.1.80 -p tcp -d 216.228.114.72
| >>--dport 80 -j DNAT --to-destination <ipto na squid 8080 ili 80>
| >>
| >>Todor Belev wrote:
| >>>Znachi za ACL listi predpolagam niama nujda da govorim, nujnite ti opcii
| >>>osven tiah sa ti slednite:
| >>>
| >>>httpd_accel_host Ip-to na SQUID-a
| >>>httpd_accel_port 80
| >>>httpd_accel_with_proxy on
| >>>httpd_accel_uses_host_header on
| >>>
| >>>
| >>>Todorin
| >>>
| >>>>-------- Îðèãèíàëíî ïèñìî --------
| >>>>Îò: Elin <eex_at_mr-bricolage.bg>
| >>>>Îòíîñíî: lug-bg: hi iptables i squid
| >>>>Äî: lug-bg_at_linux-bulgaria.org
| >>>>Èçïðàòåíî íà: ×åòâúâòúê, 2003, Þëè 3 18:41:49 EEST
| >>>>----------------------------------
| >>>>
| >>>>zdraveite imam nuzda ot help tazi komanda na iptables
| >>>>
| >>>>iptables -t nat -A PREROUTING -s 192.168.1.80 -p tcp -d 216.228.114.72
| >>>>--dport 80 -j DNAT --to-destination <ipto na squida i port>
| >>>>znachi tai komanda pravi slednoto ot sorsa *1.80 pravi zaivaka kam
| >>>>216.228.114.72 na 80 prot i ideiata mie za toizi ip da go prehvurli
| >>>
| >>>prez
| >>>
| >>>>squida samoche squida nemoga da go nakaram da se vurze s iptablesa
| >>>
| >>>niako
| >>>
| >>>>znaeli kavi sa tochnite nastroiki za tova
| >>>>
| >>>>=======================================================================
| >>>>===== 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://opustheatrale.abv.bg - Ïîðú÷àé íîâèÿò äâîåí äèñê íà Ñòåôàí
| >>>Âúëäîáðåâ ÒÓÊ !
| >>>========================================================================
| >>>==== 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
| >>>========================================================================
| >>>====
| >>
| >>=========================================================================
| >>=== 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
| >>=========================================================================
| >>===
| >
| >==========================================================================
| >== 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
| > =========================================================================
| >===
|
| ===========================================================================
|= 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
| ===========================================================================
|=
--
Regards,
Doncho N. Gunchev
{ All programmers are optimists -- Frederick P. Brooks, Jr. }
============================================================================
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
============================================================================
|
|
|