From 04e890fcc3a3044ec8b1f2cb6d6afba32a06e94e Mon Sep 17 00:00:00 2001 From: octeep <74378430+octeep@users.noreply.github.com> Date: Fri, 13 Nov 2020 06:38:27 +0000 Subject: [PATCH] Change DefaultIfName from "/dev/tun0" to "tun0" Specifying the full path to the interface in OpenBSD would result in: panic: Interface name must be tun[0-9]* Therefore, DefaultIfName should be changed to tun0 in order to make yggdrasil work out of the box. --- src/defaults/defaults_openbsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/defaults/defaults_openbsd.go b/src/defaults/defaults_openbsd.go index 20741ee8..6700eb8f 100644 --- a/src/defaults/defaults_openbsd.go +++ b/src/defaults/defaults_openbsd.go @@ -20,6 +20,6 @@ func GetDefaults() platformDefaultParameters { // TUN/TAP MaximumIfMTU: 16384, DefaultIfMTU: 16384, - DefaultIfName: "/dev/tun0", + DefaultIfName: "tun0", } }