LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   DISCUSSION: PPTP VPN on Slackware How-to (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-pptp-vpn-on-slackware-how-to-304027/)

djbanaan 03-20-2005 04:51 PM

DISCUSSION: PPTP VPN on Slackware How-to
 
This thread is to discuss the article titled: PPTP VPN on Slackware How-to

Monkey Magic 09-12-2005 11:15 PM

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?

Monkey Magic 09-13-2005 05:39 PM

OK, per chance, it worked today. The new link for the MPPC stuff is http://mppe-mppc.alphacron.de/

eder_michael11 06-05-2006 01:54 PM

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..??

eder_michael11 06-05-2006 02:16 PM

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...

lukki 07-07-2006 08:07 AM

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

mikese 05-20-2009 01:01 PM

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.

socialmaker 07-07-2009 04:24 AM

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.

arubin 11-08-2009 06:22 AM

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

trumpet_tom 02-24-2010 04:57 AM

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!

doyen 08-09-2010 08:40 AM

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


All times are GMT -5. The time now is 04:03 AM.