"iptables -t filter -A INPUT --sport 6699 -j ACCEPT"

man iptables