<p>Hi,</p> <p>I want to configure firewall such that network <a href="http://192.168.1.0/24">192.168.1.0/24</a> can<br>only access http server from server1(<a href="http://192.168.0.2/24">192.168.0.2/24</a>) and<br>network <a href="http://192.168.0.0/24"> 192.168.0.0/24</a> can not access http server. So I tried this:</p> <p>#service iptables stop<br>#iptables -P INPUT DROP<br>#iptables -t filter -A INPUT -s <a href="http://192.168.1.0/24">192.168.1.0/24</a> --dport 80 -j ACCEPT</p> <p>But this command sends error that "Unknown arg: --dport"</p> <div>HOW CAN I ACHIEVE THIS?</div> <div> </div> <div>ALSO IS THERE ANY BOOKS OR ONLINE DOCUMENTS FOR PRACTICALLY LEARNING OF IPTABLES?</div> <p>TnR<br>Hiren<br></p>