|
Re: lug-bg: iptables and PREROUTING
- Subject: Re: lug-bg: iptables and PREROUTING
- From: hristo@xxxxxxxxxxxxxxxx (Hristo Genkov)
- Date: Wed, 29 May 2002 14:49:29 +0300
Ð?а 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 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
============================================================================
|
|
|