On 07/05/2012 08:03 AM, I.S.C. William wrote:
> How I can interpret this code Iptables in Shorewall?
>
> iptables -A OUTPUT -d  1.168.0.0/16  -p tcp --dport 443 -j DROP
> iptables -A FORWARD -d  1.168.0.0/16  -p tcp --dport 443 -j DROP
> iptables -A INPUT -s  1.168.0.0/16  -p tcp --dport 443 -j DROP

Assuming that 1.168.0.0/16 is in the 'net' zone:

DROP    net:1.168.0.0/16        all                     tcp     443
DROP    all                     net:1.168.0.0/16        tcp     443

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to