ppp over ssh problem

From: Sven (no_at_spam.com)
Date: 09/07/05


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


Relevant Pages

  • Re: VPN clients unable to connect to other resources.
    ... gateway matches the IP of the remote client, and DNS and WINS point to the ... remote (although it takes close to a minute to connect, ... This is just regular Windows VPN, ... VPN server, remote routing and access running on the SBS 2003 server ...
    (microsoft.public.windows.server.sbs)
  • RE: Problems with connectcomputer and active directory
    ... I understand that you would like to join a remote client to the domain. ... If you have hardware VPN tunnel setup using Linksys or others, ... In this scenario you have to configure the SBS Server computer to enable ... Create a VPN connection to ISA/RRAS on the Internet ...
    (microsoft.public.windows.server.sbs)
  • RE: Remote connectivity problems
    ... do you mean you have added a remote client to SBS ... If you have hardware VPN tunnel setup using Linksys or others, ... In this scenario you have to configure the SBS Server computer to enable ...
    (microsoft.public.windows.server.sbs)
  • Re: VPN clients unable to connect to other resources.
    ... Are you saying that an XP Home PC wouldn't be able to connect to a server share over VPN? ... Can ping the SBS but not the client PCs on the same network. ... gateway matches the IP of the remote client, ...
    (microsoft.public.windows.server.sbs)
  • Re: Secure VPN access
    ... with it's security option for the client. ... After getting the VPN connection I check the Ip settings and found the ... point to the head ISP's DNS server. ... > Computer certificates for L2TP/IPSec VPN connections ...
    (microsoft.public.windows.server.sbs)

Loading