|
Re: lug-bg: Transparent Proxy ??
- Subject: Re: lug-bg: Transparent Proxy ??
- From: luben@xxxxxxxxx (Luben Karavelov)
- Date: Wed, 13 Jun 2001 15:07:31 +0300
On Wed, Jun 13, 2001 at 02:44:12PM +0300, Luben Karavelov wrote:
> On Wed, Jun 13, 2001 at 02:05:43PM +0300, Stoian Mishev wrote:
> > nqkkoj ima li ideq kak move da se naprawi transparent proxy ako proxy-to ne e
> > na mashinata koqto e GW za mrevata ... ima li nqkwi port redirect-i koito da
> > redirectnat zaqwka na klienta kym 80 ti port kym proxy:3128 kato da ne smenqt
> > adresa na klienta (towa e za da move da se polzwa efektifno) delay pool
> > inyche ako se wsichki w mrevata se redirectwat kym proxy-to kato se maskirat
> > (ili se polzwa NAT) shte se poluchi na praktika che wsichki 20 mashini
> > primerno shte sa shape-nati ot squid-a ....
> ami trebva linux-2.4.* i pravish
> (proxito ti predpolagam da e s ip 10.0.0.2)
>
> iptables -A PREROUTING -s 10.0.0.2 -j ACCEPT
> iptables -A PREROUTING -d 10.0.0.2 -j ACCEPT
> iptables -A PREROUTING -p tcp --dport 80 --j DNAT --tp 10.0.0.2:3128
iptables -A PREROUTING -p tcp --dport 80 --j DNAT --to 10.0.0.2:3128
sorri za typografscata greshka
>
> i vsichko e OK.
>
> luben
> p.s. i ne me pitai kak stava s linux-2.2 -- ne stava
> --
> _________________________________________________________
> Luben Karavelov [phone] +359 2 9877088
> Network Administrator [ICQ#] 34741625
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
_________________________________________________________
Luben Karavelov [phone] +359 2 9877088
Network Administrator [ICQ#] 34741625
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<HR>
<UL>
<LI>application/pgp-signature \\\\\\\\\ \\\\: stored
</UL>
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|