output of iptables ?
Friends ,
1)
/sbin/iptables -P input DROP
/sbin/iptables -P output DROP
/sbin/iptables -P forward DROP
For the above rules ,How I see the output of the above rules using :
iptables -L or other ?
2) Without save the iptables rules , How can I want to see all the iptables executed rules , output like the below way :
----------
*filter
:INPUT DROP [782:87634]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [120:12410]
-A INPUT -s 172.20.210.31 -j ACCEPT
----------
Last edited by shipon_97; 02-23-2015 at 04:26 AM.
|