What's new
  • Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

Share VPN Connection via wifi hotspot


wilsonyow

Honorary Poster
Joined
Jul 1, 2015
Messages
712
Reaction
183
Age
23
Hello Mga ka PH (y) meron akong ishishare na trick na aking nabasa Para ma share nyo ung connection ng free VPN nio.. Sundin nio lang po ito
1.Kailangan rooted ang phone nyo
2.Download kayo ng Terminal Emulator sa playstore
3.Buksan nyo ung wifi hotspot tas i connect nyo narin ung vpn na gamit nyo
4.Buksan ang Terminal emulator dun sa tabi ng "$" type nio "su" tapos enter pag may lumabas na root permission allow nio lang
5.Pagkatapos nio i allow ung root permission type nio to sa tabi ng "#" "iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -I FORWARD -j ACCEPT
iptables -t nat -I POSTROUTING -j MASQUERADE
ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61"

6.Tanggalin nyo nalang ung quotation then wag nio kalimutang isave ung code na yan sa notepad kasi kada reboot ng cp mo nawawala yan kailangan mo ulit gawin

Un lang po sorry first time ko lang mag post :) pa feedback na lang salamat (y)(y):)
 

jesss

Addict
Procedure :;)
1. You need a rooted device
2. Download Terminal Emulator
3. Activate your hotspot and connect to your VPN
4. Launch Terminal emulator and on the first line type "su" (without the quotes) and press enter
5. Copy and paste this to the Terminal Emulator, Make sure to Copy and Paste it at exact format as shown

iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -I FORWARD -j ACCEPT
iptables -t nat -I POSTROUTING -j MASQUERADE
ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61

6. That's it :)
NOTE: Repeat procedure after reboot to be able to Tether again .

That's all

Credits to XDA
 
Comment

Tobisawa

Honorary Poster
This tutorial is so simple
Direct to the point.

ROOT is NEEDED


First, Download Terminal Emulator from Playstore

Second, Connect the VPN or any free net you have there.

Third, Tether it Hotspot or Usb your choice

Fourth, Open Terminal Emulator

Fifth, Type "su" without Quotes, then enter

Sixth, Copy Paste this

iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -I FORWARD -j ACCEPT
iptables -t nat -I POSTROUTING -j MASQUERADE
ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61
Then Enter.


Finished, It should work now.

It resets after a reboot so, just do steps 2-6 after a reboot.
Better save it on a memo or something in your Android Phone :)
 
Comment

SoftICE

Journeyman
This tutorial is so simple
Direct to the point.

ROOT is NEEDED


First, Download Terminal Emulator from Playstore

Second, Connect the VPN or any free net you have there.

Third, Tether it Hotspot or Usb your choice

Fourth, Open Terminal Emulator

Fifth, Type "su" without Quotes, then enter

Sixth, Copy Paste this



Then Enter.


Finished, It should work now.

It resets after a reboot so, just do steps 2-6 after a reboot.
Better save it on a memo or something in your Android Phone :)
Thanks for the infoshare tol!
 
Comment

Like us on facebook

Online statistics

Members online
589
Guests online
739
Total visitors
1,328

Forum statistics

Threads
884,895
Messages
15,643,330
Members
1,411,279
Top