V2ray Mikrotik ((link)) -

"inbounds": [ "port": 12345, "protocol": "dokodemo-door", "settings": "network": "tcp,udp", "followRedirect": true , "streamSettings": "sockopt": "tproxy": "redirect" ]

To make your local network traffic go through the container, you need to use mangle to mark traffic and a specific routing table to direct it. v2ray mikrotik