BPI-R4PRO-4E-OPENWRT-V24.10.0-Master-Devel: Working Docker `.config` and example

I’ve managed to get it working, see the pull request I raised: Many changes but mainly a .config that supports Docker and Wireguard. by mbana · Pull Request #3 · BPI-SINOVOIP/BPI-R4PRO-4E-OPENWRT-V24.10.0-Master-Devel · GitHub.

TODO

I need to figure out the correct configuration for nft because as you can see from the command I am running below and in the screenshot, it is using --network host:

root@OpenWrt:~# docker run --rm -it --network host alpine
/ # ping -c 1 bing.com
PING bing.com (150.171.28.10): 56 data bytes
64 bytes from 150.171.28.10: seq=0 ttl=120 time=1.100 ms

--- bing.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1.100/1.100/1.100 ms
/ # ping -c 1 google.com
PING google.com (142.250.140.113): 56 data bytes
64 bytes from 142.250.140.113: seq=0 ttl=114 time=1.469 ms

--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1.469/1.469/1.469 ms
/ # ping -c 1 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=57 time=1.455 ms

--- 1.1.1.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1.455/1.455/1.455 ms
/ # 

As you can see it is running OCI (Docker) containers just fine without dmesg showing any errors.

Misc

The only pending issue I have with the stock image is Flowtable corrupts large TCP packets on BananaPi BPI-R4-PRO-8X. @sinovoip or any else experiencing the same issue, please reach out to me.

I’ve uploaded a pre-built version over at https://drive.google.com/drive/folders/1Wx9LDcPkAKApx-9XxETy9AB3yfLlcN-s. Does anyone know a better way of changing the perma link that Google Drive generates to something more human readable?

I should also note there is tailscale and wireguard (I think) in the image - something which isn’t present in the official image.