Hi,

On Freitag, 8. März 2019 05:30:38 CET Stefan Monnier wrote:
> My OpenVPN client setup just stopped working, maybe/likely linked to a recent
> update of Debian (testing).
> 
> The end result is that the openvpn daemon looks happy and gives me the right
> syslog messages, yet the interface gets no IP address (and no routes either, 
> of
> course):

One of our VPN users encountered the same issue on Ubuntu 20.04, which lead
us to investigate this. The cause of this issue is netscript-2.4[1], a rather
old and obscure alternative ifup/ifdown implementation. In its default 
configuration a netscript systemd service instance is automatically started
shortly after the OpenVPN tunnel interface is created:

>     Jan 25 11:12:41 ceviche systemd[1]: Started Netscript ifup for tun0.
>     [...]
>     Jan 25 11:12:41 ceviche sh[9617]: Configuring interface: tun0.

netscript then overwrites/removes the interface configuration set by OpenVPN,
which in turn removes the routes.

We did not investigate further, how to configure netscript-2.4 correctly, as
the user replaced it with ifupdown, which is what they wanted in the first
place anyway.

HTH
Best regards
Sebastian Schrader

Reply via email to