*Following is optional. It is required only when the default OUTPUT chain policy is set to DROP or REJECT iptables -A OUTPUT -p udp –sport 161:162 -d 0/0 –dport 1024:65535 -m state –state ESTABLISHED -j ACCEPT