[linux-network] Re: Fwd: Re: iptables yardimi

---------

From: koray (koray@nsswb.com)
Date: Tue 02 Sep 2003 - 15:41:39 EDT

  • Next message: imran.geriskovan@ttnet.net.tr: "[linux-network] Re: Fwd: Re: iptables yardimi"

    bu da route komutunun ciktisi:

    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.11.0 * 255.255.255.0 U 0 0 0 eth0
    192.168.10.0 * 255.255.255.0 U 0 0 0 eth1
    169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
    127.0.0.0 * 255.0.0.0 U 0 0 0 lo
    default 192.168.11.2 0.0.0.0 UG 0 0 0 eth0

    On Tue, 02 Sep 2003 22:33:58 +0300, koray <koray@nsswb.com> wrote:

    > serdar bey dediklerinizi yaptim;
    > clientlar gateway olarak 192.168.10.1 ayarli
    > echo "1" >/proc/sys/net/ipv4/ip_forward
    > komutunu da verdim
    > gerci daha once /etc/sysctl.conf dosyasinin icinde
    > net.ipv4.ip_forward=1 yapmistim ama...
    >
    > ancak sonucta olmadi...
    >
    >
    >
    >
    >
    >
    > On Tue, 2 Sep 2003 21:47:06 +0300, Serdar KÖYLÜ <skoylu@gizemcafe.net>
    > wrote:
    >
    >> On Tue, 02 Sep 2003 19:56:55 +0300
    >> koray <koray@nsswb.com> wrote:
    >>
    >>> tesekkur ederim.
    >>> simdi yapmam gereken clientlardan internete cikarabilmek
    >>> bunun icin ne yapmam gerekiyor?
    >>> serdar bey nat olmaz demisti ama...
    >>
    >> NAT olmaz degil, gereksiz sadece.
    >>
    >> Clientlere gateway (Varsayilan Aggecidi) olarak 192.168.10.1 adresini
    >> gosterin. Birde kernele ip_forward yaptirmayi unutmayin.
    >>
    >> echo "1" >/proc/sys/net/ipv4/ip_forward
    >>
    >> Eger, clientler otomatik ayarlansin derseniz, DHCP server kurun.
    >> /etc/dhcpd.conf soyle olabilir:
    >>
    >> ------------------------------------ cut -----
    >> ddns-update-style interim;
    >>
    >> subnet 192.168.10.0 netmask 255.255.255.0 {
    >> . option domain-name-servers 212.156.4.4;
    >> . option domain-name-servers 212.156.4.20;
    >> . option domain-name "ofis.net";
    >> . option routers 192.168.10.1;
    >> . range 192.168.10.128 192.168.10.240;
    >> . }
    >>
    >> ------------------------------------- end of cut --
    >>
    >> Daha iyisi bir de named kurun bu alete. Cache-only DNS tutsun. O zaman
    >> 212.156.4.* yerine 192.168.10.1 yazabilirsiniz. Bu biraz performans
    >> kazanci da saglar..
    >>
    >> Saygi ve sevgiler..
    >>
    >>
    >
    >
    >
    >


  • Next message: imran.geriskovan@ttnet.net.tr: "[linux-network] Re: Fwd: Re: iptables yardimi"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.