VPN PPTP PPP Linux box to MS Server HOWTO?

VPN PPTP PPP Linux box to MS Server HOWTO?

Post by H Rocks famil » Sat, 23 Feb 2002 12:11:23



I seem to just not be getting it.  I downloaded and installed vpn and
pptpd.  After reading the man pages they don't address it.  man page
of pppd is too daunting.

I tested a connection from my Win98 box and it works.  My Win98 VPN
client only needed the I.P. of the MS Server and DNS i.p. addresses.
With one click it then presented a login/password interactive box.

It shouldn't be that hard in Linux, but man pages and Linux Journal
articles don't give me a clue as to how to start.

If there is a public HOWTO or FAQ to point me to on this I would
appreciate it.  Thanks.

 
 
 

VPN PPTP PPP Linux box to MS Server HOWTO?

Post by H Rocks famil » Sat, 02 Mar 2002 12:53:52


I thought I might need to supply more specific information.

$ rpm -q -a | grep pp
tcp_wrappers-7.6-19
kpppload-1.04-29
ppp-2.4.1-2
rp-pppoe-3.2-3
kdenetwork-ppp-2.2.2-1

# pptpd -v
PoPToP v1.0.1

The VPN I downloaded never ran correctly, but I think it uses a
different protocol anyway.

I have a MS server at work and was given a login and password for VPN
from my Win98 box at home.  I have succeeded getting all that to work.
I am trying to get my Linux machine at home with the above software
versions to connect as a client to my MS server at work.

Poptop man pages are very skimpy.  It indicates it should start ppp,
but it doesn't even seem to be starting ppp.  If chapms is 2nd or 3rd
base, I don't even think I am getting to first base.

Could someone point me in the right direction?  I've looked on
Google/groups and don't even see much at all about this VPN PPTP.

 
 
 

VPN PPTP PPP Linux box to MS Server HOWTO?

Post by Bob Hauc » Sun, 03 Mar 2002 11:10:28



Quote:> # pptpd -v
> PoPToP v1.0.1
> I have a MS server at work and was given a login and password for VPN
> from my Win98 box at home.  I have succeeded getting all that to work.

Uh, poptop is a pptp _server_.  You need the client.  The one I use is
called "pptp-linux".  Putting that into google and hitting "I'm feeling
lucky" got me to <http://cag.lcs.mit.edu/~cananian/Projects/PPTP/>

--
 -| Bob Hauck
 -| To Whom You Are Speaking
 -| http://www.haucks.org/

 
 
 

1. Getting Linux PPTP-Client working with MS VPN server

Hello,

I get a connection, but no IP and it hangs up.

If you don't mind giving me some clues.....  I followed online hints
on the secrets file and everything else.
(http://poptop.lineo.com/setup_pptp_client.html)

I am using Mandrake 8.1 (latest) and pppd v 2.4.0, pptp-client 1.0.3.

Here is some output from my ppp log:

Nov  2 01:53:42 tomc-inspiron pptp[3892]:
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:548]: Client connectio
n established.
Nov  2 01:53:43 tomc-inspiron pptp[3892]:
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:655]: Outgoing call es
tablished (call ID 0, peer's call ID 999).
Nov  2 01:53:43 tomc-inspiron pppd[3895]: pppd 2.4.0 started by root,
uid 0
Nov  2 01:53:43 tomc-inspiron pppd[3895]: using channel 2
Nov  2 01:53:43 tomc-inspiron pppd[3895]: Using interface ppp0
Nov  2 01:53:43 tomc-inspiron pppd[3895]: Connect: ppp0 <-->
/dev/pts/2
Nov  2 01:53:44 tomc-inspiron pppd[3895]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0x92ffc3f> <pcomp
Nov  2 01:54:11 tomc-inspiron last message repeated 9 times
Nov  2 01:54:14 tomc-inspiron pppd[3895]: LCP: timeout sending
Config-Requests
Nov  2 01:58:42 tomc-inspiron pptp[3892]:
log[pptp_conn_close:pptp_ctrl.c:285]: Closing PPTP connection
Nov  2 01:58:42 tomc-inspiron pptp[3892]:
log[call_callback:pptp_callmgr.c:88]: Closing connection
Nov  2 01:58:42 tomc-inspiron pppd[3895]: Hangup (SIGHUP)
Nov  2 01:58:42 tomc-inspiron pppd[3895]: Modem hangup
Nov  2 01:58:42 tomc-inspiron pppd[3895]: Connection terminated.
Nov  2 01:58:43 tomc-inspiron pppd[3895]: Exit.

++++++++++++++++++++

I notice that even though this thing causes a ppp0 connection to come
up, there is never an IP address assigned to this interface, and it
eventually hangs up.

Does anyone know how to get a PPTP cleint working with Linux??

Regards,

Tom

2. sendmail set-up question.

3. Linux as PPTP Server for MS PPTP Clients?

4. free memory problem

5. PPTP VPN to MS Proxy Server How?

6. A question about httpd server

7. Recipe for PPTP VPN from Debian to MS Server

8. scheduler

9. VPN into MS PPTP server

10. Howto configure iptables to forward PPTP to an internal VPN server

11. MS$ NT > Linux Firewall > Internet > MS$ NT PPTP Server

12. pptp to MS VPN?

13. Connecting to a Netware File Server through a PoPToP PPTP VPN Server