Académique Documents
Professionnel Documents
Culture Documents
Firstly, before we go any further you are going to need the following:
1. A rooted Android device
2. A VPN server running (OpenVPN)
2. Now go to Settings > More > Tethering & Portable Hotspot and enable the Portable Wi-Fi Hotspot
3. Now open the Android Terminal Emulator, this can also be downloaded from below if its not
present on your device.
(Link: https://my.pcloud.com/publink/show?code=XZDSI4ZhaDAIlRDSejYLPelGk6cASgSGlgk)
6. Now type netcfg to show the name / status of the various network interfaces:
Tip: copy and paste the above in to the Terminal Emulator to save you typing it out line by line on
your phone and possibly making mistakes. Maybe save it as a txt file on your phones SD card and
copy and paste from that, as I have done below.
8. That basically it for the configuration on your phone, the changes will however be lost when the phone
is reset.
To make the changes permanent create a file called userinit.sh in /data/local and paste all the iptable
commands in it. This will basically run the IP tables commands again when the phone boots, saving
you from doing so manually.
An easy way to do this is with Root Explorer which can be downloaded below.
(Link: https://my.pcloud.com/publink/show?code=XZmBI4ZFNL4V1xkGGVNlmU8qm2fbpad7WSy)
10. Once you have changed the DNS server address Windows should be happy it has internet access:
11. Both your mobile phone and any client device connected to it via tethering can access any resources
on your home network, such as network shares: