Robbie Honerkamp wrote:
>
> I'm in the middle of setting up a VPN using ssh and ppp as
> per the SSH/PPP VPN HOWTO.
>
> I've got things set up as the instructions in the HOWTO
> specify, but I'm getting errors when I try to bring the
> VPN up. After some troubleshooting, I've got the problem
> narrowed down to the slave box not allowing the master to
> ssh in and start pppd:
>
> # ssh -l vpn remotefw sudo /usr/sbin/pppd
1) You need the -t option to force ssh to allocate
a tty.
2) Try disabling X11 forwarding using the -x option.
(Just a guess, but it looks like that might be causing
your first message; and you don't need the X11 forwarding
to do the VPN bit.)
I have a collection of scripts that I use to do this.
They're based on the HOWTO, but updated to account
for recent changes to pppd. You can find them here:
http://whyme.penguinpowered.com/vpntools.tar
HTH,
-- Joe
> /usr/X11R6/bin/xauth: timeout in locking authority file /home/vpn/.Xauthority
> /usr/sbin/pppd: no device specified and stdin is not a tty
>
> According to the docs, I should see garbage (probably LCP packets)
> on doing this.
>
> The .ppprc and /etc/ppp/options file both only contain 'passive'
> as per the HOWTO as well.
>
> Any ideas?
>
> Thanks,
> Robbie
>
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
-- Joe Knapka
* What happens when a mysterious force meets an inscrutable object?
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.