From: | Hiren Dave <hiren2k4@×××××.com> |
---|---|
To: | gentoo-user@l.g.o, VGLUG@××××××××××××.com |
Subject: | [gentoo-user] iptables question |
Date: | Tue, 28 Mar 2006 13:46:46 |
Message-Id: | a944a7520603280538j488ef7dfwc9a89b9cb524323f@mail.gmail.com |
1 | Hi, |
2 | |
3 | I want to configure firewall such that network 192.168.1.0/24 can |
4 | only access http server from server1(192.168.0.2/24) and |
5 | network 192.168.0.0/24 can not access http server. So I tried this: |
6 | |
7 | #service iptables stop |
8 | #iptables -P INPUT DROP |
9 | #iptables -t filter -A INPUT -s 192.168.1.0/24 --dport 80 -j ACCEPT |
10 | |
11 | But this command sends error that "Unknown arg: --dport" |
12 | HOW CAN I ACHIEVE THIS? |
13 | |
14 | ALSO IS THERE ANY BOOKS OR ONLINE DOCUMENTS FOR PRACTICALLY LEARNING OF |
15 | IPTABLES? |
16 | |
17 | TnR |
18 | Hiren |
Subject | Author |
---|---|
Re: [gentoo-user] iptables question | "Boyd Stephen Smith Jr." <bss03@××××××××××.net> |
Re: [gentoo-user] iptables question | Uwe Thiem <uwix@××××.na> |
Re: [gentoo-user] iptables question | JimD <Jim@×××××××××××××××××.org> |
[gentoo-user] Re: iptables question | James <wireless@×××××××××××.com> |