Front | Info | Lists | Newsfeeds | Study Guide | What is BSD? |
pfSense High Availability Synchronization
Jeremy C. Reed This is a brief extract from the book pfSense Essentials. See http://www.reedmedia.net/books/pfsense/ for details. pfSense provides synchronization methods for sharing firewall state information and for sharing some pfSense configuration settings with one or more pfSense systems. Multiple systems knowing the same configurations can help prevent a single point of failure. The options for these are available via the System → High Avail. Sync page. The state or progress of network connections may be tracked by the PF firewall in a state table. This may be used to match traffic to already-established connections. The state entries may be shared with other pfSense peers using the pfsync protocol so they may be consistent in the case of failover. To enable transferring or accepting the state changes to or from another firewall, check the Synchronize states checkbox. Use the Synchronize Interface drop-down form to select the interface to be used. The state changes are sent using multicast by default. If you don't want to use multicast, enter a specific IPv4 address for the other pfSense system to synchronize with in the pfsync Synchronize Peer IP input field. WarningThe pfsync traffic is not encrypted. It is recommended that this connection is secured using IPsec or with a dedicated cable connection between the pfSense systems. Several different categories of configurations may be transferred from the pfSense system to another pfSense system. This configuration synchronization will only happen when enabled and the pfSense peer's version is the same pfSense version. Enter the remote pfSense system's IP address in the Synchronize Config to IP field. This is the IP address for the backup system. WarningDo not configure your backup pfSense systems to synchronize their copied configurations back to the main systems. You don't want to mistakenly overwrite the production configurations with the backups. Enter the other pfSense system's username and password (as used for its web login) in the Remote System Username and Remote System Password fields. (Repeat the password in the corresponding field to confirm it was typed in correctly.) Note that the backup server's password will be replaced with the current system's password after the configuration synchronization. The page also lists several checkboxes for enabling or disabling types of configurations to synchronize to the peer. These include:
Note that there are many other pfSense settings that are not synchronized. Click the Save button to enable these settings. When enabled, on normal configuration changes there are over 250 settings when changed that can trigger the configuration synchronization from this system to the other pfSense system. It can also be triggered manually to test it. If you have high availability enabled and the Synchronize Config to IP setting defined, the Status → Filter Reload page will have a Force Config Sync button which may be used to perform the configuration synchronization. Note this will push the selected configurations to the remote system overwriting those configurations there. The original chapter has cross-references for various topics. See the book for the supplementing chapters and sections about the DHCP server options, virtual IP / CARP settings, the firewall, and more. See http://www.reedmedia.net/books/pfsense/ for details. Please consider adding a review to Amazon.
DiscussionDiscuss this article below.
|
BSD Links · Advocacy· Drivers · Events · Flavours · FAQs · Guides · Programming · Security · Software · User Groups |