I'm sorry to rehash an old thread, but I still cannot get the VPN
working on my Linux box. I have done a lot of experimenting, and I
cannot get pptp-linux to connect by configuring it manually. I can get
kvpnc to connect, but once connected I cannot reach anything inside the
network. Please see my comments inline (I have changed the ip address
and login details for the external network):

On Thu, 2006-09-11 at 00:07 -0700, Gustin Johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> When connected what does your addresses and routing table look like?
> ip addr

5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,10000> mtu 1496 qdisc
pfifo_fast qlen 3
    link/ppp 
    inet 192.168.100.151 peer xxx.xxx.xxx.xx/32 scope global ppp0


> ip route

xxx.xxx.xxx.xx dev ppp0  proto kernel  scope link  src 192.168.100.151

> Is the IP address on the ppp0 interface in the same subnet as your work
> machines?

Yes

> Also, Windows 2000 and later has built in support for ipsec, so your
> work may not be using pptp.

The VPN is handled by a Cisco router. However, the instructions for
connecting with Windows does say to select MS PPTP as the protocol.

> If it merely is a routing issue, then ip route add 192.168.A.B/24 via
> 192.168.C.D dev ppp0  The first IP is CIDR notation, the /24 is
> equivalent to a netmask of 255.255.255.0.  The second is the gateway IP.
>    Without knowing more it is tough to say what is going wrong.  Are
> there any logs in /var/log/ppp*?

I used the command: "sudo ip route add 192.168.100.0/24 via
192.168.100.1 dev ppp0", this doesn't seem to have any effect. There is
also nothing in the log file. Here is kvpnc's output:

debug: pppd: /usr/sbin/pppd
debug: No IP for default interface found, using "127.0.0.1".
info: "PppdUpScript" started.
info: "PppdUpScript" finished.
debug: Username: xxx
debug: Trying to connect to server "xxx.xxx.xxx.xx" with user "xxx"... 
info: [pppd]using channel 3 Using interface ppp0 Connect:
ppp0 /dev/pts/0 
debug: Tunnel device: Using interface ppp0 Connect: ppp0 /dev/pts/0 
info: "pppd" started.
info: [pppd]sent [LCP ConfReq id=0x1 ]
info: [pppd] 
info: [pppd]rcvd [LCP ConfRej id=0x1 ]
info: [pppd] sent [LCP ConfReq id=0x2 ] 
info: [pppd]rcvd [LCP ConfAck id=0x2 ]
info: [pppd] 
info: [pppd]rcvd [LCP ConfReq id=0x1 ]
info: [pppd] sent [LCP ConfAck id=0x1 ] sent [LCP EchoReq id=0x0
magic=0x5577fbfc] rcvd [CHAP Challenge id=0x1 , name = ""] sent [CHAP
Response id=0x1 , name = "xxx"] rcvd [LCP EchoRep id=0x0
magic=0x49d4220f] rcvd [CHAP Success id=0x1 ""] CHAP authentication
succeeded CHAP authentication succeeded Disabling 40-bit MPPE; MS-CHAP
LM not supported sent [CCP ConfReq id=0x1 ] rcvd [CCP ConfReq id=0x1 ]
sent [CCP ConfNak id=0x1 ] rcvd [CCP ConfAck id=0x1 ] rcvd [CCP ConfReq
id=0x2 ] sent [CCP ConfAck id=0x2 ] MPPE 128-bit stateless compression
enabled sent [IPCP ConfReq id=0x1 ] rcvd [IPCP ConfReq id=0x1 ] sent
[IPCP ConfAck id=0x1 ] rcvd [IPCP ConfRej id=0x1 ] sent [IPCP ConfReq
id=0x2 ] rcvd [IPCP ConfNak id=0x2 ] sent [IPCP ConfReq id=0x3 ] rcvd
[IPCP ConfAck id=0x3 ] replacing old default route to eth1 [192.168.2.1]
Cannot determine ethernet address for proxy ARP local IP address
192.168.100.151 remote IP address xxx.xxx.xxx.xx primary DNS address
192.168.100.20 Script /etc/ppp/ip-up started (pid 10203)
Script /etc/ppp/ip-up finished (pid 10203), status = 0x0 
debug: [pppd]Connection established.
info: Successful connected to server "xxx.xxx.xxx.xx" user: "xxx") at
Sat Feb 3 15:26:26 2007
info: "PppdUpScript" started.
info: "PppdUpScript" finished.
error: [pppd err] 
info: "ping_check.sh" started.

And after a few minutes:

info: [pppd]No response to 4 echo-requests
info: "pppd replace route process" started.
info: "pppd route process" started.
info: [pppd] 

> The instruction sheet may be useful, what VPN client are they using?
> What are some of the jargon/terms used in the handout?

The instructions use "My Network Places" under Windows to connect to a
MS PPTP VPN.

TIA,

Jesse


_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to