Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.


  Search this Thread
Old 03-20-2005, 04:51 PM   #1
Registered: Aug 2003
Location: Haarlem, The Netherlands
Distribution: Slackware, FreeBSD
Posts: 178

Rep: Reputation: 30
Post DISCUSSION: PPTP VPN on Slackware How-to

This thread is to discuss the article titled: PPTP VPN on Slackware How-to
Old 09-12-2005, 11:15 PM   #2
Monkey Magic
LQ Newbie
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
polbox mirrors?

Does polbox have any mirrors? I've been trying to contact for the last few weeks with no luck (it times out). Are other people still seeing polbox?
Old 09-13-2005, 05:39 PM   #3
Monkey Magic
LQ Newbie
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
OK, per chance, it worked today. The new link for the MPPC stuff is
Old 06-05-2006, 01:54 PM   #4
Registered: Jan 2006
Posts: 51

Rep: Reputation: 15
i configured all for slackware server...

but wen i try to connect from windows client appear
error 800 unable to conecto to client..

do you know if at windows do i have to soecific something??? on the propieties..??
Old 06-05-2006, 02:16 PM   #5
Registered: Jan 2006
Posts: 51

Rep: Reputation: 15
i turned off the firewall the questions that i have are....

at the menu config ... in the kernel the options for PPP i selected like this

<M>PPP (point-to-point protocol) support
[ ] PPP multilink support (EXPERIMENTAL)[*] PPP filtering
<M>PPP support for async serial ports
<M>PPP support for sync tty ports
<M>PPP Deflate compression
<M>PPP BSD-Compress compression[*]Microsoft PPP compression/encryption (MPPC/MPPE)

if this is ok??

well other think i think could be the error for not connect the client windows to my server linux is that

/etc/pptpd.conf didnt exist at my slackware i have to copied from the directory /pptp-2../samples to /etc

other thing the file /etc/ppp/options.pptpd doesnt exist only existe
/etc/ppp/option .. i have to copied to this location from the samples too

my slackware version is 10.0
can you helpe to find wich is the error?? i can answer all you ask me please...
Old 07-07-2006, 08:07 AM   #6
LQ Newbie
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
A problem!
I did everything as written in Djbanaan's article and ... found two problems:
1. is missing and I can't find it for Slackware (???). Problem occurs when pptpd is started "properly" (/usr/sbin/pptpd). However, when I start pptpd directly from command line, it doesn't ask for and runs.
2. when pptpd is running I can't connect using windows xp sp2 client. Returned error code is 619. Firewall is, of course, off.

What is wrong?

(slackware 10.2)

Greets, Lukas
Old 05-20-2009, 01:01 PM   #7
LQ Newbie
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
I haven't ran slackware since around 1999 i've been on ubuntoo lately or whatever it's called. But setting up a VPN on a shared hosting account isn't that fun you should just get a dedicated server if you can afford it maybe split the cost with some friends.

Last edited by XavierP; 07-24-2009 at 08:23 AM. Reason: Superfluous Advertising Removed
Old 07-07-2009, 04:24 AM   #8
LQ Newbie
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
Although i'm not a big fan of slackware linux i know it's the toughest one of them all (along with debian if i'm not mistaking). People now are starting to use linux more and more (which is a good thing) but the similarities between linux and windows (i'm referring to the graphical user interface) are just annoying. I know they must make it pretty and all but cmon...
Anyway I'll always love linux and my web hosting plans run under linux really well.

Last edited by XavierP; 07-24-2009 at 08:22 AM. Reason: Superfluous Link Removed
Old 11-08-2009, 06:22 AM   #9
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.2 (multilib)
Posts: 1,239

Rep: Reputation: 59
I have just configured my PC to connect to my daughter's University using VPN.

The steps I needed were these

1. Install pptd package from slackbuilds

2. add to rc.modules
/sbin/modprobe ppp_mppe

3. mkdir /etc/ppp/peers

4. symlink bin/ip to sbin/ip

5. Create file



/sbin/route add -host
and make it executable

6. pptpsetup --create imperial --server NETWORK_ADDRESS --username USERNAME --password PASSWORD

7. pppd call imperial dump debug logfd 2 nodetach require-mppe

this gets ppp0 running

8. /sbin/ip route add default dev ppp0

This adds ppp0 to the routing table

9. We can then connect to her folder using konquereor


10. login as\username
Old 02-24-2010, 04:57 AM   #10
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Rep: Reputation: 19
I just used your guide arubin to connect to bristol university vpn. Thanks a lot!

Just a couple of things I noticed though:

The package you want from slackbuilds is "pptp" not "pptd"

When I ran
pppd call imperial dump debug logfd 2 nodetach require-mppe
the last line of output was
Can't execute /etc/ppp/ip-up: Invalid argument
I tried running
route add -host
as root in a separate console and it doesn't do anything. I tried connecting without the ip-up script present and it worked fine.

Either way I can access my files stored at uni now, thanks again!
Old 08-09-2010, 08:40 AM   #11
LQ Newbie
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Need help setting up routing to vpn service

I'm trying to connect from my home to my vpn service using slackware 13.1.

I managed to set up the client correctly and it connects to the vpn.
This is the output from /var/logs/messages:

pppd[3307]: CHAP authentication succeeded
pppd[3307]: MPPE 128-bit stateless compression enabled
pppd[3307]: local IP address
pppd[3307]: remote IP address

This is output of ifconfig:

ppp0 Link encap:Point-to-Point Protocol
inet addr: P-t-P: Mask:
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:62 (62.0 B) TX bytes:79893 (78.0 KiB)

My problem is setting up the routing for the connection to go from the vpn server to eth0

when I type:
route add -net netmask dev ppp0

that doesn't work. If anyone could help it would be much appreciated


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pptp vpn netmask scheidel21 Linux - Networking 5 03-01-2010 07:19 AM
VPN with PPTP and MPPE Markup Linux - Networking 3 10-16-2006 06:59 PM
VPN pptp Connection GroverB Linux - Networking 1 10-29-2005 03:13 PM
Vpn, Pptp???? ABL Linux - Networking 3 03-11-2005 04:54 PM
Support for PPTP VPN laburns Linux - Networking 3 03-06-2003 03:11 AM > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration