<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bert&#039;s notes &#187; systemd</title>
	<atom:link href="https://a20.net/bert/tag/systemd/feed/" rel="self" type="application/rss+xml" />
	<link>https://a20.net/bert</link>
	<description></description>
	<lastBuildDate>Mon, 02 Nov 2020 10:47:22 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.5</generator>
	<item>
		<title>OpenVPN client connection not started on Ubuntu 16.04</title>
		<link>https://a20.net/bert/2016/09/27/openvpn-client-connection-not-started-on-ubuntu-16-04/</link>
		<comments>https://a20.net/bert/2016/09/27/openvpn-client-connection-not-started-on-ubuntu-16-04/#comments</comments>
		<pubDate>Tue, 27 Sep 2016 10:24:05 +0000</pubDate>
		<dc:creator><![CDATA[bert]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[systemd]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[Ubuntu 16.04]]></category>
		<category><![CDATA[xenial]]></category>

		<guid isPermaLink="false">https://a20.net/bert/?p=78</guid>
		<description><![CDATA[Ubuntu 16.04 has systemd as its init system. Usually getting an OpenVPN client configuration going, is a matter of dropping the .conf or .ovpn file together with key and certs, into /etc/openvpn. On Ubuntu 16.04, you can &#8216;service openvpn restart&#8217; all you like, but no connection is being initiated, and the logs stay silent. Solution: [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Ubuntu 16.04 has systemd as its init system. Usually getting an OpenVPN client configuration going, is a matter of dropping the .conf or .ovpn file together with key and certs, into /etc/openvpn. On Ubuntu 16.04, you can &#8216;service openvpn restart&#8217; all you like, but no connection is being initiated, and the logs stay silent.</p>
<p>Solution:</p>
<ol>
<li>edit <strong>/etc/default/openvpn</strong>, uncomment <strong>AUTOSTART=&#8221;all&#8221;</strong></li>
<li><strong>sudo systemctl daemon-reload</strong></li>
<li><strong>sudo service openvpn restart</strong></li>
</ol>
<p>The comments still say &#8220;all&#8221; is the default, but that is no longer true in Ubuntu 16.04.</p>
<p>It is also possible to systemd-manage individual server/client configurations, in the style of &#8216;service openvpn@&lt;my-config&gt; start/stop/status&#8217;. See <a href="https://fedoraproject.org/wiki/Openvpn#Setting_up_a_Linux_OpenVPN_client">https://fedoraproject.org/wiki/Openvpn#Setting_up_a_Linux_OpenVPN_client</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://a20.net/bert/2016/09/27/openvpn-client-connection-not-started-on-ubuntu-16-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
