[Cialug] iptables rule -> firewalld

L. V. Lammert lvl at omnitec.net
Mon Sep 9 21:31:45 UTC 2019


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!


More information about the Cialug mailing list