错误描述我在macOS Mojave版本10.14.2(18C54(上使用Tunnelblick 3.7.9beta02(build 5200(。在我安装 Sophos 之前,它一直工作得很好。所以删除了 sophos,但问题仍然存在。
当我尝试连接时,出现以下错误。
Could not start OpenVPN (openvpnstart returned with status #247)
Contents of the openvpnstart log:
*Tunnelblick: openvpnstart log:
Loading tun-signed.kext
stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tun-signed.kext failed to load - (libkern/kext) kext (kmod) start/stop routine failed; check the system/kernel logs for errors or try kextutil(8).
stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tun-signed.kext failed to load - (libkern/kext) kext (kmod) start/stop routine failed; check the system/kernel logs for errors or try kextutil(8).
stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tun-signed.kext failed to load - (libkern/kext) kext (kmod) start/stop routine failed; check the system/kernel logs for errors or try kextutil(8).
stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tun-signed.kext failed to load - (libkern/kext) kext (kmod) start/stop routine failed; check the system/kernel logs for errors or try kextutil(8).
stderr from kextload: /Applications/Tunnelblick.app/Contents/Resources/tun-signed.kext failed to load - (libkern/kext) kext (kmod) start/stop routine failed; check the system/kernel logs for errors or try kextutil(8).
Unable to load net.tunnelblick.tun and/or net.tunnelblick.tap kexts in 5 tries. Status = 71
2019-02-11 18:42:29 *Tunnelblick: openvpnstart starting OpenVPN
在论坛和Tunnelblick网站上搜索过这个。没有一个解决方案奏效。事实上,通过运行 kextstat 没有找到 tun 或 tap kext。
要重现这完全是凭空开始的。
诊断信息按照这些说明获取这些日志。
从 Tunnelblick 开发人员 jkbullard 那里得到了这个解决方案。
在现代版本的macOS中,几乎没有一个很好的理由使用Tunnelblick的tun kexts。允许Tunnelblick/OpenVPN使用内置的macOS"utun"驱动程序,方法是删除或注释掉OpenVPN配置文件中的以下行:
dev-type tun
(您也不能在"高级"设置窗口的"连接和断开连接"选项卡中设置"始终加载 Tun 驱动程序"。默认情况下,"自动加载 Tun 驱动程序"通常是最佳设置。