[linux-network] Re: iptables????

---------

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

From: Enver ALTIN (ealtin@parkyeri.com)
Date: Thu 23 Sep 2004 - 16:10:42 EEST


Merhaba,
On Thu, 2004-09-23 at 16:09 +0300, Evren YILMAZ wrote:
> iptables -X
> iptables -F -t nat
> iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 192.168.0.2
> iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE

Bunlari bosverin:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t nat -X

Modem NAT yapiyorsa, sizin ayrica NAT yapmaniza gerek yok, IP Forwarding
acsaniz yeterli.

Daha sonraki erisim denetimini filter tablosunda, FORWARD chain
icerisinde yapabilirsiniz.

Iyi eglenceler,

--
Enver ALTIN                   |        http://skyblue.gen.tr/
Software developer @ Parkyeri |      http://www.parkyeri.com/

-- Attached file included as plaintext by Ecartis -- -- File: signature.asc -- Desc: This is a digitally signed message part

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBUstSZCB2FZvqK0sRArkBAJ4/WyrAxrNh7zPCowoD9EQ1HIJQDACfX5Iq uKyMyaBzjbSzRAKF0keDYCw =YVul -----END PGP SIGNATURE-----


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

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.