1. iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

  2. iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT