The HOOC Connect E (HOOC embedded gateway) is primarily for developers and integrators who want to implement the HOOC solution in their own hardware. In this case, the HOOC solution can be used without additional hardware. Currently, the platforms Raspberry PI, Linux and MAC are supported.
The command line parameters can be listed by the flag --help
.
Usage:
app_embeddedgateway [flags]
app_embeddedgateway [command]
Available Commands:
help Help about any command
hwid generates the hardware identifier for registration
Flags:
--api.address string address onto which the api server should bind (default "127.0.0.1")
--api.enable should the API Server be enabled or not (default true)
--api.port int port onto which the api server should bind (default 1323)
--dhcpv4.enable should the DHCPv4 Server be enabled or not, the server will distribute IPs from the subnet of the vpn.linux.tap interface.
--dhcpv4.range.end ip the last IP address of the DHCPv4 distribution range (default 172.17.17.50)
--dhcpv4.range.start ip the first IP address of the DHCPv4 distribution range (default 172.17.17.20)
-h, --help help for app_embeddedgateway_deactivated
--log.file string path where the log should be written, if not defined the log output will be written to the stdout
--version version for app_embeddedgateway_deactivated
--vpn.linux.bridge string name of the bridge interface to which the VPN should be added, if not defined a standalone TAP (hooc-tap0) interface is created
--vpn.linux.mac string mac address of the TAP. If not defined, a random is generated or if bridge is configured, the one of the bridge interface is used.
--vpn.linux.address ip-cidr the IP address of the vpn.linux.tap interface, use 0.0.0.0/32 in order to set no address (default 172.17.17.17/24). It is ignored, if vpn.linux.bridge is used.
--vpn.linux.tap string name of the tap interface to be created for the VPN connection (default "hooc-tap0")
--vpn.retryinterval duration retry interval for reconnects to the VPN (default 15s)
Use "app_embeddedgateway [command] --help" for more information about a command.
The HOOC embedded gateway provides a REST API for communication with a higher-level application. The API definition (swagger) can be downloaded here.