[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: iptables Question
- From: "antitanvir yahoo co uk" <antitanvir yahoo co uk>
- To: enigma-list redhat com
- Subject: Re: iptables Question
- Date: Fri, 25 Oct 2002 16:40:11 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 23 October 2002 00:53, A. Johnson Jeba Asir wrote:
> Hello all,
Heya,
>and also point out some HOWTOs for iptables.
www.netfilter.org, man iptables, packet-filtering-Howto, netfilter/ iptables
faq, nat how-to, netfilter-hacking-howto will suffice.
> # Enable simple IP forwarding and Masquerading for an internal LAN address
> # in the 192.168.0.x
> /sbin/ipchains -P forward DENY
1) iptables -P FORWARD DROP or REJECT #default polycy for the forward chain
2) service iptables save
> /sbin/ipchains -A forward -j MASQ -s 192.168.254.0/24 -d 0.0.0.0/0
> /sbin/ipchains -A forward -j MASQ -s 192.168.16.0/24 -d 0.0.0.0/0
I am not sure about the masq thingie. Pls. check out the manuals. Tanvir.
- --
"Sucks to be away from Unix"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9uawvHR+B4K55tzURAimeAJ9Li20f9mNLY03d0XTrI2uaqHo5MgCgmEMP
jWAOUSkxr/YJiap/opcwqtk=
=zfeX
-----END PGP SIGNATURE-----
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]