As we all know, VPN is used in daily work. For example, I have a iphone case website which is located in Japan, I must use VPN to visit it. Here, I will use Linode VPS as example to describe how to build a PPTP VPN server in Debian/Ubuntu Linux environment.
Find Articles, Free Articles Directory | Web Hosting Articles
Debian
Building A Debian DNS System
The Master Server First lets get our Master server up and running. Since BIND has been known to have it's fair share of exploits, we're going to toss it in a chroot jail. I'm not going to cover that since Falko has written an excellent guide for that over here.
Find Articles, Free Articles Directory | Web Hosting Articles
How to Set up a Minecraft Dedicated Server on Debian Linux [Tutorial] [HD]
All Links & Info Here: arkaman.com
How do I make a VPS hosting companies on a Debian server?
question of bikcmp2 : How do I ask a VPS hosting companies on a Debian server
I want to make a VPS hosting company, as BODHOST’s VPS’es and others. Basically just a VPS and I can be a virtual machine to you and resources. What server software would do the same on Debian Linux Best Answer:
What do you think? Answer below!
Setting up pptpd on debian
There are other giudes to do this, but none seemed complete, I had to get the iptables rules from the debug document on poptop.org. I guess they are not always needed.
I started with a clean install of lenny from http://rackspacecloud.com.
Install poptop
# aptitude install pptpd
Edit pptpd config files
/etc/pptpd.conf
You need to set the private ip of the server and the ip range for clients, the 2 lines are added to this file:
localip 192.168.0.1
remoteip 192.168.0.10-20
Set them to whatever private (or public) ip addressing you want. You could use IP addresses currently available in your network, if you do this you will not need to add the iptables rules for natting later in this guide.
/etc/ppp/pptpd-options
Option 1
Set ms-wins and ms-dns to the name server the server you are currently working on is using (look in reolv.conf).
Option 2
Or as I did install dnsmasq on the server and run it as a chaching dns server
# aptitude install dnsmasq
And then set ms-dns and ms-wins to 192.168.0.1 (or the localip you set)
/etc/ppp/chap-secrets
Setup users and passwords to connect the pptp server
username pptpd somepassword *
Turn on IP Forwarding
# echo 1 > /proc/sys/net/ipv4/ip_forward
Set the change permanantly in /etc/sysctl.conf by uncommenting the line:
net.ipv4.ip_forward=1
Turn on NATing
If you have created a new private network for your pptpd server, you probably have, you need to add a rule to iptables.
# iptables –table nat –append POSTROUTING \
–out-interface eth0 –jump MASQUERADE
But this rule needs be persistant so we need to create a script to run when the interface starts up
# iptables-save > /etc/iptables.conf
Create a new file: /etc/network/if-up.d/iptables and paste in the following
#!/bin/sh
/sbin/iptables-restore < /etc/iptables.conf
Set it to executable
# chmod 755 /etc/network/if-up.d/iptables
All Done!. Just startup pptpd
# /etc/init.d/pptpd start
THE WAREZ PLANET |WAREZ HOSTING | OFFSHORE HOST | OFFSHORE HOSTING
Debian 6.0 Breaks Free of Restrictive Licenses
Debian 6.0 Breaks Free of Restrictive Licenses
The new operating system release, code-named “Squeeze,” comes in versions based on both Linux and FreeBSD kernels.
Read more on PC World
Debian 6.0 breaks free of restrictive licenses
Following a full two years of development, the Debian Project released on Sunday version 6.0 of its namesake Linux distribution, code-named Squeeze.
Read more on InfoWorld
Debian 6.0 debuts FreeBSD version, splits off suspect packages
The Debian Project announced a stable Debian 6.0, code-named “Squeeze,” available for the first time in a preview FreeBSD version.
Read more on Desktop Linux