1 |
On 28 March 2006 15:38, Hiren Dave wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I want to configure firewall such that network 192.168.1.0/24 can |
5 |
> only access http server from server1(192.168.0.2/24) and |
6 |
> network 192.168.0.0/24 can not access http server. So I tried this: |
7 |
> |
8 |
> #service iptables stop |
9 |
> #iptables -P INPUT DROP |
10 |
> #iptables -t filter -A INPUT -s 192.168.1.0/24 --dport 80 -j ACCEPT |
11 |
> |
12 |
> But this command sends error that "Unknown arg: --dport" |
13 |
> HOW CAN I ACHIEVE THIS? |
14 |
|
15 |
Iptables is right, that line is nonsense. |
16 |
|
17 |
> |
18 |
> ALSO IS THERE ANY BOOKS OR ONLINE DOCUMENTS FOR PRACTICALLY LEARNING OF |
19 |
> IPTABLES? |
20 |
|
21 |
I don't have the URL handy right now, but google for "Iptables Tutorial |
22 |
1.2.0". |
23 |
|
24 |
Uwe |
25 |
|
26 |
-- |
27 |
Why do consumers keep buying products they will live to curse? |
28 |
-- |
29 |
gentoo-user@g.o mailing list |