byedpi + hev-socks5-tunnel in one container! Great work on Mikrotik!
50K+
Chat https://t.me/it_network_people
The most minimalistic build with a minimum of necessary libraries without a full OS
Weight ~3Mb
| Variable | Description |
|---|---|
CMD_UDP | By default, the common command from cmd for the container is used for ByeDPI. If you need to set a different command for UDP traffic, you can use this ENV together with the team specified in the cmd. |
QUIC | By default, QUIC traffic is ACCEPT, but it heavily loads the processor and to reduce the load, you can block it by setting it to 0 or REJECT |
/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.2/24 gateway=192.168.254.1 name=BYEDPI-TUN
/interface/bridge/port add bridge=Bridge-Docker interface=BYEDPI-TUN
/container/config set registry-url=https://registry-1.docker.io tmpdir=/usb1/docker/pull
/container add cmd="-Kt\\,h -d1 -s0+s -d3+s -s6+s -d9+s -s12+s -d15+s -s20+s -d25+s -s30+s -d35+s -An -Ku -a1 -An" env="QUIC=REJECT" interface=BYEDPI-TUN name=byedpi-hev-socks5-tunnel remote-image=wiktorbgu/byedpi-hev-socks5-tunnel restart-interval=10s restart-max-count=50 restart-policy=always root-dir=/usb1/docker/byedpi-hev-socks5-tunnel-redirect start-on-boot=yes
/routing/table add disabled=no fib name=dpi_mark
/ip/route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.254.2%Bridge-Docker routing-table=dpi_mark
/ip firewall mangle add action=mark-connection chain=prerouting connection-mark=no-mark dst-address-list=za_dpi_FWD in-interface-list=LAN new-connection-mark=to_dpi passthrough=yes
/ip firewall mangle add action=mark-routing chain=prerouting comment="To DPI" connection-mark=to_dpi in-interface-list=LAN new-routing-mark=dpi_mark passthrough=no routing-mark=!dpi_mark
/ip firewall filter set [find action=fasttrack-connection] connection-mark=no-mark
/container start [find interface=BYEDPI-TUN]
Content type
Image
Digest
sha256:820872b97…
Size
1.8 MB
Last updated
about 6 hours ago
docker pull wiktorbgu/byedpi-hev-socks5-tunnel