Skip to content

HOWTO: Create pptpd server on Debian 6

March 29, 2012

….assuming fresh debian install

root@streamer:~# apt-get install pptpd

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
bcrelay ppp
The following NEW packages will be installed:
bcrelay ppp pptpd
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 496 kB of archives.
After this operation, 1,917 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.bg.debian.org/debian/ squeeze/main bcrelay amd64 1.3.4-3 [22.5 kB]
Get:2 http://ftp.bg.debian.org/debian/ squeeze/main ppp amd64 2.4.5-4 [378 kB]
Get:3 http://ftp.bg.debian.org/debian/ squeeze/main pptpd amd64 1.3.4-3 [95.7 kB]
Fetched 496 kB in 0s (7,893 kB/s)
………………..

root@streamer:~# grep -v ^# /etc/pptpd.conf |grep .

option /etc/ppp/pptpd-options
logwtmp
localip 172.100.100.100
remoteip 172.100.100.101-199

root@streamer:~# cat /etc/ppp/chap-secrets

# Secrets for authentication using CHAP
# client server secret IP addresses
vpn_username pptpd vpn_password *

Advertisements

From → Linux

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: