Install # pkg install v2ray Configuration Set v2ray system startup. Add content as following below to /etc/rc.conf # sysrc v2ray_enable=yes set v2ray's config.json of client. { "log": { "access": "", "error": "", "loglevel": "warning" }, "inbounds": [ { "tag": "socks", "port": 10808, // port of client for socks "listen": "127.0.0.1", "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } }, { "tag": "http", "port&q