summaryrefslogtreecommitdiff
path: root/fw/sim/srv/README.md
blob: 455800f5d9829f87c933020252a8ce9e69ed67e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Network setup for native sim firmware

This folder contains documentation to provide a network setup suitable to run
the native sim build of the firmware.

It assumes a Linux host, an executable file with the native sim firmware,
`systemd-networkd` as network configuration solution and `ufw` as firewall.

For network configuration the `zeth.netdev` and `zeth.network` files from this
folder have to be used with `systemd-networkd`.

The following is required to open the firewall for the firmware on the `zeth`
virtual network interface created by `systemd-networkd`:

```
ufw allow in on zeth to any port 1883 proto tcp
```