Özkan bey,

 Tsk ederim sorun cozuldu sizin ve sinan beyin sayesinde... 

Natd'ye 
redirect_port tcp 192.168.1.1:80 80

Ipfw ye asagidaki satiri ekledim
allow tcp from any to any 80

Su anda calisiyor.
    

-----Original Message-----
From: Özkan KIRIK [mailto:[EMAIL PROTECTED] 
Sent: 11 March 2005 14:53
To: [email protected]
Subject: Re: [freebsd] IPFW yonlendirme....

Merhaba Abdullah
Bu işlem için nat yapman gerekiyor,
forwarding sadece next hop'u degistiriyor.

ornek konfigurasyon:

/etc/natd.conf:
------------------------
interface fxp0
redirect_port tcp 192.168.1.1:80 80
------------------------

ipfw add allow tcp from any to 192.168.1.1 80 ipfw add divert natd tcp from
any to any 80 in ipfw add divert natd tcp from 192.168.1.1 80 to any


NOT: natd yi calistirmayi unutmayin, (  natd -f /etc/natd.conf )

Saygilarimla,
Ozkan KIRIK
EnderUNIX Yazilim Gelistirme Takimi
Donem Lideri -- Yazilim Gelistiricisi

Abdullah ÖZTÜRK (ENKAMOSCITY.COM) wrote:

> S.A.
>  
> 80 portuna istekleri icerdeki web serverine yonlendirmek istiyorum.
> asagidaki kurali yazdim ama netice alamadim yardimci olabilirseniz 
> sevinirim
>  
> kural;
> ipfw add 00024 fwd 192.168.1.1,80 tcp from 0.0.0.0/0 to any  80
>  
> Abdullah
>  
>  
>     
>
>  
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 09/03/2005
>

---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve
http://www.mail-archive.com/[email protected]
Turkiye'nin ilk FreeBSD kitabi: http://www.acikkod.com/freebsd.php



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 09/03/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 09/03/2005
 



---------------------------------------------------------------------
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve 
http://www.mail-archive.com/[email protected]
Turkiye'nin ilk FreeBSD kitabi: http://www.acikkod.com/freebsd.php


Cevap