V2ray Mikrotik -

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

Unlike Socks or HTTP proxy, TPROXY preserves the original destination IP. This means CDNs, banking apps, and gaming traffic work flawlessly. Create a config

Having V2Ray inside a container is useless if traffic doesn't flow through it. You need to redirect traffic from your LAN clients into the container’s proxy. Upload this file to /v2ray/conf/config


  "outbounds": [
    "protocol": "vless",
    "settings":  "vnext": [ "address": "vps.example.com", "port": 443, "users": [ "id": "UUID" ] ] ,
    "streamSettings": 
      "network": "ws",
      "wsSettings":  "path": "/ray" ,
      "security": "tls"
]