X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.texi;h=cd972dec2df9ed7cf3119bf9c98da2419294c434;hp=3decca056477766d4d66e03ff35243450ddd573c;hb=e895b358db8863d19dfa3d77c861ae19b76bc750;hpb=b58d95eb29662bce4388f95dbc5762b9e2999806 diff --git a/doc/tinc.texi b/doc/tinc.texi index 3decca05..cd972dec 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -261,7 +261,7 @@ alias char-major-10-200 tun @subsection Configuration of FreeBSD kernels For FreeBSD version 4.1 and higher, tun and tap drivers are included in the default kernel configuration. -Using tap devices is recommended. +The tap driver can be loaded with @code{kldload if_tap}, or by adding @code{if_tap_load="YES"} to @file{/boot/loader.conf}. @c ================================================================== @@ -275,6 +275,7 @@ which adds a tap device to OpenBSD which should work with tinc, but with recent versions of OpenBSD, a tun device can act as a tap device by setting the link0 option with ifconfig. + @c ================================================================== @node Configuration of NetBSD kernels @subsection Configuration of NetBSD kernels @@ -943,7 +944,7 @@ tinc's efficiency, even stopping the daemon for a few seconds everytime it does a lookup if your DNS server is not responding. This does not affect resolving hostnames to IP addresses from the -configuration file. +configuration file, but whether hostnames should be resolved while logging. @cindex Interface @item Interface = <@var{interface}> @@ -1051,23 +1052,31 @@ When this option is used the priority of the tincd process will be adjusted. Increasing the priority may help to reduce latency and packet loss on the VPN. @cindex Proxy -@item Proxy = <@var{type}> <@var{address}> <@var{port}> [<@var{username}>] [experimental] -Use the proxy at the given @var{address} and @var{port} when making outgoing connections. +@item Proxy = socks4 | socks4 | http | exec @var{...} [experimental] +Use a proxy when making outgoing connections. The following proxy types are currently supported: @table @asis @cindex socks4 -@item socks4 +@item socks4 <@var{address}> <@var{port}> [<@var{username}>] Connects to the proxy using the SOCKS version 4 protocol. Optionally, a @var{username} can be supplied which will be passed on to the proxy server. +@cindex socks5 +@item socks4 <@var{address}> <@var{port}> [<@var{username}> <@var{password}>] +Connect to the proxy using the SOCKS version 5 protocol. +If a @var{username} and @var{password} are given, basic username/password authentication will be used, +otherwise no authentication will be used. + @cindex http -@item http +@item http <@var{address}> <@var{port}> Connects to the proxy and sends a HTTP CONNECT request. -@end table - -No authentication methods are currently supported. +@cindex exec +@item exec <@var{command}> +Executes the given command which should set up the outgoing connection. +The environment variables @env{NAME}, @env{NODE}, @env{REMOTEADDRES} and @env{REMOTEPORT} are available. +@end table @cindex ReplayWindow @item ReplayWindow = (16)