[Cialug] iptables rule -> firewalld
David Champion
dchamp1337 at gmail.com
Mon Sep 9 21:44:08 UTC 2019
Redhat documentation has a really nice page on firewalld.
-dc
On Mon, Sep 9, 2019 at 4:32 PM L. V. Lammert <lvl at omnitec.net> wrote:
> Need to persist a iptables rule, .. instead of hacking it in rc.local,
> woudl prefer to do it the 'firewalld' way. Any recommendations on
> translating?
>
> In this example, need to redirect all outbound port 25 traffic on a Docker
> host:
>
> iptables -t nat -I PREROUTING -p tcp --dport 25 -j DNAT --to <MX IP>:25
>
> All zones.
>
> Thanks!
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>
More information about the Cialug
mailing list