[linux-network] Re: ip masquerading??!! nerde hata yapýorum

---------

From: Onur Kucuk (onur@kablonet.com.tr)
Date: Sun 24 Aug 2003 - 01:26:32 EEST

  • Next message: Kerem ERSOY: "[linux-network] Re: DHCP ve Kablo Net"

      ipchains cok eskidi, iptables kullanin.

      #!/bin/bash

      IPTABLES=`which iptables` #Buraya iptables in yerini elle de
    girebilirsiniz

         echo 1 > /proc/sys/net/ipv4/ip_forward

         /sbin/modprobe iptable_nat
         /sbin/modprobe ip_nat_ftp
         /sbin/modprobe ip_conntrack_ftp

         $IPTABLES -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE

         $IPTABLES -A FORWARD -s 192.168.0.0/24 -j ACCEPT # burasi sart degil

      Konuyla ilgili daha fazla bilgi icin netfilter.org u inceleyebilirsiniz.

      Onur Kucuk


  • Next message: Kerem ERSOY: "[linux-network] Re: DHCP ve Kablo Net"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.