Error when trying to connect to openvpn server/Unable to connect outside LAN

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Bossman
OpenVpn Newbie
Posts: 8
Joined: Wed May 05, 2021 9:55 pm

Error when trying to connect to openvpn server/Unable to connect outside LAN

Post by Bossman » Wed May 05, 2021 10:08 pm

I went through the setup for OpenVPN and that went fine. After the reboot of my Raspberry Pi, I made a profile. Though when I try to connect to that profile with my Android phone, it says "There was an error attempting to connect to the selected server." When I tried to find the problem I came upon an article called "Troubleshooting client VPN tunnel connectivity" and I tried to get the logs. When I typed: "/var/log/openvpn.log" it said: "Permission denied."
I haven't been able to find any solution to this problem online by googling so I hope someone here can help me.
Last edited by Bossman on Thu May 06, 2021 12:15 pm, edited 1 time in total.

User avatar
TinCanTech
Forum Team
Posts: 9191
Joined: Fri Jun 03, 2016 1:17 pm

Re: Error when trying to connect to openvpn server

Post by TinCanTech » Wed May 05, 2021 10:13 pm

Login as root ..

Bossman
OpenVpn Newbie
Posts: 8
Joined: Wed May 05, 2021 9:55 pm

Re: Error when trying to connect to openvpn server

Post by Bossman » Thu May 06, 2021 7:49 am

TinCanTech wrote:
Wed May 05, 2021 10:13 pm
Login as root ..
I logged in as root and it still reads "permission denied"

Bossman
OpenVpn Newbie
Posts: 8
Joined: Wed May 05, 2021 9:55 pm

Re: Error when trying to connect to openvpn server

Post by Bossman » Thu May 06, 2021 11:00 am

Bossman wrote:
Wed May 05, 2021 10:08 pm
Though when I try to connect to that profile with my Android phone, it says "There was an error attempting to connect to the selected server."
This problem seems to be resolved (at least the devices connect inside my house). I still cannot access openvpn.log even when logged in as root. How can I resolve this?
Thanks for the help.

Bossman
OpenVpn Newbie
Posts: 8
Joined: Wed May 05, 2021 9:55 pm

Re: Error when trying to connect to openvpn server

Post by Bossman » Thu May 06, 2021 12:18 pm

Bossman wrote:
Thu May 06, 2021 11:00 am
Bossman wrote:
Wed May 05, 2021 10:08 pm
Though when I try to connect to that profile with my Android phone, it says "There was an error attempting to connect to the selected server."
This problem seems to be resolved (at least the devices connect inside my house).
It seems that my devices only connect to the VPN server when connected to the same network. How can I solve this issue? Thanks for the help.

Post Reply