Questions tagged [openvpn]

OpenVPN is a free and open source software application that implements virtual private network (VPN)

Filter by
Sorted by
Tagged with
-1 votes
1 answer
97 views

Use middle server ip address to connect main openvpn server

My main server ip address that i installed openvpn server on, is blocked in my country. that means i cant connect to openvpn directly. so I bought another server. i want to use this second server to ...
Purya's user avatar
  • 1
0 votes
0 answers
544 views

Disable OpenVPN Auto Reconnect

I'm on Ubuntu 20.04 and use OpenVPN to connect to a client's VPN. If I forget to disconnect the VPN and I'm not at my computer, it eventually disconnects and automatically tries to reconnect. When ...
Darthg8r's user avatar
  • 101
0 votes
0 answers
42 views

Failed to start OpenVPN connection to the server while booting

Im using ubutnu 22.04 as my desktop, and I got error: Failed to start OpenVPN connection to the server while booting Im writing this post on phone, so I cant show you photo, but it keeps repeating [ ...
OMG's user avatar
  • 1
0 votes
1 answer
806 views

Failed to load module "canberra-gtk-module" while launching OpenVPN

I just installed both Ubuntu (22.04) and OpenVPN. But when I try to launch OpenVPN, I get what looks like a recurring Ubuntu issue : Failed to load module "canberra-gtk-module". I've looked ...
FE-P's user avatar
  • 1
0 votes
0 answers
405 views

Openvpn Ubuntu 22.04

I'm trying to connect to a vpn provider server with openvpn 2.5.5 in my client, but I have encountered some errors while tying to login and start the session. The connection .ovpn file has been ...
David Heredia's user avatar
2 votes
1 answer
7k views

OpenVPN "Cannot pre-load keyfile" after moved conf to /etc/openvpn

I have succesfully configured OpenVPN with a server.conf that I runned with the openvpn executable, e.g. openvpn --config server.conf. However, when I tried to move this file to /etc/openvpn in order ...
crissal's user avatar
  • 121
1 vote
0 answers
210 views

Vpnbook doesn't work after upgrade to Ubunntu 22.04 LTS

After updating Ubuntu to 22.04. LTS I can not use Vpnbook any more. When I try to launch OpenVpn client with any of the profiles, it ends with error message" 2022-08-28 02:20:08 WARNING: No ...
drsto Account's user avatar
-1 votes
1 answer
1k views

Cannot find easyrsa executable

I am following Digital Ocean's Guide for setting up an OpenVPN instance. I have installed openvpn and easyrsa on my server. However, when the guide says to run ./easyrsa init-pki there's a problem: ...
JLCarveth's user avatar
1 vote
2 answers
5k views

openVPN client does not create routes - Ubuntu 22.04

I am struggling to get my openVPN 2.5.5 working on Ubuntu 22.04. Long story short : my server has been working for years (recently updated to Ubuntu 22.04) I have other clients connecting correctly (...
rc1317's user avatar
  • 21
0 votes
1 answer
729 views

unable to resolve host address ‘jellyfish.list’ - OpenVPN

I tried to download the OpenVPN based on the article https://openvpn.net/cloud-docs/openvpn-3-client-for-linux/ In the 5th step, I've added $DISTRO = jammy jellyfish: sudo wget -O /etc/apt/sources....
el_noobito's user avatar
0 votes
1 answer
39 views

Is it possible to setup an OpenVPN server on Ubuntu 20.04 while it is connected to a private WLAN network (with DHCP)?

I am newbie in Ubuntu server 20.04. I have installed Ubuntu server 20.04 on a HP laptop (with a broken ethernet interface then I have to use only wifi) and I want to set up an OpenVPN service on it. ...
Amin Kaveh's user avatar
0 votes
0 answers
988 views

No internet access while Openvpn is on

I've recently started a homelab projet and build a server. The server in itself is a VMware hypervisor with two ubuntu server 22.04 running on it (one for file sharing and one to act as a vpn server). ...
Guillaume Favrot's user avatar
0 votes
1 answer
634 views

Ubuntu server 22.04 VM Openvpn connection issues

I'm currently working on a homelab project and built a home server using VMWare ESXI 7. On this Hypervisor i run two ubuntu 22.04 server images, one for file sharing and one to serve as a vpn server. ...
Guillaume Favrot's user avatar
1 vote
0 answers
890 views

Openvpn two factor authentification problems after upgrade to 22.04

after upgrading from Ubuntu 20.04 to 22.04 I got problems when connecting to a server running on Ubuntu 22.04. The server is running openvpn "OpenVPN 2.5.5" and the clients, all showing the ...
Jan's user avatar
  • 11
1 vote
0 answers
686 views

Authenticate/Decrypt packet error: packet HMAC authentication failed

After updating OpenVPN 2.3.x. to OpenVPN 2.4.4 I have a problem for authentication all devices Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic openvpnas....
Dawid's user avatar
  • 11
0 votes
0 answers
129 views

Running a .sh script from a .desktop file such that script runs on the terminal

I have so far been able to launch a .sh script using a .desktop file. It so happens that the bash script requires me to enter my sudo password, so in the desktop file I set terminal=true. The terminal ...
VBtheHun's user avatar
0 votes
1 answer
702 views

OpenVpn3 cannot install

I get this error message when trying to install openvpn3 in Ubuntu 22.04.
trexCode's user avatar
0 votes
1 answer
870 views

Ubuntu Problems with Pam Google Auth

I had a working OpenVPN server that used Google Authenticator for TFA. It was working perfectly fine for well over a year. Just last night/today it stopped working. I managed to track down the auth....
drg's user avatar
  • 101
0 votes
1 answer
261 views

VPN blocking internet connection

I was running a VPN (Proton) but I do not remember setting up a kill switch. I tried connecting this morning when it randomly wanted the password. I provided it and the pop-up would return. Password ...
Ntokozo Ndamane's user avatar
-1 votes
1 answer
295 views

Issue accessing local NAS via NFS when opevpn service enabled

I have a VM running Ubuntu 22.04 and i have been having some issues with mounting a local NFS share to the VM when the openvpn NordVPN client connection is running. I believe the issue is that request ...
liamlows's user avatar
  • 109
0 votes
0 answers
1k views

VPN (client.ovpn file import to Network Manager ) not working but sudo openvpn command works

In Ubuntu 20 I downloaded the client.ovpn file from my company OpenVPN server and imported it into Network Manager and all worked fine. I built a new Ubuntu 22 machine and now improting the the ...
Dan's user avatar
  • 1
2 votes
0 answers
610 views

Error with protonvpn - "Expected at least 5 tokens for --menu, have 4"

I have protonvpn installed and have been using it since ages without any trouble. I have used this tutorial - https://www.tecmint.com/install-protonvpn-in-linux/ to install protonvpn Now from today ...
Payel Senapati's user avatar
0 votes
0 answers
28 views

How to solve this W: and N: error message when perform $sudo apt update [duplicate]

All packages are up to date. W: http://as-repository.openvpn.net/as/debian/dists/bionic/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in ...
Bild96's user avatar
  • 1
0 votes
1 answer
2k views

Can't start openvpn after upgrading to Ubuntu 22.04

I have upgraded from ubuntu 21.10 to ubuntu 22.04 and when i try to run openvpn i get an error message: 2022-05-19 11:03:36 Assertion failed at crypto_openssl.c:183 (legacy_provider) 2022-05-19 11:03:...
Massimo Bava's user avatar
1 vote
0 answers
2k views

Ubuntu 22 problem with Openvpn client with tls handshake

Hi there i have some problems with OpenVPN and ubuntu, i have ovpn file i should use but that not work because of tls check like below ovpn :: client proto udp explicit-exit-notify remote IP 1194 dev ...
Mohammed Abdelawel's user avatar
0 votes
1 answer
2k views

How to auto connect to vpn server if connection is down (VPN always on)

I have an openvpn connection with a client.conf file. I have set this to auto connect on startup however I would like to also make it reconnect if connection goes down. There does not seem to be a ...
bcsta's user avatar
  • 101
0 votes
1 answer
849 views

Ubuntu gets/has wrong private IP address

When I log in via SSH to my Ubuntu server (current LTS 20.04), I get a greeting message with the eth0 private IP. I now needed to change my IPs in my home network from the default 192.168.178.0/24 to ...
User123456789's user avatar
4 votes
2 answers
3k views

Ubuntun 22.04: when connected with NetworkManager OpenVPN, DNS doesn't use the VPN DNS server

I am running Ubuntu 22.04 I have an OpenVPN to my company via NetworkManager in gnome. Most of the interal systems work, but for example portal.azure.com has 2 DNS records, a public and private zone ...
Christophe's user avatar
0 votes
1 answer
1k views

UFW blocks local network routed to net_gateway by OpenVPN

I'm trying to set up a connection on Ubuntu 22.04 to a nordvpn OpenVPN server with a kill-switch using ufw. I configured the VPN client to redirect the default gateway, but be able to communicate with ...
Alex Potapenko's user avatar
0 votes
1 answer
11k views

How to resolve Unrecognized option or missing or extra parameter(s) openvpn

I am following this guide to set up my own vpn server. But at the end, running the command: sudo openvpn /etc/openvpn/client/client.conf give me this: 2022-05-11 15:18:13 Unrecognized option or ...
Brayan Tiwa's user avatar
30 votes
5 answers
72k views

Can't connect to VPN after upgrading to Ubuntu 22.04

2022-05-10 17:07:15 VERIFY ERROR: depth=0, error=CA signature digest algorithm too weak: 2022-05-10 17:07:15 OpenSSL: error:0A000086:SSL routines::certificate verify failed I use openvpn (with 3 ...
GhitaB's user avatar
  • 465
0 votes
1 answer
267 views

Wi-Fi does not work after starting OpenVPN client

I am using Ubuntu 20.04 and for a few days now, my computer has had problems connecting to various Wi-Fi networks. Currently, it shows that it is connected to my home network, and for a minute after ...
naraghi's user avatar
  • 101
2 votes
0 answers
2k views

Unable to connect OpenVPN on Ubuntu latest release

I have an OpenVpn server built-in on my gateway modem. There is not much configuration make on that one except tcp/udp and home network/home network and internet. I can connect my vpn server with ...
root's user avatar
  • 21
19 votes
6 answers
37k views

Imported OpenVPN (.ovpn) Profile not working anymore after update to Ubuntu 22.04

2 days ago I updated my Ubuntu Distro from 20.04 LTS to 22.04 LTS. After the update, I've noticed that my private OpenVPN tunnel is not working anymore in the new update, in Ubuntu 20.04 was working ...
Gianlu28's user avatar
  • 191
-1 votes
1 answer
677 views

OpenVpn Routing Problems [closed]

I just installed a new clean install of openVpn Server version 2.10.2 on an Ubuntu 20.x. So far so good, my server has 1 physical interface with one public ip. When i use the default i can connect to ...
MisterniceGuy's user avatar
0 votes
0 answers
291 views

Connect openVpn

I'm trying to connect via openVpn. I have ubuntu 20.04. My client.ovpn: client dev tun proto udp remote vpn.stend1.vs.com 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert n....
maksim2112's user avatar
0 votes
0 answers
2k views

OpenVPN: "ERROR: Linux route add command failed: external program exited with error status: 2"

I'm using OpenVPN on Linux Ubuntu 18.04.6 LTS, which has been working correctly for more than one year until last Friday, when it stopped working. Here's the OpenVPN log message I get: sudo openvpn --...
DavideChicco.it's user avatar
0 votes
0 answers
1k views

OpenVPN and DNS error

I'm using Ubuntu18.04.6, OpenVPN 2.5.2. I connect using .ovpn file: sudo openvpn --config name.ovpn I am getting errors: Options error: Unrecognized option or missing or extra parameter(s) in [...
Fedor March's user avatar
0 votes
2 answers
165 views

How to investigate what is making traffic?

I have an Ubuntu 20.04 LTS with disabled upgrades and no cronjobs at home in VirtualBox. There is an enp0s3 and a tun0 for an OpenVPN connection to a LTE/mobile connection far away (to a MikroTik ...
jim7475's user avatar
1 vote
2 answers
3k views

How automatically start VPN connection on computer startup in Ubuntu 21.10?

I have a VPN connection with such settings: How to automatically start VPN connection on computer startup in Ubuntu 21.10? Now I have to click Connect every time. I've read other similar questions, ...
27cm's user avatar
  • 23
0 votes
1 answer
3k views

easyrsa: No such file or directory after make-cadir

I was told to do sudo make-cadir /etc/openvpn/easy-rsa sudo du cd /etc/openvpn/easy-rsa ./easyrsa init-pki ./easyrsa build-ca by this manual. Unfortunately I got root@myhost:/etc/openvpn/easy-rsa# ./...
Dims's user avatar
  • 1,803
1 vote
1 answer
6k views

ssh: connect to host 192.168.0.200 port 22: No route to host

The context is the following: I have installed Ubuntu server in a device at my home and set up a ssh server in this device. I can connect to this Ubuntu server through ssh without problems if the ...
sebademasi10's user avatar
0 votes
0 answers
245 views

Monitor Openvpn log and if it get specific alert.......then execute iptable command to ban IP

I am looking to secure my openvpn server and to automatically ban unauthorized login attempts. I am looking for a script that will do the following: -Monitor /var/log/openvpnas.log -Look for the ...
maduro's user avatar
  • 1
2 votes
2 answers
4k views

Connect to VPN server when system starts

I can connect to my VPN server with command: sudo openvpn confyg.ovpn Everything runs fine, but what is the best way to start openvpn client and connect to server when system starts?
vico's user avatar
  • 4,527
0 votes
0 answers
437 views

Internet sporadically dropping only on Ubuntu machines

I'm having issues with all my Ubuntu machines. The internet connection will sporadically drop for a few minutes and it happens frequently like every 5-10 min. It will reconnect on it's own or I can ...
Pachuca's user avatar
  • 379
1 vote
1 answer
584 views

Does the OpenVPN server have a maximum number of two simulated users?

I have read that openvpn server only accepts two simultaneous connections to the VPN connection and that if you want to obtain more connections you would have to buy licenses. I have read in various ...
RuthIsRoot's user avatar
0 votes
0 answers
173 views

Required to call `systemd-resolve` each time I connect to VPN

Whenever I connect to a VPN using OpenVPN I have to run the following command or I cannot access some websites: sudo systemd-resolve --set-dns=1.1.1.1 --interface=wlp111s0 Is there a way to ...
Fred's user avatar
  • 101
0 votes
1 answer
211 views

I purged openvpn, now even after reinstalling it, my network manager cannot import OpenVPN config files

I made the mistake of purging openvpn, and now even after I apt-get installed it again, there seem to be a lot of issues with Ubuntu's Network Manager and OpenVPN. For example, I cannot connect to my ...
OneAndOnly's user avatar
0 votes
0 answers
2k views

OpenVPN error opening configuration file

I'm trying to connect my laptop to the office network using OpenVPN. I'm using the terminal client of OpenVPN on Ubuntu 21.10. Before I was using the same tool in Ubuntu 18.04 and the setup was ...
brownser's user avatar
  • 153
0 votes
1 answer
367 views

OpenVPN. How to Provide Interactive Credentials in a Script

I have a script that installs and sets up VPN then connects to it: apt install apt-transport-https wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub apt-key add openvpn-repo-pkg-key.pub ...
WinBoss's user avatar
  • 103

1 2
3
4 5
24