Re: [Linux-ag] IP tables site kisitlamasi

---------

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

From: Levent YILDIRIM (lyildirim@geo-sim.com)
Date: Tue 08 Mar 2005 - 12:00:17 EET


Hello mustafa ozturk,

iptables -t NAT -A POSTROUTING -O eth0 -d xxx.xxx.xxx.xxx -j MASQUERADE

xxx yerine istediginiz ip adreslerini yazarak sadece bu sitelere cikis
saglayabilirsiniz.

iptables -t NAT -A POSTROUTING -O eth0 -j MASQUERADE

kuralini kaldirmaniz gerekli.

Tuesday, March 8, 2005, 10:55:41 AM, you wrote:

   
mo> Herkese merhabalar.
mo> Sistemimde su anda iptables ile nat
mo> yapiyorum.Kullanicilarim gateway yazarak internete
mo> cikiyorlar.
mo> Ama benim istedigim sadece birkac siteye cikmalarina
mo> izin vermek.
mo> Bunu iptables ile yapabilirmiyim ve nasıl
mo> yaparim.

mo> IP tables taki komutum
   
mo> ETH0 = 10.0.1.202 (adsl)
mo> ETH1 = 10.0.0.230 LAN

mo> #iptables -t NAT -A POSTROUTING -O eth0 -j
mo> MASQUERADE

mo> ...Kolay Gelsin...
mo> www.netpro.com.tr

        
                
mo> __________________________________
mo> Celebrate Yahoo!'s 10th Birthday!
mo> Yahoo! Netrospective: 100 Moments of the Web
mo> http://birthday.yahoo.com/netrospective/

-- 
Have a nice day,
Levent YILDIRIM
GeoSIM  LTD.

_______________________________________________ Linux-ag mailing list Linux-ag@liste.linux.org.tr http://liste.linux.org.tr/mailman/listinfo/linux-ag


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

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.