[VPN] LCP: timeout sending Config-Requests

Ian Vellosa vellosa at btopenworld.com
Fri Nov 17 04:01:53 EST 2006


Hi,

I am working through chapter 3 of the 'Building Linux Virtual Private
Networks' Book, 'Building a VPN with SSH and PPP' and have problems
with the remote connection to my server. 

As I followed the steps I have managed to get a ssh connection
running as the vpn user and connection without the need for a
password to be entered.

Then when I try to run the following command, thigs go wrong...

sudo /usr/sbin/pppd updetach noauth \
    pty "sudo -u vpnuser ssh -t -t  my-vpn-server.com \
    sudo pppd noauth 192.168.0.1:192.168.1.1"


On the client side I get the following messages: 

  Using interface ppp0
  Connect: ppp0 <--> /dev/pts/2
  LCP: timeout sending Config-Requests
  Connection terminated.
  Modem hangup
  Killed by signal 15.


And looking through the server messages log I see: 

09:55:07 sshd[5226]: Accepted publickey for sshvpn from 62.2.131.1
port 39813 ssh2
09:55:07 sshd(pam_unix)[5228]: session opened for user sshvpn by
(uid=0)
09:55:28 sudo:   vpnuser : TTY=pts/1 ; PWD=/opt/ssh-vpn ; USER=root ;
COMMAND=/usr/sbin/pppd noauth 192.168.0.1:192.168.1.1
09:55:28 pppd[5231]: pppd 2.4.3 started by vpnuser, uid 0
09:55:28 pppd[5231]: Using interface ppp0
09:55:28 pppd[5231]: Connect: ppp0 <--> /dev/pts/1
09:55:33 pppd[5231]: Hangup (SIGHUP)
09:55:33 sshd(pam_unix)[5228]: session closed for user vpnuser
09:55:33 pppd[5231]: Modem hangup
09:55:33 pppd[5231]: Connection terminated.
09:55:33 pppd[5231]: Exit.


What am I doing wrong? 

I have spent a while last night looking how I can increase this time
out without success? 

Any help would be most appreciated.

Thanks
IV



More information about the VPN mailing list