Back to list
[VPN] LCP: timeout sending Config-Requests
Nov 17 2006 09:01AM
Ian Vellosa (vellosa btopenworld com)
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
Killed by signal 15.
And looking through the server messages log I see:
09:55:07 sshd: Accepted publickey for sshvpn from 220.127.116.11
port 39813 ssh2
09:55:07 sshd(pam_unix): session opened for user sshvpn by
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: pppd 2.4.3 started by vpnuser, uid 0
09:55:28 pppd: Using interface ppp0
09:55:28 pppd: Connect: ppp0 <--> /dev/pts/1
09:55:33 pppd: Hangup (SIGHUP)
09:55:33 sshd(pam_unix): session closed for user vpnuser
09:55:33 pppd: Modem hangup
09:55:33 pppd: Connection terminated.
09:55:33 pppd: 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.
VPN mailing list
VPN (at) lists.shmoo (dot) com [email concealed]
[ reply ]
Copyright 2010, SecurityFocus