{"id":102,"date":"2024-08-02T14:13:09","date_gmt":"2024-08-02T14:13:09","guid":{"rendered":"http:\/\/blog.ltzs.us\/?p=102"},"modified":"2025-04-11T20:48:59","modified_gmt":"2025-04-11T20:48:59","slug":"openvpn-in-lxc","status":"publish","type":"post","link":"http:\/\/blog.ltzs.us\/?p=102","title":{"rendered":"OpenVPN in LXC"},"content":{"rendered":"\n<p>OpenVPN will fail to start in an unprivileged LXC with the following error as shown in <mark style=\"background-color:#fcb900\" class=\"has-inline-color\"><code>journalctl -xeu openvpn@server<\/code><\/mark>:<\/p>\n\n\n\n<p><strong>ERROR: Cannot open TUN\/TAP dev \/dev\/net\/tun: No such file or directory (errno=2)<\/strong><\/p>\n\n\n\n<p>The Proxmox wiki has a nice guide to <a href=\"https:\/\/pve.proxmox.com\/wiki\/OpenVPN_in_LXC\">solving<\/a> this problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenVPN will fail to start in an unprivileged LXC with the following error as shown in journalctl -xeu openvpn@server: ERROR: Cannot open TUN\/TAP dev \/dev\/net\/tun: No such file or directory (errno=2) The Proxmox wiki has a nice guide to solving this problem.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102"}],"version-history":[{"count":2,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions"}],"predecessor-version":[{"id":289,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions\/289"}],"wp:attachment":[{"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ltzs.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}