LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices



Reply
 
Search this Thread
Old 03-20-2005, 05:51 PM   #1
djbanaan
Member
 
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-13-2005, 12:15 AM   #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 http://www.polbox.com/h/hs001/ for the last few weeks with no luck (it times out). Are other people still seeing polbox?
 
Old 09-13-2005, 06: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 http://mppe-mppc.alphacron.de/
 
Old 06-05-2006, 02:54 PM   #4
eder_michael11
Member
 
Registered: Jan 2006
Posts: 51

Rep: Reputation: 15
sorry..djbanaan
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, 03:16 PM   #5
eder_michael11
Member
 
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, 09:07 AM   #6
lukki
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. libwrap.so.0 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 libwrap.so.0 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, 02:01 PM   #7
mikese
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 09:23 AM. Reason: Superfluous Advertising Removed
 
Old 07-07-2009, 05:24 AM   #8
socialmaker
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 09:22 AM. Reason: Superfluous Link Removed
 
Old 11-08-2009, 07:22 AM   #9
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,211

Rep: Reputation: 57
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

/etc/ppp/ip-up

Quote:
#!/bin/sh

/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

smb://icfs.cc.ic.ac.uk/username

10. login as ic.ac.uk\username
 
Old 02-24-2010, 05:57 AM   #10
trumpet_tom
Member
 
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
Code:
pppd call imperial dump debug logfd 2 nodetach require-mppe
the last line of output was
Code:
Can't execute /etc/ppp/ip-up: Invalid argument
I tried running
Code:
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, 09:40 AM   #11
doyen
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 ipredator.se 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 93.182.149.27
pppd[3307]: remote IP address 93.182.149.2

This is output of ifconfig:


ppp0 Link encap:Point-to-Point Protocol
inet addr:93.182.149.27 P-t-P:93.182.149.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 Metric:1
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 93.182.149.0 netmask 255.255.255.0 dev ppp0

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


Reply


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 08:19 AM
VPN with PPTP and MPPE Markup Linux - Networking 3 10-16-2006 07:59 PM
VPN pptp Connection GroverB Linux - Networking 1 10-29-2005 04:13 PM
Vpn, Pptp???? ABL Linux - Networking 3 03-11-2005 05:54 PM
Support for PPTP VPN laburns Linux - Networking 3 03-06-2003 04:11 AM


All times are GMT -5. The time now is 06:05 AM.

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