Wednesday, August 10, 2011

TUT: How to Install OpenVPN and Avail Free Mobile Internet

GingerDX

What is OpenVPN?

The main purpose of openvpn is to hide your real ip from the outside world by building and encrypting a private tunnel connection to a vpn server which acts like your proxy. You can have free internet by having a backdoor connection to your netwrok provider which bypasses its firewall/accounting server.

Troubleshooting:

  • Just post your problem on the comments section.

Disclaimer:

Do this at your OWN risk. The makers of this application or the author of this article is not responsible for any damage on your phone.
It may work on other Android phones but I haven't tested it yet.

Requirements:

  • Rooted Mini Pro
  • Root Explorer
  • OpenVPN Settings
  • OpenVPN Installer
  • Terminal Emulator
  • Busybox
  • OpenVPN config files
  • X10 Mini Pro tun.ko

Downloads:

Installation:

  1. Download and extract Openvpn.zip on your SD card. Copy the content of Tun.ko file inside /openvpn folder on your SD card. Replace old file.
  2. Install Root Explorer. Navigate to /system then click Mount r/w
  3. Install Openvpn Installer, Openvpn Settings, Terminal Emulator and Busybox (for Stock 2.1 ROM) | Install Openvpn Settings and Terminal Emulator (for Custom ROMs)
  4. Open Terminal Emulator and type in the following

For Stock 2.1 ROM

su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

busybox insmod /sdcard/openvpn/tun.ko
busybox cp /sdcard/openvpn/openvpn /system/xbin/openvpn
busybox cp /sdcard/openvpn/openvpn /system/xbin/tun.ko
chmod 700 /system/xbin/openvpn
mkdir /system/xbin/bb
busybox ln -s /system/bin/busybox /system/xbin/bb/ifconfig
busybox ln -s /system/bin/busybox /system/xbin/bb/route

busybox mount -o remount,rw /dev/block/mtdblock2 /system
busybox cp /sdcard/openvpn/chargemon /system/bin/chargemon
busybox cp /sdcard/openvpn/busybox /system/bin/busybox
reboot

For Custom ROMs

su
mkdir /system/xbin/bb

ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
ln -s /system/xbin/busybox /system/xbin/bb/route

reboot

5. Open OpenVPN Settings press the Menu -> Advanced

6. Check Load Tun Kernel Module. In tun module settings: Load module using: insmod | Path to tun module: /sdcard/openvpn/tun.ko (for Stock 2.1 ROM) /system/lib/modules/tun.ko (for Custom ROMs) | Path to configurations: /sdcard/openvpn

7. Exit application then go to Settings > Wireless & Networks > Mobile Networks > Access Point Names (Note: Ask your service provider on how to setup your APN settings)

8. Enabled Data access then open OpenVPN Settings. Enable Openvpn then choose from the configs below and wait for it to be connected.. Happy browsing!

Side notes:

  • The config file I provided is from Freeopenvpn.com. You can use it for free but it is not stable at most time. You can find paid and free OpenVPN services out there, just keep on looking.
  • If you want a better VPN service, I offer paid VPN service for a low price. Just contact me on: flippyupload@gmx.com

1 comments:

what password for download tun.ko?

Post a Comment