[linux-network] Re: iptables'tan anlayan yokmu koca listede yaaa

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Fenerlilaz (fenerlilaz@yahoo.com)
Date: Mon 02 Aug 2004 - 11:44:25 EEST


iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j
 MASQUERADE

bu kural zaten diğerlerini de kapsıyor...

--- Onur YAPICI <onur@aquafantasy.com.tr> wrote:

> kac oldu iptables ile ilgili soru soruyorum cevap
> gelimiyor bir
> türlü
> arkadaşlar
> iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j
> MASQUERADE
> iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j
> MASQUERADE
> iptables -t nat -A POSTROUTING -s 192.168.8.0/24 -j
> MASQUERADE
> iptables -t nat -A FORWARD -s 192.168.8.0/24 -d
> 192.168.0.0/24 -j DROP
> iptables -t nat -A FORWARD -s 192.168.8.0/24 -d
> 192.168.1.0/24 -j DROP
>
> bu kuralları uyguluyorum
> amacım 192.168.0.0/24 , 192.168.1.0/24 ,
> 192.168.8.0/24 subnetlerini
> natlamak ve
> 192.168.8.0/24 subnet'inin 192.168.0.0/24 ,
> 192.168.1.0/24 erişimi
> engellemek
> sanırım -j MASQUERADE yaptığım için -j DROP geçerli
>
> olmuyor.
> bunun için doğru kural nedir bilen arkadaş bana
> yardımcı
> olursa çok sevinirim.
>
> iyi günler ve iyi çalışmalar dileklerimle.
>
>
>
>

                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.