|
Re: lug-bg: iptables and PREROUTING
- Subject: Re: lug-bg: iptables and PREROUTING
- From: teodor@xxxxxxxxxxxxxxx (Teodor Georgiev)
- Date: Wed, 29 May 2002 15:19:46 +0200
----- Original Message -----
From: "Hristo Genkov" <hristo@xxxxxxxxxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, May 29, 2002 1:49 PM
Subject: Re: lug-bg: iptables and PREROUTING
> Ð?а 26 05 2002 18:39, zimage@xxxxxxxxx напиÑ?аÑ?Ñ?е:
> > On Sun, May 26, 2002 at 05:02:05PM +0300, Marian Popov wrote:
> > > Zdraveite vsichki.
> > >
> > > Naskoro mi se sluchi da configuriram edin server na edin priatel i s
> > > iznenada razbrah che dostavchika mu e filtriral port 21 i veroiatno i
> > > port 20.
> > >
> > > Taka che sichki mashini zad toia server ne mogat da dostypvat do ftp.
> > >
> > > Pomislih malko i reshih da prekaram vsichki ftp packeti presz drug
server
> > > na koito sym pusnal ftp proxy na port 3128.
> > >
> > > Eto kak go napravih:
> > >
> > > iptables -A PREROUTING -t nat -p tcp -s local.net.addre.ss -d
0.0.0.0/0
> > > --dport 21 -j DNAT --to ftp.proxy.addre.ss:3128
> > >
> > >
> > > Spored ochakvaniata mi tova triabvashe da sraboti no reszultatyt e
> > > slednia.
> > >
> > > C:\WINDOWS>ftp ftp.cdrom.com
> > > Connected to wcarchive.cdrom.com.
> > >
> > > I do tuk umira sled koeto dava timeout
> > >
> > > Interesnoto e che ako sloja na brousera tova ftp proxy sichko si
bachka.
> > >
> > > Neshto propuskam li ?
> >
> > Ahu - kogato ukajesh na browser-a niakakvo proxy toi (browsera) veche
> > znae che stava duma za proxy i si formatira zaiavkite po specialen
> > nachin. Na men specialno ne mi e izvesten nachin za puskane na FTP
> > transparent proxy... ne che e nevazmojno da se postigne (teoretichno),
> > no ne znam niakoi da go e pravil.
>
> frox - pri men si rabot chudesno. S nqkoi izkljucheniq kato audiogalaxy
> naprimer. Poddyrja si i parent i kakvoto oshte ti trqbva.
a na 2.4.x kernel testval li si go? :)
============================================================================
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
============================================================================
|
|
|