![]() You can list all the interfaces typing netcfg the root terminalĪs for terminal emulator, I use ConnectBot:ĬonnectBot allows a terminal emulator on your device for connections The tun0 is the VPN tunnel that you receive from the remote server. To send it to the WiFi hotspot, replace it with ap0 (Note: Quoted text has been edited to fit the site's formatting style.)ĪTTENTION: Part of the rules where it says wlan0, this is interface that corresponds to where you want send the connection. Also, be sure to make a folder with Root Browser and paste the code there, as this resets after re-boot. ![]() Ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61 Ip route add 192.168.43.0/24 dev wlan0 scope link table 61 Ip route add default dev tun0 scope link table 61 Iptables -t nat -I POSTROUTING -j MASQUERADE Make sure to paste to a new folder using Root Browser first and copy to T.E. Launch Terminal emulator and on the first line type "su" (without the quotes) and press enterĬopy and paste this to the Terminal Emulator.Activate your hotspot and connect to your VPN. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |