1. Use the CLI directly on your device. Alternatively, you can also connect via SSH or the web interface.
2. Log in as an administrator.
3. Initialize the server.
doas TcHmiSrv --initialize –-password=<Passwort>
4. You can also pass the following parameters --endpoint=http://127.0.0.1:2010 / Creates a local endpoint for http on port 2010 --name=MyProject / Creates the server instance with the corresponding name
The server has been initialized. To display further settings, use the command
TcHmiSrv –help
Firewall
1. Open pf.conf to configure the firewall.
doas ee /etc/pf.conf
2. Add the port 2020.
pass in quick proto tcp to port 2020 keep state
3. Save and exit the editor.
4. Enter the command to reload the rules. The firewall must be activated for this.