On 28 March 2006 15:38, Hiren Dave wrote: > Hi, > > I want to configure firewall such that network 192.168.1.0/24 can > only access http server from server1(192.168.0.2/24) and > network 192.168.0.0/24 can not access http server. So I tried this: > > #service iptables stop > #iptables -P INPUT DROP > #iptables -t filter -A INPUT -s 192.168.1.0/24 --dport 80 -j ACCEPT > > But this command sends error that "Unknown arg: --dport" > HOW CAN I ACHIEVE THIS?
Iptables is right, that line is nonsense. > > ALSO IS THERE ANY BOOKS OR ONLINE DOCUMENTS FOR PRACTICALLY LEARNING OF > IPTABLES? I don't have the URL handy right now, but google for "Iptables Tutorial 1.2.0". Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list