Update 'README.md'
This commit is contained in:
@@ -11,4 +11,10 @@ You can pass in the `-f|--force` option to force the script to run.
|
|||||||
|
|
||||||
|
|
||||||
# Backup Router
|
# 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.
|
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
|
||||||
Reference in New Issue
Block a user