On Mon, 25 Jun 2001, Ian C. Sison wrote:
>
> An alternative solution also is linvpn (lookitup in http://freshmeat.net)
> which uses a pppd connection over ssh between two points. I've tried it,
> it works!
>
Something I needed to learn six hours ago! If I knew about this I could
have just given it over to the people at sysops instead of creating such a
ppp over ssh tunnel. Anyhow, none of it was really hard anyway. It
consisted of only two commands:
pty-redir ssh remote.vpn.host.com sudo /usr/sbin/pppd \
192.168.0.1:192.168.0.2 file /etc/ppp/options-ssh-rem >/tmp/vpn-device
sudo /usr/sbin/pppd `cat /tmp/vpn-device` 192.168.0.2:192.168.0.1 netmask \
255.255.255.0 file /etc/ppp/options-ssh-loc
Provided that you can ssh into remote.vpn.host.com without getting asked
for a password (i.e. your identity is in the authorized_keys file on the
remote end).
--
Rafael R. Sevilla <[EMAIL PROTECTED]> +63(2) 8177746 ext. 8311
Programmer, InterdotNet Philippines +63(917) 4458925
http://dido.engr.internet.org.ph/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT d- s:- a- C++++ UL+++ P+++ L+++ E++ W++ N+ o K- w---
O- M-- V- PS+ PE Y+ PGP++ t+ 5 X+ R tv+ b+++ DI++ D+
G e++ h! r++ y+
------END GEEK CODE BLOCK------
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]