Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

iptables rules on Linux server from command line

iptables rules on Linux server from command line

# service iptables stop

To allow ip address:
#  iptables -A INPUT -s 82.18.238.16 -j ACCEPT

To deny ip address:
#  iptables -A INPUT -s 82.18.238.16 -j DROP

#  service iptables save

#  service iptables start

Share on Twitter
Share on Facebook