Iptables rule to allow access only from one IP July 5, 2010 iptables -I INPUT -s (allowip) -p tcp –dport (port) -j ACCEPT iptables -A INPUT -s 0.0.0.0/24 -p tcp –dport (port) -j DROP Share this:TwitterLike Loading... Related