From: Gürkan KARABATAK (gkarabatak@firat.edu.tr)
Date: Tue 24 Jun 2003 - 17:58:46 EEST
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to eth1ip:8080
-----Original Message-----
From: bilginx@boun.edu.tr [mailto:bilginx@boun.edu.tr]
Sent: Tuesday, June 24, 2003 8:45 PM
To: linux-network@liste.linux.org.tr; Enver ALTIN
Cc: linux-network@liste.linux.org.tr
Subject: [linux-network] Re: port yonlendirme
Merhabalar,
bu islemi eth0 80 nolu porta gelen hhtp isteklerini eth1 deki 8080 nolu porta
nasil gonderebiliriz
tesekkurler,
Bilgin
Quoting Enver ALTIN <ealtin@casdb.com>:
> On Tue, 2003-06-24 at 17:06, Afsin Taskiran wrote:
> > Merhaba;
>
> Merhaba,
>
> > Makinenin eth0 80 portuna gelen http isteklerini 8080 portuna nasil
> > yonlendirebilriz?
>
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to
> 8080
> --
> Enver ALTIN (a.k.a. skyblue) - Software developer, generic solvent
> http://enver.casdb.com/ - mailto: ealtin at casdb dot com
> http://enver.casdb.com/CV.html - Just me, myself and I.
>
> You have the body of a 19 year old. Please return it before it gets
> wrinkled.
>
>