V2ray Mikrotik -

First Time Configuration - RouterOS - MikroTik Documentation

Example with redsocks (simpler):

This article will dive deep into the architecture, requirements, step-by-step configurations, and troubleshooting for deploying V2Ray alongside a MikroTik router. v2ray mikrotik

This write‑up covers the :

redsocks { local_ip = 192.168.88.2; local_port = 12345; ip = 192.168.88.2; port = 1080; type = socks5; } First Time Configuration - RouterOS - MikroTik Documentation

There are generally two ways to approach this integration: local_port = 12345

apt install redsocks