Organizational Research By

Surprising Reserch Topic

Question:how to Only Block Incoming Traffic?


Only Block Incoming Traffic

To drop all incoming / forwarded packets, but allow outgoing traffic, enter:
# iptables -P INPUT DROP
# iptables -P FORWARD DROP
# iptables -P OUTPUT ACCEPT
# iptables -A INPUT -m state --state NEW,ESTABLISHED -j ACCEPT
# iptables -L -v -n

asked Sep 13, 2013 in LINUX by anonymous
edited Sep 12, 2013 by rajesh
+1 vote

Related Hot Questions

Government Jobs Opening