iptables -INPUT DROP iptables -A INPUT -t tcp --dport 1234 -j ACCEPT