I have a Raspberry Pi Model B v1.2 running Raspbian Jessie 8.0 on which I have installed OpenVPN to run a PIA VPN. My setup works fine, but... when I first apply power to the Pi, everything boots up and you can check the running processes [ps -A] and see that OVPN is running. If I try to run [curl ifconfig.me] (or do anything internet related), however, I often have to manually restart OpenVPN with [sudo /etc/init.d/openvpn restart] before I can connect to the internet. (I have ufw running that blocks all traffic not through the VPN.) Once I have restarted the daemon, everything is fine until/unless the Pi reboots again. Occasionally, the net access willk work without having to restart OVPN, but more times than not, that is not the case.
Is there a reason that this might be happening and is there a way that I can fix this? I can provide any logs you need if you just tell me what you need. Thanks.
Have to Manually Restart Daemon Almost Every Time Pi Boot
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Mar 17, 2019 2:43 am
-
- OpenVpn Newbie
- Posts: 3
- Joined: Mon Feb 17, 2020 11:57 pm
Re: Have to Manually Restart Daemon Almost Every Time Pi Boot
Check your routing table.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Mar 17, 2019 2:43 am