Topic: iRedMail firewall settings and OpenVPN
I find that iRedMail's implementation of iptables does not allow me to restore the needed forwarding rule for OpenVPN. Specifically, the following is required:
iptables -A POSTROUTING -t nat -s 10.8.0.0/24 -o eth0 -j MASQUERADE
But if you add this to /etc/default/iptables it gets an error that "-t cannot be used with iptables-restore". Now I swear I had both openvpn and iRedMail working on an earlier server under Debian 8, but I can't figure out how.
The question about adding this rule to iptables was asked before but no working answer was provided.
Thanks!
iRedMail 0.9.8
Debian 9 (Stretch)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.