Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 1997 21:44:46 -0500 (EST)
From:      "Joseph D. Orthoefer" <j_orthoefer@tia.net>
To:        freebsd-chat@freebsd.org
Subject:   something neat
Message-ID:  <Pine.BSF.3.95.970127213350.24274A-100000@mailbox.tia.net>

next in thread | raw e-mail | index | archive | help

on machine "A" add something like the following to inetd.conf;

sshexp  stream  tcp     nowait  root    /usr/sbin/ppp  ppp -direct

where sshexp has been added as service 6666 in /etc/services.

on machine "B" xterm #1;

B> ssh -v -L 6666:machineA:6666 machineA -l wumpus

on machine "B" xterm #2;

B> ppp
User Process PPP. Written by Toshiharu OHNO.
Log level is 281
Warning: No password entry for this host in ppp.secret
Warning: All manipulation is allowed by anyone in the world
Using interface: tun0
Interactive mode
ppp ON B> set device 127.0.0.1:6666
ppp ON B> set ifaddr 10.0.0.1 10.0.0.2
ppp ON B> dial
dial OK!
login OK!
ppp ON B> Packet mode.

(some creative use of static routes is left to the reader)

Joseph Orthoefer
Techmatics IAC LLC




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970127213350.24274A-100000>