<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HyperForum — OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun:]]></title>
	<link rel="self" href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=861&amp;type=atom" />
	<updated>2023-05-29T06:28:06Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.hyperbola.info/viewtopic.php?id=861</id>
		<entry>
			<title type="html"><![CDATA[Re: OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun:]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=6204#p6204" />
			<content type="html"><![CDATA[<p>just a minor detail is that adding a line</p><div class="codebox"><pre><code>modules=&quot;tun&quot;</code></pre></div><p> didn&#039;t work, </p><p>What worked was to uncomment the following line:</p><div class="codebox"><pre><code>modules_2_6=&quot;tun&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[nparafe]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=554</uri>
			</author>
			<updated>2023-05-29T06:28:06Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=6204#p6204</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun:]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=6201#p6201" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>anthk wrote:</cite><blockquote><p>The service will load modules on demand, such as tun or fuse, often needed by different software.</p></blockquote></div><p>Thank you for your precious help <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /> .</p>]]></content>
			<author>
				<name><![CDATA[nparafe]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=554</uri>
			</author>
			<updated>2023-05-27T06:39:30Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=6201#p6201</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun:]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=6199#p6199" />
			<content type="html"><![CDATA[<p>The service will load modules on demand, such as tun or fuse, often needed by different software.</p>]]></content>
			<author>
				<name><![CDATA[anthk]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=568</uri>
			</author>
			<updated>2023-05-26T19:43:02Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=6199#p6199</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun:]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=6198#p6198" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>anthk wrote:</cite><blockquote><p>You can add tun to /etc/conf.d/modules with </p><div class="codebox"><pre><code> modules=&quot;tun&quot; </code></pre></div><p>&nbsp; and </p><div class="codebox"><pre><code> doas rc-update add modules default </code></pre></div></blockquote></div><p>Can you please explain the differnce between the OP and your method?<br />After I did what I have posted above, everything works even after rebooting. What are the benefits of adding a system service?</p>]]></content>
			<author>
				<name><![CDATA[nparafe]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=554</uri>
			</author>
			<updated>2023-05-26T12:32:44Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=6198#p6198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun:]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=6193#p6193" />
			<content type="html"><![CDATA[<p>You can add tun to /etc/conf.d/modules with </p><div class="codebox"><pre><code> modules=&quot;tun&quot; </code></pre></div><p>&nbsp; and </p><div class="codebox"><pre><code> doas rc-update add modules default </code></pre></div>]]></content>
			<author>
				<name><![CDATA[anthk]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=568</uri>
			</author>
			<updated>2023-05-24T15:18:30Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=6193#p6193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun:]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=6188#p6188" />
			<content type="html"><![CDATA[<p>Trying to run openvpn gave me an error:<br /></p><div class="codebox"><pre><code>OpenVPN - ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)</code></pre></div><p>The solution for me was:</p><div class="codebox"><pre><code>mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun</code></pre></div><p><a href="https://serverfault.com/questions/1003011/openvpn-error-cannot-open-tun-tap-dev-dev-net-tun-no-such-file-or-directory">source</a></p>]]></content>
			<author>
				<name><![CDATA[nparafe]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=554</uri>
			</author>
			<updated>2023-05-24T07:43:12Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=6188#p6188</id>
		</entry>
</feed>
