Lets talk tech
An IT professional and a technology enthusiast interested in SOA, FMW, database and linux.
Friday, February 8, 2019
iptables quick recokner
iptables -L -n -v ## List current rules
iptables -A INPUT -s 107.196.150.48 -j DROP ## Drop all packets from Source IP
iptables -A INPUT -s 107.196.150.48 -j ACCEPT ## Accept all packets from Source IP
iptables -F # Flush IP Tables
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment