gredirectory.blogg.se

Use iphone as vpn hotspot
Use iphone as vpn hotspot




This is an extension to the answer provided by João José that would allow you to selectively direct certain traffic to VPN while letting other go directly. 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.

use iphone as vpn hotspot

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.Make sure you have a VPN app, like OpenVPN or DroidVPN ( I use DroidVPN and its the best).Quoted text originally written by SmokeyTech1 of XDA-Developers here: I tested it on my Android 4.4 on Blu studio and it works fine. I found some information that consists of adding iptables rules using command-line in your rooted device.






Use iphone as vpn hotspot