Using Ubuntu sever 18.04, headless (no GUI) and PIA. I configured this a couple years ago following the PIA instructions and has been working flawlessly until now.
My habit is to start and stop OpenVPN via ssh using a small script that prints out the external IP to confirm it's on. I get no error messages, but TUN0 is no longer being created and I get no connection to PIA via OpenVPN.
I am getting an external IP , but I can;t use it because TUN0 does not get created at launch. I have changed nothing related to networking or openvpn - only normal ubuntu updates.
Syslog shows my PIA IP ;
Dec 14 18:06:45 server systemd[1]: Starting OpenVPN connection to pia...
Dec 14 18:06:45 server systemd[1]: Starting OpenVPN service...
Dec 14 18:06:45 server systemd[1]: Started OpenVPN service.
Dec 14 18:06:45 server ovpn-pia[19634]: OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019
Dec 14 18:06:45 server ovpn-pia[19634]: library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.08
Dec 14 18:06:45 server systemd[1]: Started OpenVPN connection to pia.
Dec 14 18:06:45 server ovpn-pia[19634]: TCP/UDP: Preserving recently used remote address: [AF_INET]999.99.99.99:1198
Dec 14 18:06:45 server ovpn-pia[19634]: UDP link local: (not bound)
Dec 14 18:06:45 server ovpn-pia[19634]: UDP link remote: [AF_INET]999.99.99.99:1198
I tried adding ACCEPT policies to iptables for 1194/1198 and port forwarding via my router - no of which I've had to do in the past - and no change.
What would cause TUN0 to not be formed all of a sudden? I believe this is the heart of the issue, but I don't know where to look.