OPNsense Forum

English Forums => Virtual private networks => Topic started by: hushcoden on June 02, 2023, 11:22:46 pm

Title: Can't get Internet connection
Post by: hushcoden on June 02, 2023, 11:22:46 pm
I'm trying to figure out why OpenVPN doesn't give me Internet access (it was working for the past 7 days).

I'm using ProtonVPN and the serivce works fine from both my laptop and my smartphone: can anyone helpm out to troubleshoot as I'm not a netoworking expert?

This the the client1.conf content:
Code: [Select]
dev ovpnc1
verb 3
dev-type tun
dev-node /dev/tun1
writepid /var/run/openvpn_client1.pid
script-security 3
daemon openvpn_client1
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
proto udp4
auth SHA512
up /usr/local/etc/inc/plugins.inc.d/openvpn/ovpn-linkup
down /usr/local/etc/inc/plugins.inc.d/openvpn/ovpn-linkdown
local x.x.x.x  #IP masked
tls-client
client
lport 0
management /var/etc/openvpn/client1.sock unix
remote 146.70.133.130 5060
remote 146.70.179.50 4569
remote 146.70.179.50 1194
remote 146.70.83.66 5060
remote 146.70.96.66 1194
remote 154.47.24.193 1194
remote 146.70.133.130 1194
remote 146.70.83.66 1194
remote 146.70.96.66 5060
auth-user-pass /var/etc/openvpn/client1.up
ca /var/etc/openvpn/client1.ca
tls-auth /var/etc/openvpn/client1.tls-auth 1
compress stub-v2
route-nopull
remote-random
tun-mtu 1464
reneg-sec 0
remote-cert-tls server


Tia.
Title: Re: Can't get Internet connection
Post by: tiermutter on June 02, 2023, 11:29:58 pm
I am on NordVPN and also had issues when I used multiple servers in config. Setting only one remote server solved my issue, maybe this also solves it for you...
Title: Re: Can't get Internet connection
Post by: hushcoden on June 02, 2023, 11:49:43 pm
Thanks and what have you selected in Encryption algorithm (deprecated) and in Compression ?
Title: Re: Can't get Internet connection
Post by: hushcoden on June 02, 2023, 11:50:21 pm
Thanks and what have you selected in Encryption algorithm (deprecated) and in Compression in the client config ?
Title: Re: Can't get Internet connection
Post by: tiermutter on June 03, 2023, 12:16:32 am
It is AES 256 GCM and --comp-lzo no.
It is over a year ago when I had this issue... I cannot remember if there was errors in log, also I am not sure if the connection was up for some time or if it never worked...