Skip to content

Commit

Permalink
OpenBSD has a proper tap device.
Browse files Browse the repository at this point in the history
  • Loading branch information
sizeofvoid authored and gsliepen committed Oct 7, 2018
1 parent 5e1f7fb commit 5f3e985
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions doc/tinc.texi
Original file line number Diff line number Diff line change
Expand Up @@ -2843,7 +2843,7 @@ In switch or hub modes ARP does work so the sender already knows the correct des
In those modes every interface should have a unique MAC address, so make sure they are not the same.
Because switch and hub modes rely on MAC addresses to function correctly,
these modes cannot be used on the following operating systems which don't have a `tap' style virtual network device:
OpenBSD, NetBSD, Darwin and Solaris.
NetBSD, Darwin and Solaris.


@c ==================================================================
Expand Down Expand Up @@ -3448,13 +3448,6 @@ For IPv6 addresses:
@tab @code{netsh interface ipv6 add address} @var{interface} @code{static} @var{address}/@var{prefixlength}
@end multitable

On some platforms, when running tinc in switch mode, the VPN interface must be set to tap mode with an ifconfig command:

@multitable {Darwin (MacOS/X)} {ifconfig route add -bla network address netmask netmask prefixlength interface}
@item OpenBSD
@tab @code{ifconfig} @var{interface} @code{link0}
@end multitable

On Linux, it is possible to create a persistent tun/tap interface which will
continue to exist even if tinc quit, although this is normally not required.
It can be useful to set up a tun/tap interface owned by a non-root user, so
Expand Down

0 comments on commit 5f3e985

Please sign in to comment.