ssh only from known ip addresses

Jorge Fábregas jorge.fabregas at gmail.com
Sat Mar 22 20:36:47 UTC 2014


On 03/22/2014 04:07 PM, Michael C Cambria wrote:
> Is there firewalld-cmd syntax for this?  I'm assuming there is given I 
> must have screwed the default up in the first place.  I'm using Fedora 
> 19 running in a headless VM.

I'm really not sure about firewall-cmd but you could just modify the XML
definition file for the zone located at:

/etc/firewalld/zones/public.xml

..and change :

<zone target="REJECT">
to
<zone target="DROP">

...followed by:

# systemctl restart firewalld

HTH,
Jorge


More information about the firewalld-users mailing list