Firefox 16, a treat for developers http://t.co/cnd27CzT
Setting up a PPTP VPN in Linux
PPTP or PopTop is a vpn implementation that is rather similar to OpenVPN. The difference is that PPTP is quite a bit less secure than OpenVPN, as it is not encrypted. That said, if you need quick VPN solution that’s easy and hassle free to set up, PPTP is the obvious choice.
The test system here is Debian 6.0 Squeeze (x64). The basic steps are the same; just use your own distro’s package manager instead.
We first need to get the software itself installed. This can be achieved using the following command:
sudo apt-get install pptpd
That will install the PPTP daemon and some of its dependencies. Wait for it to finish, it shouldn’t take long.
After that, we just need to configure it a bit. The default PPTP configuration file is located at /etc/pptpd.conf. This may vary according to your distro, the debian package also specifies /etc/ppp/pptpd-options
Let’s get down to configuring the server, shall we? Open up pptpd.conf in your favorite text editor. We only need to add two lines to it, they’re as follows:
The Local IP is the IP address of the server, remoteip specifies the IPs the vpn will assign its clients. Feel free to change them around as seen fit.
Next, move onto /etc/ppp/pptpd-options. This file defines some global settings for the pptp server to use. I’m pasting mine below, configure it as needed.
Be sure to change the ms-dns directive to your router or server’s dns server. Only thing left now is to configure the users who can use the VPN. This is done by editing the /etc/ppp/chap-secrets file.
This is what the default template looks like:
# client server secret IP addresses
user * password *
Specify your users according to that format and you’re almost done. Only one thing needs to be done now, that is giving the pptp server a restart.
With that, your pptp server setup is complete. If you run into any problems, take a look at /var/log/syslog. Whatever went wrong will be logged there.
You can connect to this VPN server from almost any VPN client that exists. PPTP is very common nowadays.
Thanks to convexity for this Post
Like us on Facebook
This week Top Posts
- Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
- Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
- Install and Configure Samba share in Ubuntu 13.04 Raring Ringtail , 12.10, 12.04| Howto : Updated 05-04-2013: One of the most asked features for Samba is a graphical user interface to help w...0 comment(s) |
- How to use Remote Desktop in Ubuntu : Sometimes, we need to access our computer from other locations when we’re not at home and such. This...0 comment(s) |
- Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
- Dictionaries in Python
- How to Install uTorrent Client on Ubuntu/Debian/Linux Mint
- Lists in Python
- Argument Handling in Python
- Setup your own Wikipedia like website using MediaWiki
- Administer your Server using Ajenti Server Manager
- “Brand New” Unixmen Forum is Now Live!
- How To: Disable or Enable Guest Account in Ubuntu 13.04
- Setup Your Own YouTube Like Website Using ClipBucket
- Retroshare: A Next Generation Secure Communication and File Sharing Platform
Copyright © 2008-2013 Unixmen.com .