This software needs Termux
pkg upgrade
pkg install git
git clone --recurse-submodules https://github.com/s4l1h/androidproxy
After cloning repository You need to modify variables for your server.
(default username & password are akm and local proxy port 3120)
(default remote proxy port 7499 and ssh port 7498)
for more details please look at frp docs.
You can install it.
sh install.sh
And finaly starting services
sh start.sh
- Create Termux Boot symlinks.
sh termux-boot.sh
- You can use .bashrc instead of Termux Boot. You just need to put start.sh to your .bashrc file. It is a kind of monkey fix. It will be a problem if you connect via ssh.
echo $HOME/androidproxy/start.sh >> $HOME/.bashrc