summaryrefslogtreecommitdiff
path: root/ssh.1
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.1')
-rw-r--r--ssh.120
1 files changed, 15 insertions, 5 deletions
diff --git a/ssh.1 b/ssh.1
index b6f09f400..93be52f96 100644
--- a/ssh.1
+++ b/ssh.1
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: ssh.1,v 1.264 2006/09/25 04:55:38 ray Exp $ 37.\" $OpenBSD: ssh.1,v 1.265 2006/10/28 18:08:10 otto Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSH 1 39.Dt SSH 1
40.Os 40.Os
@@ -1077,12 +1077,22 @@ controls whether the server supports this,
1077and at what level (layer 2 or 3 traffic). 1077and at what level (layer 2 or 3 traffic).
1078.Pp 1078.Pp
1079The following example would connect client network 10.0.50.0/24 1079The following example would connect client network 10.0.50.0/24
1080with remote network 10.0.99.0/24, provided that the SSH server 1080with remote network 10.0.99.0/24 using a point-to-point connection
1081running on the gateway to the remote network, 1081from 10.1.1.1 to 10.1.1.2,
1082at 192.168.1.15, allows it: 1082provided that the SSH server running on the gateway to the remote network,
1083at 192.168.1.15, allows it.
1084.Pp
1085On the client:
1083.Bd -literal -offset indent 1086.Bd -literal -offset indent
1084# ssh -f -w 0:1 192.168.1.15 true 1087# ssh -f -w 0:1 192.168.1.15 true
1085# ifconfig tun0 10.0.50.1 10.0.99.1 netmask 255.255.255.252 1088# ifconfig tun0 10.1.1.1 10.1.1.2 netmask 255.255.255.252
1089# route add 10.0.99.0/24 10.1.1.2
1090.Ed
1091.Pp
1092On the server:
1093.Bd -literal -offset indent
1094# ifconfig tun1 10.1.1.2 10.1.1.1 netmask 255.255.255.252
1095# route add 10.0.50.0/24 10.1.1.1
1086.Ed 1096.Ed
1087.Pp 1097.Pp
1088Client access may be more finely tuned via the 1098Client access may be more finely tuned via the