ppp over ssh problem
From: Sven (no_at_spam.com)
Date: 09/07/05
- Next message: Falcur: "Migration from 4.2 to 5.4"
- Previous message: Kurt Jaeger: "Re: Free Hosting Control Panels on FreeBSD?"
- Next in thread: Sven: "Re: ppp over ssh problem"
- Reply: Sven: "Re: ppp over ssh problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 07 Sep 2005 14:03:29 +0200
Greetings newsgroup,
I want to set up a ppp over ssh link between two freebsd 5.4 machines
and found several howtos on the net explaining how to do this.
Unfortunately the two machines are not talking to each other properly
yet. Here is a description of the state of things at the moment:
- I set up password-less rsa key based authentication between the boxes
successfully.
- In the authorized_keys file, on the server side, I added the following
default command to run on logon:
command="sudo /usr/sbin/ppp -direct vpn"
the vpn account is configured using sudo to run ppp without requiring
password.
- the ppp.conf files I use on the server side has the following lines:
vpn:
set ifaddr 10.0.4.1 10.0.4.2 255.255.255.255
and on the client side:
vpn:
set ifaddr 10.0.4.2 10.0.4.1 255.255.255.255
set dial
set device "!env SSH_AUTH_SOCK= ssh -C -c blowfish sshvpn@10.0.0.51"
- when manually logging in using the command "ssh sshvpn@10.0.0.51" I
get a load of stuff and the ppp log file on the server shows that there
was an attempt to make a connection.
- when I run ppp -auto vpn on the client machine, the client connects
and sets up the tun0 device but the server doesn't get a thing of it.
It's log files have no trace a connection attempt was even made, no log
entries get created at all.
I've tried this with firewalls on both the server and client disabled,
but the link just doesn't get set up properly. Are there any ppp-wizes
out there who can suggest a solution or point out what I'm doing wrong?
Sven.
-- s v e n (dot) d (dot) m e i e r (at) g m x (dot) n e t
- Next message: Falcur: "Migration from 4.2 to 5.4"
- Previous message: Kurt Jaeger: "Re: Free Hosting Control Panels on FreeBSD?"
- Next in thread: Sven: "Re: ppp over ssh problem"
- Reply: Sven: "Re: ppp over ssh problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|