System Configuration
System component configuration is under the top level system
object in /etc/flockd/flockd.json
"system": {}
The system
JSON object must exist, but can be empty.
Operations REST API Configuration
The Operations REST API is configured using the rest_api
JSON object.
This configuration will bind to all local IPv6 addresses.
"system": {
"rest_api": {
"bind_ip_addr": "::"
}
},
This configuration will bind to only the loopback IPv6 address. The Operations REST API will not be available from outside of the router.
"system": {
"rest_api": {
"bind_ip_addr": "::1"
}
},
By default a Linux host will operate as an IPv4/IPv6 dual stack node, meaning IPv4 requests will be serviced. If you only want to service IPv6 requests please see Bind IPv6 Only
This configuration will bind to all local IPv4 addresses.
"system": {
"rest_api": {
"bind_ip_addr": "0.0.0.0"
}
},
This configuration will bind to only the loopback IPv4 address. The Operations REST API will not be available from outside of the router.
"system": {
"rest_api": {
"bind_ip_addr": "127.0.0.1"
}
},
The rest_api
object is optional. If it is not specified the Operations REST API will not be started.