you can clone this project and go to xray or v2ray folder and use this command.
in xray folder : ./xray run -config=<Your config file .json>
in v2ray folder : ./v2ray run -config=<Your config file .json>
and then in your Mozzila Firefox in setting tab go to proxy in proxy setting you should: 1 : enable " Manual proxy configuration " and write in first Box " 127.0.0.1 10809 " 2 : enable this option " Also use this proxy for HTTPS " 3 : enable " SOCKS v5 " 4 : enable " Proxy DNS when using SOCKS v5 " now evrything is ok for USE IT