|
Re: lug-bg: Transparent Proxy ??
- Subject: Re: lug-bg: Transparent Proxy ??
- From: itsanov@xxxxxxxx (Ivaylo Tsanov)
- Date: Wed, 13 Jun 2001 17:40:13 +0300
da, tova shte redirektne vsichko ot port 80 kym kym yyy.yyy.yyy.yyy 3128
az bih napravil taka
#ipchains -A input -s 0.0.0.0/0 -d xxx.xxx.xxx.xxx/32 80 -p tcp -j ACCEPT
#ipchains -A input -s 0.0.0.0/0 -d 0.0.0.0/0 80 -p tcp -j REDIRECT 81
#ipmasqadm portfw -a -P tcp -L xxx.xxx.xxx.xxx 80 -R yyy.yyy.yyy.yyy 3128
Obache ne sym testval kakvo shte stane s 0.0.0.0 vmest xxx.xxx.xxx.xxx
probvai, ako ne ia puskash za vseki interfeis po vednyzsh.
Note: xxx.xxx.xxx.xxx e adres na mrezshovi interfeis na tvoia GW.
Ivo.
----- Original Message -----
From: "Stoian Mishev" <stuckoff@xxxxxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, June 13, 2001 5:07 PM
Subject: Re: lug-bg: Transparent Proxy ??
>
> > Eto ti edin primer:
> > /usr/sbin/ipmasqadm portfw -a -P tcp -L xxx.xxx.xxx.xxx 80 -R
> > yyy.yyy.yyy.yyy 3128
> > Ne promenia adresa na klienta.
> > ipmasqadm mozshesh da go potyrsish iz internet, ako ne go namerish -
pishi
> > pak :)
> >
> > Ivo.
> >
> hmmm towa nqma li da redirectne kym yyy.yyy.yyy.yyy 3128 wsqka zaqwka
koqto e
> kym xxx.xxx.xxx.xxx 80 ?? t.e. smao primerno web-site kojto e na
> xxx.xxx.xxx.xxx......
> move li da se slovi 0.0.0.0/0 wmesto xxx.xxx.xxx.xxx ????
> --
> stuckoff
> e-mail: stuckoff@xxxxxxxxxxxx
> ICQ #: 5079105
> GSM: 088/435168
>
===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
Zagora
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|