How to write right v2ray's configuration on openwrt?

I have build v2ray server on my vps,the configuration is as below:

cat /usr/local/etc/v2ray/config.json
    {
      "inbounds": [
      {
        "listen": "127.0.0.1",
        "port": 11055,
        "protocol": "vmess",
        "tag": "proxy",
        "settings": {
          "clients": [
            {"id": "xxxxxxxx", 
             "alterId": 0}]
        },
        "streamSettings": {
          "network": "ws",
          "wsSettings": {
            "path": "/tech"
          }
        }
      }
      ],

      "outbounds": [{
        "protocol": "freedom",
        "settings": {}
      }],

      "log": {
        "access": "/var/log/v2ray/access.log",
        "error": "/var/log/v2ray/error.log",
        "loglevel": "warning"
      }
    }

In my local pc, i build v2ray client and the configuration is as below:

cat /usr/local/etc/v2ray/config.json
    {
    "inbounds": [{
      "port": 10800,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "sniffing": {
        "enabled": true,
        "destOverride": ["http", "tls"]
      },
      "settings": {
        "auth": "noauth",
        "udp": false
      }
    }],

    "inboundDetour": [
    {
      "port": 10801,
      "listen": "127.0.0.1",
      "protocol": "http",
      "settings": {
        "timeout": 0
      }
    }],

    "outbounds":
    [
      {
        "protocol": "vmess",
        "settings": {
         "network": "tcp,udp",
         "vnext": [{
            "address": "vps_ip",
            "port": 443,
            "users": [{
            "id": "xxxxxxxx", "level": 0, "alterId": 0, "security": "none"
            }]
          }]
        },
        "streamSettings": {
          "network": "ws",
          "security": "tls",
          "wsSettings": {
            "path": "/tech"
          },
          "tlsSettings": {
            "serverName": "",
            "allowInsecure": true
          }
        }
      },{
        "protocol": "freedom",
        "settings": {},
        "tag": "direct"
      }
    ],

    "routing": {
      "domainStrategy": "IPOnDemand",
      "rules": [{
        "type": "field",
        "outboundTag": "direct",
        "domain": ["geosite:cn"]
      },{
        "type": "field",
        "outboundTag": "direct",
        "ip": [
          "geoip:cn",
          "geoip:private"
          ]
        }
      ]
    },
    "log": {
      "access": "/var/log/v2ray-access.log",
      "error": "/var/log/v2ray-error.log",
      "loglevel": "warning"
    }
    }

It works fine when i set proxy on firefox.

Now i installed v2ray-openwrt on router,here is the configuration for v2ray:

 cat    /var/etc/v2ray/v2ray.main.json
{
	"log": {
		"access": "/var/log/v2ray-access.log",
		"loglevel": "warning",
		"error": "/var/log/v2ray-error.log"
	},
	"dns": {
		"hosts": {
			"example.com": "127.0.0.1"
		},
		"servers": [
			"1.1.1.1",
			"8.8.8.8",
			{
				"address": "114.114.114.114",
				"port": 53,
				"domains": [
					"geosite:cn"
				]
			},
			{
				"address": "223.5.5.5",
				"port": 53,
				"domains": [
					"geosite:cn"
				]
			}
		]
	},
	"routing": {
		"domainStrategy": "IPOnDemand",
		"rules": [
			{
				"type": "field",
				"ip": [
					"geoip:private",
					"geoip:cn"
				],
				"outboundTag": "direct"
			},
			{
				"type": "field",
				"domain": [
					"geosite:cn"
				],
				"outboundTag": "direct"
			},
			{
				"type": "field",
				"protocol": [
					"bittorrent"
				],
				"outboundTag": "direct"
			},
			{
				"type": "field",
				"port": "53",
				"network": "udp",
				"inboundTag": [
					"transparent"
				],
				"outboundTag": "dns_out"
			},
			{
				"type": "field",
				"ip": [
					"114.114.114.114",
					"223.5.5.5"
				],
				"outboundTag": "direct"
			},
			{
				"type": "field",
				"ip": [
					"1.1.1.1",
					"8.8.8.8",
					"208.67.222.222"
				],
				"outboundTag": "proxy"
			},
			{
				"type": "field",
				"port": "123",
				"network": "udp",
				"outboundTag": "direct"
			}
		]
	},
	"inbounds": [
		{
			"listen": "0.0.0.0",
			"port": 10800,
			"protocol": "socks",
			"settings": {
				"auth": "noauth",
				"udp": true,
				"ip": "127.0.0.1"
			},
			"streamSettings": {
				"sockopt": {
					
				}
			},
			"tag": "proxy",
			"sniffing": {
				"enabled": true,
				"destOverride": [
					"http",
					"tls"
				]
			}
		},
		{
			"port": 1081,
			"protocol": "dokodemo-door",
			"settings": {
				"followRedirect": true,
				"network": "tcp"
			},
			"streamSettings": {
				"sockopt": {
					"tproxy": "redirect"
				}
			},
			"tag": "transparent",
			"sniffing": {
				"enabled": true,
				"destOverride": [
					"http",
					"tls"
				]
			}
		}
	],
	"outbounds": [
		{
			"protocol": "vmess",
			"settings": {
				"vnext": [
					{
						"address": "vps_ip",
						"port": 443,
						"users": [
							{
								"id": "xxxxxxxx",
								"alterId": 0
							}
						]
					}
				]
			},
			"streamSettings": {
				"sockopt": {
					"mark": 255
				}
			},
			"tag": "proxy",
			"proxySettings": {
				"tag": "proxy"
			}
		}
	]
}

It can't work ,how to fix it?