[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: Nebi Senol Yilmaz (nsenol_yilmaz@yahoo.com)
Date: Mon 02 Aug 2004 - 16:42:12 EEST


merhaba;
sanirsam sole yaparsan:

iptables -A FORWARD -s 192.168.8.0/24 -d
192.168.0.0/24 -j DROP
iptables -A FORWARD -s 192.168.8.0/24 -d
192.168.1.0/24 -j DROP

# bu iki kural bahsettigin networkler arasindaki
erisimi ortadan kaldiracaktir.

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

# ardindan gelen bu kurallar ise natlamayi yapacaktir.

sanirim bir hata gorunmuyor.
arkadaslar yine de bir kontrol edin...

kolay gelsin..

> 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

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
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.