V2ray Mikrotik Review
/ip firewall mangle add chain=prerouting dst-address-type=!local in-interface=bridge1 dst-address=!YOUR_SERVER_IP action=mark-routing new-routing-mark=v2ray-table passthrough=yes Use code with caution.
Familiarity with IP address management and Mangle rules. Step 1: Enable Container Feature on MikroTik v2ray mikrotik
Create a bridge for the containers and a virtual ethernet interface to act as the "bridge" between MikroTik and the V2Ray container. /ip firewall mangle add chain=prerouting dst-address-type=
Ensure the output indicates that containers are enabled. After running this command, a full power cycle (turning the router off and on again) is required for the change to take full effect. Ensure the output indicates that containers are enabled
Give your proxy traffic its own separate routing table.
Containers need their own isolated network on your router. You'll create a virtual bridge and virtual Ethernet interfaces ( veth ) for them. Run these commands in order:


