I was able to get my GL-MT6000 router to use v2rayA for OpenWrt to work with HTTP proxy PDANet TetherFi Netshare Tethering. Let me know if anybody needs the settings and I'll write up a guide.
That’s fantastic! Yes, please, we’d greatly appreciate it if you could write up a guide. Thank you in advance for your effort!
Tested on GL-MT6000
GL.iNet stock firmware OpenWrt 21.02 and earlier
SSH into Router and run these commands
Add v2rayA usign key
wget https://downloads.sourceforge.net/project/v2raya/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03
Import v2rayA feed
echo "src/gz v2raya https://downloads.sourceforge.net/project/v2raya/openwrt/$(. /etc/openwrt_release && echo "$DISTRIB_ARCH")" | tee -a "/etc/opkg/customfeeds.conf"
Update feeds
opkg update
Install the following packages
opkg install v2raya iptables-mod-conntrack-extra iptables-mod-extra iptables-mod-filter iptables-mod-tproxy kmod-ipt-nat6 xray-core v2fly-geoip v2fly-geosite
Setup v2rayA
uci set v2raya.config.enabled='1'
uci commit v2raya
Start v2rayA
/etc/init.d/v2raya start
Now Login to your router and use the repeater function to connect to you phone
then under network Multi-WAN disable tracking on the repeater Interface Status Track
Visit v2rayA web UI
http://<your_router_ip>:2017
Create a username and password
under setting
Transparent Proxy/System Proxy set
select On: do not split traffic
Transparent Proxy/System Proxy Implementation
select tproxy
Prevent DNS Spoofing set
Forward DNS Request
Then click create under HTTP
give your server a name and use the ip and port number given to you by pdanet or other tether software
then click connect button
then click the ready button
enjoy your tethering
Many thanks for posting this! I have tested with a MT-3000 (Beryl) and PDANet+ and found it to install and work OK. I have noticed that when I connect my computer directly to PDANet that a Wansview program I use for video cameras works fine, but when I connect through the router it won't show video. This is probably due to only configuring the server for http. Any idea on how to configure the other settings?