Wednesday 2 January 2013

Howto configure PPTP VPN in Ubuntu Intrepid and Jaunty

Howto configure PPTP VPN in Ubuntu Intrepid and Jaunty


Howto configure PPTP VPN in Ubuntu Intrepid and Jaunty
Method 1
Preparing your system
First you need to install the following packages
sudo apt-get install pptp-linux ppp pptpd
Configuration
First you need to edit /etc/ppp/chap-secrets file
sudo gedit /etc/ppp/chap-secrets
add the following line
Username PPTP Password *
Save and exit the file
Create /etc/ppp/peers/vpn1 file using the following command.The peers folder may be owned by group dip so get around that by adding yourself to the group .
touch /etc/ppp/peers/vpn1
sudo gedit /etc/ppp/peers/vpn1
Add the following to the vpn1 file
pty pptp remote..address.here --nolaunchpppd
name Username
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam vpn1
mru 1412
mtu 1412
Edit the options.pptp file as required. commented out the refuse-chap and refuse-mschap-v2 lines.
Establish the VPN connection with
sudo pppd call vpn1
or
sudo pon vpn1
Drop the connection when youre done with
sudo poff vpn1
create /etc/ppp/ip-up.d/route-traffic as follows.
#!/bin/bash
NET=10.0.0.0/8
IFACE=ppp0
route add -net ${NET} dev ${IFACE}
Make the file executable using the following command
sudo chmod 755 /etc/ppp/ip-up.d/route-traffic
Replace the 10.0.... address with the range of addresses you need to access on your remote machine.
So, to get the VPN up in Jaunty, Do the following (in /etc/ppp/ip-up.d)
sudo pon vpn1
sudo ./route-traffic
What is a VPN?
VPNs (Virtual Private Networks) were first used by companies to enable their employees to securely access internal systems such as email remotely (e.g. from home or while on business trips). Today they are increasingly being used for personal use by individuals to protect their privacy while online in public places (e.g. when using the wi-fi connection in a cafe) or in a country where the internet is censored / blocked (e.g. China, Saudi Arabia).
Why do I need a VPN?
Whether youre an expat living in a foreign country where the internet is heavily regulated, a mobile user constantly on the road, or just someone concerned with maintaining their privacy online, having aVPNis becoming essential.
VpnTraffic-1 tap vpn for Android,35+ Countries servers.Fast and Stable!
VpnTraffic - Unblock your Internet, Bypass location-based blocks! Select a server location to connect to,40+ Countries VPN servers worldwide.Support pptp and l2tp/ipsec.
If you need Unblock all websites Including Facebook, Twitter, and more?
If you need Change your IP address?
If you need Watch BBC iPlayer from anywhere in the World?
If you need Watch Netflix Outside the US?
VpnTraffic features:
- 1 tap connect to our vpn server,Free setup!
- Save username/passwords,only need select a server location to connect to
- No bandwidth limitations
- Encrypts your internet traffic
- Unblock government and corporate restrictions,Bypass location-based blocks.
- Unlimited switches between VPN server locations (35+ Countries Around the world)
- Support pptp and l2tp/ipsec
- Works with wifi, 3G, GSM, and all mobile data carriers
What you need is a VPN account !
Before you make an order, you can Trial our VPN Service for3 days.
Only$1.99
High Speed
All country server
buy cheap vpn at vpntraffic

No comments:

Post a Comment

Note: only a member of this blog may post a comment.