
#!/bin/sh # Description: REST API client for failover IP change. The following steps must be done on each firewall.įrom the pfSense web interface, go to Firewall > Rules > Failover.Ĭlick the first Add in the Edit Firewall Rule section and configure the rule as follows: With this, we delegate lifecycle management of the failover IP to CARP, by tweaking a bit of the pfSense CARP config to integrate the Scaleway Dedibox API Setting Failover rules
#Pfsense vlan priority password
Once done, the server reboots on the uploaded configuration.īefore configuring High Availability, rules to allow pfsync traffic have to be created on both firewalls.Ĭheck the box pfsync transfers state insertion, update, and deletion messages between firewallsĮnter the password of the admin user in both fieldsĮnter the IP address of the first firewall ( 172.16.1.1)

Click Restore Backup, leave Restore Area on all to restore all pfSense configuration options.Ĭlick Browse and select the previously created configuration file.Ĭlick Restore Configuration and confirm in the pop-up message to restore the configuration.

Once installed, log in with the default credentials (admin/pfsense) and go to Diagnostics > Backup & Restore.
#Pfsense vlan priority install
Install the second firewall from the steps described above. In the interface block replace the values for lan / opt1 / opt2 / opt3 as follows: On the first firewall the IP is configured as x.x.x.1, use x.x.x.2 for the second one. Replace the hostname value with pfsense2.

Open the newly created file in a text editor and scroll down to the system block.
