[linux-network] Re: port yonlendirme

---------

From: Enver ALTIN (ealtin@casdb.com)
Date: Wed 25 Jun 2003 - 09:30:15 EEST

  • Next message: Abdullah BAYKAL: "[linux-network] .htaccess kullanimi"

    On Tue, 2003-06-24 at 20:44, bilginx@boun.edu.tr wrote:
    > Merhabalar,

    Merhaba,

    > bu islemi eth0 80 nolu porta gelen hhtp isteklerini eth1 deki 8080 nolu porta
    > nasil gonderebiliriz

    Sormama izin verin, ne ise yarayacak bu? Ilk bakista anlamsiz gorundu.
    Istediginiz, eth1'den baglanilabilen bir sunucuya dogru giden port 80
    paketlerinin, bu sunucunun 8080 portuna gitmesi ise:

    iptables -t nat -A PREROUTING -d bir.sunucu.com -p tcp --dport 80 -j DNAT --to bir.sunucu.com:8080

    gibi bir kural ise yarayacaktir. Ancak eth0/tcp:80'e gelen paketlerin
    yerel sunucu uzerinde eth1'in IP adresi:8080'e bind etmis bir programa
    yonlendirilmesi bildigim kadariyla ancak DNAT --to
    eth1.in.ip.adresi:8080 ile mumkun.

    -- 
    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.
    Xerox never comes up with anything original.
    

  • Next message: Abdullah BAYKAL: "[linux-network] .htaccess kullanimi"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.