Chat https://t.me/it_network_people
/interface/bridge add name=Bridge-Docker port-cost-mode=short
/ip/address add address=192.168.254.1/24 interface=Bridge-Docker network=192.168.254.0
/interface/veth add address=192.168.254.12/24 gateway=192.168.254.1 name=B4
/interface/bridge/port add bridge=Bridge-Docker interface=B4
/container add hostname=B4 interface=B4 mount=/usb1/docker_configs/b4:/etc/b4:rw name=b4-mikrotik remote-image=wiktorbgu/b4-mikrotik restart-interval=10s restart-max-count=50 restart-policy=always root-dir=/usb1/docker/b4-mikrotik start-on-boot=yes tmpfs=/tmp:100.0MiB:01777 dns=1.1.1.1,8.8.8.8,9.9.9.9
# after the container is installed and started, run
/ip dns set use-doh-server="" servers=192.168.254.12
To avoid DNS request interception and modification, it is recommended to configure DNS 192.168.254.11 in the B4 container settings. This address points to the DNSProxy container (https://hub.docker.com/r/wiktorbgu/dnsproxy-mikrotik), which forwards DNS queries to the configured DoH servers
Docs https://daniellavrushin.github.io/b4/
Settings - Logging Configuration ->
change path log file to RAM for minimal writes to disk
set to /tmp/log/b4/errors.log
Settings - Feature Flags ->
Firewall Monitor Interval in seconds (default 10s)
set to 0
группа с примерами конфигов
https://t.me/byebyebigbro
Content type
Image
Digest
sha256:c5b6e139f…
Size
19 MB
Last updated
8 days ago
docker pull wiktorbgu/b4-mikrotik:v1.73.0