From: Baris Metin (baris@gelecek.com.tr)
Date: Wed 04 Sep 2002 - 17:44:17 EEST
Selamlar,
Wed, Sep 04, 2002 at 05:36:01PM +0300 , Devrim GUNDUZ :
>
>
> Merhaba,
>
> On Wed, 4 Sep 2002, omer ucansu wrote:
> >
> > Ben iptables kullanarak yerel networktekileri internete cikarmak istiyorum.
>
> --------------------------
> iptables -t filter -F
> iptables -t nat -F
> iptables -t mangle -F
> iptables -t filter -X
> iptables -t nat -X
> iptables -t mangle -X
>
> echo 1 > /proc/sys/net/ipv4/ip_forward
> iptables -t nat -A POSTROUTING -s 192.168.1.1/24 -o eth1 -j MASQUERADE
Ftp baglantilari icin gerekebilecek bir satir :
modprobe ip_conntrack_ftp
> iptables-save
Bu satira gerek yok "man iptables-save"
iyi calismalar
-- Baris Metin GELECEK A.S.-- Attached file included as plaintext by Ecartis --
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Baris Metin - http://metin.org
iD8DBQE9dhxB9d0Ui5CybXkRAkdhAJ41s/CDGWNR6FGWWrQgNCePOKJaMgCeNIMp HmcGruqbDtjKm1UuhcAqD9Q= =fs7V -----END PGP SIGNATURE-----