This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dropping traffic from external ip address

I am struggling to get a working firewall rule to drop or reject traffic from an external ip address. My mail server keeps getting hammered by IP addresses it reports as being from Iran. I created a firewall rule at the top position but it isn't having any effect. I thought the system processed from the top down. What am I missing?



This thread was automatically locked due to age.
Parents Reply Children
  • I am trying to block all traffic that is both coming and going to an internal IP address (this server acts as a router for the network). so far I have tried the following: iptables -A INPUT -s 192.168.1.111 -j DROP & iptables -A OUTPUT -d 192.168.1.111 -j DROP, with 192.168.1.111 being the IP address I am trying to block traffic from. The local area network connects to br0....                Monkey.cool