Update 'README.md'

This commit is contained in:
2021-12-02 14:58:57 -05:00
parent 055e5c4138
commit a99b09ee7b

View File

@@ -12,3 +12,9 @@ You can pass in the `-f|--force` option to force the script to run.
# Backup Router
The opnsense-carp-dhcp-backup.php should be saved to `/usr/local/etc/rc.syshook.d/config/20-opnsense-carp-dhcp-master` and made executable. This will update the gateway IP after the config is updated. Please replace the varaibles with your own values.
## Variables
$wanInterface: This should be the wan interface as default. It could also be another opt# interface name as well.
$gatewayName: should be the name of the manual gateway used for the static WAN IP.
$wanStaticIP: This should be the private IP address for the Static WAN Interface.
$wanStaticIPSubnet: This should be the subnet bits for the Static WAN Interafce, ex. 30