i want to run
https://v2raya.org/en/docs/prologue/ins ... on/docker/this on mikrotik container when i install the image normally it work but transparent proxy of the container wont work.
to run that correctly it should be run with the command bellow
# run v2raya docker run -d \ --restart=always \ --privileged \ --network=host \ --name v2raya \ -e V2RAYA_ADDRESS=0.0.0.0:2017 \ -v /lib/modules:/lib/modules:ro \ -v /etc/resolv.conf:/etc/resolv.conf \ -v /etc/v2raya:/etc/v2raya \ mzz2017/v2raya
but i don't know how to run this like that can anybody help me with this
So you will not be able to use the V2Raya since it relies on some Iptables Kernel Modules which are not loaded into the RouterOS kernel (e.g. TProxy). What else can be done?! Try the Tun2Socks approach. That's already what is being done on the client sides of Android phones to run the app in full system VPN mode.
There are several implementations of TUN2Socks. The oldest one is BadVPN which is 15 years old and not maintained anymore. A recent one with better performance written in C is
https://github.com/heiher/hev-socks5-tunnel/
You will need to do Source Based Routing and manipulate routing table of the Container and also use some nat/masq with the Container's Iptable to deploy it as a transparent proxy or VPN tunnel on your Mikrotik, however that is not the hard part.
Wish Mikrotik offered built-in support of the xRay [
https://github.com/XTLS/] in the future...