1

I am installing openvpn on Ubuntu 18.04. The installation and setup goes smoothly. I start the systemd service and it succeeds. But, there is no tun0 interface in ip a.

If I reboot, then tun0 is there.

I tried modprobe tun before rebooting but that didn't change anything.

What does tun0 need to appear without a reboot?

  • 1
    Enabling and starting a service is not the same. All enabling does is making sure the service is started on every boot. Just start the service (replace "enable" with "start") and tun0 should appear. – Fang Nov 12 '18 at 15:59
  • I start the service, I edited the post. – user1371264 Nov 12 '18 at 18:17
  • 1
    Please post more information to allow us to troubleshoot this. For instance, output of systemctl status openvpn.service (or whatever the exact service name you're starting is), perhaps some lines from journalctl -e that you think might be relevant, snippets from ip a, lsmod, etc. You need to provide more information in your question to get an useful answer to it. Thanks! – filbranden Nov 12 '18 at 18:22
  • 1
    To add to what @FilipeBrandenburger said: There's no way the start of the service is successful if tun0 doesn't appear. – Fang Nov 12 '18 at 19:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.