🔒 Closed Share VPN Connection via wifi hotspot

Status
Not open for further replies.

wilsonyow

Honorary Poster
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):)
 
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
 
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 :)
 
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!
 
Status
Not open for further replies.

About this Thread

  • 61
    Replies
  • 11K
    Views
  • 51
    Participants
Last reply from:
mongoose

Trending Topics

Online now

Members online
1,142
Guests online
1,362
Total visitors
2,504

Forum statistics

Threads
2,273,440
Posts
28,949,507
Members
1,235,747
Latest member
_usteng_
Back
Top