Hey guys im trying to test this simple IPTables i placed in a script in my centos box.
Quote:
iptabels -F
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -P TCP -m state --state ESTABLISHED,RELATED -j ACCEPT
iptabels -A OUTPUT -p TCP -j ACCEPT
|
im trying to test this using NMAP, i tried to NMAP it using -sT,-sS ...etc
but i always recieved "operation not permitted" but if i removed the state i just place
Quote:
iptables -A INPUT -P TCP -j ACCEPT
iptabels -A OUTPUT -p TCP -j ACCEPT
|
i received a reply displaying the ports.
is there something wrong with the script thats why i cant NMAP it if the state is placed or theres something wrong on how i NMAP it?