ndejong / pfsense_fauxapi

REST based API interface for pfSense 2.3.x and 2.4.x to facilitate devops
Apache License 2.0
354 stars 61 forks source link

HA Sync after update config #63

Closed jansinkeNL closed 4 years ago

jansinkeNL commented 4 years ago

I am using PFsense 2.4.5 and FAUXApi to automatic update some firewallrules. It works great. But in my situation we have a HA configuration. Normaly when i update Firewall1, Firewall2 is automatic updatet as wel. But when i use FAUXApi this is not the case. Am i doing something wrong ? Thanks for your help

ndejong commented 4 years ago

Try doing a send_event with filter sync after the update to firewall rules https://github.com/ndejong/pfsense_fauxapi#send_event

Please do let us know how it goes

jansinkeNL commented 4 years ago

It works, thanks a lot!!

After the config_patch, i send "filter sync" event and a couple of seconds later, the second firewall had the updated filter rules.