[BACK]Return to ssh.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/ssh.1 between version 1.264 and 1.265

version 1.264, 2006/09/25 04:55:38 version 1.265, 2006/10/28 18:08:10
Line 1077 
Line 1077 
 and at what level (layer 2 or 3 traffic).  and at what level (layer 2 or 3 traffic).
 .Pp  .Pp
 The following example would connect client network 10.0.50.0/24  The following example would connect client network 10.0.50.0/24
 with remote network 10.0.99.0/24, provided that the SSH server  with remote network 10.0.99.0/24 using a point-to-point connection
 running on the gateway to the remote network,  from 10.1.1.1 to 10.1.1.2,
 at 192.168.1.15, allows it:  provided that the SSH server running on the gateway to the remote network,
   at 192.168.1.15, allows it.
   .Pp
   On the client:
 .Bd -literal -offset indent  .Bd -literal -offset indent
 # ssh -f -w 0:1 192.168.1.15 true  # ssh -f -w 0:1 192.168.1.15 true
 # ifconfig tun0 10.0.50.1 10.0.99.1 netmask 255.255.255.252  # ifconfig tun0 10.1.1.1 10.1.1.2 netmask 255.255.255.252
   # route add 10.0.99.0/24 10.1.1.2
   .Ed
   .Pp
   On the server:
   .Bd -literal -offset indent
   # ifconfig tun1 10.1.1.2 10.1.1.1 netmask 255.255.255.252
   # route add 10.0.50.0/24 10.1.1.1
 .Ed  .Ed
 .Pp  .Pp
 Client access may be more finely tuned via the  Client access may be more finely tuned via the

Legend:
Removed from v.1.264  
changed lines
  Added in v.1.265