Date: Fri, 29 Aug 2014 17:39:16 +0200
To: firewalld-users(a)lists.fedorahosted.org; patrickrhinkley(a)outlook.com
Subject: Re: how to block incoming and outgoing connections with IP?
On 08/28/2014 04:33 PM, Patrick Hinkley wrote:
> Given an IP address, how can I prevent any connection both to and from
> that IP? If there are multiple methods, please describe the pros and
> cons of each.
reject incoming from IP:
firewall-cmd --add-rich-rule='rule family="ipv4" source
reject incoming to IP:
firewall-cmd --add-rich-rule='rule family="ipv4" destination
So far we don't handle outbound traffic in firewalld.