NixUser

NixUser.com | Unix User | Linux User | NixUser

iptables

IPTABLES DROP Rule not working

If iptables DROP rule is not working in server, use a REJECT rule instead. Even if the rule was added, the incoming traffic was not stopped, I used a REJECT rule instead and it stopped all incoming traffic. $ iptables -I INPUT -s IP_ADDRESS -j REJECT $ service iptables save $ service iptables restart After More

Linux Iptables

Linux comes with a firewall called netfilter, which is controlled by iptables. Here, I will explain the useful iptables commands for system admins and a super user with bash shell. Please remember that a wrong command will disconnect you from the system and will block your access to the server. iptables -L -n To display More