carpsettings
0.1.0
Services: CARP Settings
['installedpackages']['carpsettings']['config']
pkg_edit.php?xml=carp_settings.xml&id=0
CARP Virtual IPs
/pkg.php?xml=carp.xml
CARP Status
carp_status.php
CARP Settings
pkg_edit.php?xml=carp_settings.xml&id=0
PFSync Enabled
pfsyncenabled
PFSync IP
pfsyncip
PFSync Interface
pfsyncinterface
Load Balancing
balancing
checkbox
Preemption
premption
checkbox
Synchrnoize Enabled
pfsyncenabled
PFSync transfers state insertion, update, and deletion messages between firewalls. Each firewall sends these messages out via multicast on a specified interface, using the PFSYNC protocol (IP Protocol 240). It also listens on that interface for similar messages from other firewalls, and imports them into the local state table.
checkbox
Synchronize Interface
pfsyncinterface
interfaces_selection
If Synchronize State is enabled, it will utilize this interface for communication. NOTE! You must define a IP on each machin participating in this failver group. NOTE: You must have an IP assigned to the interface on any participating sync nodes.
Load Balancing
balancing
If this feature is enabled, CARP source-hashes the originating IP of a request. The hash is then used to select a virtual host from the available pool to handle the request. This is disabled by default.
checkbox
Preemption
premption
When preemption is enabled, each CARP host will look at the advskew (Advertising Frequency) parameter in the advertisements it receives from the master, to try to determine whether it can advertise more frequently. If so, it will begin advertising, and the current master, seeing that there is another host with a lower advskew, will bow out.
checkbox
Synchronize rules
synchronizerules
When this option is enabled, this system will automatically sync the firewalls rules over to the other carp host every 5 minutes.
checkbox
Synchronize to IP
synchronizetoip
Enter the IP address of the firewall you would like to synchornize your rules to.
input
Known Hosts
knownhosts
Paste in your authorized hosts file generated from OpenSSH.
4
50
textarea
Authorized Keys
authorizedkeys
Paste in your Authorized Keys file generated from OpenSSH.
4
50
textarea
system("/bin/mkdir -p /root/.ssh");
if($_POST['knownhosts'] != "") {
$fout = fopen("/root/.ssh/known_hosts","w");
fwrite($fout, $_POST['knownhosts']);
fclose($fout);
}
if($_POST['authorizedkeys'] != "") {
$fout = fopen("/root/.ssh/authorized_keys","w");
fwrite($fout, $_POST['authorizedkeys']);
fclose($fout);
}