two PMG's with the same settings

weite

Active Member
Feb 14, 2019
16
1
43
60
Short question! I've two locations with each one PMG. My Question is, how can I replicate the settings (whitelist, blacklist,....) between the two PMGs?
Is HA the rithg way, or is there a other possibility?
 
The PMG clustering stack should work also across links with little bandwith/large latency - so this could be an option
Alternatively you can also backup one system and restore the backup on the other one

I hope this helps!
 
Unfortunately, both options do not work. On both locations I have a Mail Server. The settings in the PMG of Configuration->Mail Proxy-> Transport and Networks are different and will than overwritten.
Is there a way to use HA without of syncing the both settings of Configuration->Mail Proxy-> Transport and Network?

I know it's a special and perhaps luxury problem. :)
 
Unfortunately, both options do not work. On both locations I have a Mail Server. The settings in the PMG of Configuration->Mail Proxy-> Transport and Networks are different and will than overwritten.
Question is - if you cannot add the settings for both sites there (make sure that the Networks are small enough so not the whole internet can relay through your PMG :)

Is there a way to use HA without of syncing the both settings of Configuration->Mail Proxy-> Transport and Network?
No - there is no selective sync

an alternative (a bit more involved though) - would be to script the creation of the rule-database using pmgsh:
https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/config/ruledb
but it would be quite a bit of effort.