diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-12-06 22:38:29 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-12-06 22:38:29 +0000 |
commit | 57e200b9764c3d42f2a662cc0a4690b8514b31a0 (patch) | |
tree | 796f9bb48d94838528feca40a271d18e5f37cf79 /usr.bin/ssh/servconf.h | |
parent | 6dbb1fbadfc0b9c64b1da80376fe45dc0ad61d0a (diff) |
Add support for tun(4) forwarding over OpenSSH, based on an idea and
initial channel code bits by markus@. This is a simple and easy way to
use OpenSSH for ad hoc virtual private network connections, e.g.
administrative tunnels or secure wireless access. It's based on a new
ssh channel and works similar to the existing TCP forwarding support,
except that it depends on the tun(4) network interface on both ends of
the connection for layer 2 or layer 3 tunneling. This diff also adds
support for LocalCommand in the ssh(1) client.
ok djm@, markus@, jmc@ (manpages), tested and discussed with others
Diffstat (limited to 'usr.bin/ssh/servconf.h')
-rw-r--r-- | usr.bin/ssh/servconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/servconf.h b/usr.bin/ssh/servconf.h index ba9b6680354..3d710a1488a 100644 --- a/usr.bin/ssh/servconf.h +++ b/usr.bin/ssh/servconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.71 2004/12/23 23:11:00 djm Exp $ */ +/* $OpenBSD: servconf.h,v 1.72 2005/12/06 22:38:27 reyk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -133,6 +133,8 @@ typedef struct { char *authorized_keys_file; /* File containing public keys */ char *authorized_keys_file2; + + int permit_tun; } ServerOptions; void initialize_server_options(ServerOptions *); |