We are trying to migrate our current OS to BalenaOS but for me it is not clear where to put the following:
- Custom UDEV rules:
SUBSYSTEM=="net", DEVPATH=="/devices/pci*/net/e*", NAME="lan0"
- IP forwarding rules (
MASQUERADEfor forwading external WIFI ports to internal devices connected via ethernet:
post-up iptables -t nat -A PREROUTING -p tcp --dport 2111 -j DNAT --to-destination 10.39.46.12:2111
Thanks in advance