Create a config.json for your V2Ray client (e.g., VMess outbound to your server).
Example minimal config:
"outbounds": [
"protocol": "vmess",
"settings":
"vnext": [
"address": "your-server.com",
"port": 443,
"users": [
"id": "your-uuid",
"security": "auto"
]
]
,
"streamSettings":
"network": "ws",
"security": "tls",
"wsSettings": "path": "/yourpath"
]
Upload this file to /v2ray/conf/config.json on the MikroTik filesystem. v2ray mikrotik
(192.168.1.10 = local proxy device)
Internet ←→ MikroTik (Gateway) ←→ V2Ray Proxy Box (192.168.88.10) ←→ LAN Clients
/ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=dst-nat to-addresses=v2ray-server Create a config
/ip firewall mangle add chain=prerouting connection-mark=v2ray-conn action=mark-routing new-routing-mark=to-v2ray Upload this file to /v2ray/conf/config