Blocking all outgoing traffic except port 80 to a specific host

Thomas Woerner twoerner at redhat.com
Mon Feb 18 17:59:05 UTC 2013


On 02/07/2013 11:40 AM, Simon Lundmark wrote:
> Hello!
>
> I just installed Fedora 18 and got a nice surprise when I found out
> about FirewallD! It seems really useful for me (because I'm not
> directly an iptables rock star). But I did not find information on the
> wiki <https://fedoraproject.org/wiki/FirewallD> about my specific use
> case:
>
> I would like to block all outgoing traffic from the computer, except
> for port 80 to one specific host (say 192.168.0.17).
>
> I come from an Ubuntu background, and this blogpost describes how I
> would do something similar using UFW
> <http://mondotech.blogspot.se/2010/11/ufw-block-outgoing-traffic.html>:
> # ufw default deny outgoing
> # ufw allow out to 8.8.8.8 port 53
>
> How would I do something similar using FirewallD?
>
I am sorry, but limiting outgoing traffic is not possible with firewalld 
in a simple way at the moment.

I am working on a rich language and I will have a look how and if this 
could get integrated easily.

> Best regards
> Simon Lundmark
> _______________________________________________
> firewalld-users mailing list
> firewalld-users at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/firewalld-users
>



More information about the firewalld-users mailing list