Questions tagged [openvpn]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

"The request was directed to a path other than the configured endpoint" while trying to setup nginx

I have set up and installed nginx on a machine running Ubuntu 20.04 with a configuration file that reads as follows: server { listen 216; listen [::]:216; server_name example.com; # the url I ...
user avatar
0 votes
0 answers
17 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 ...
user avatar
0 votes
1 answer
30 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 ...
user avatar
  • 111
0 votes
0 answers
29 views

VPN routing to another subnet

I have Wifi router TP-Link Archer C7, which configured as Gateway and OpenVPN server: GW 192.168.33.1, Mask 255.255.128.0 I have switch with connected 3 devices with static IP: 192.168.1.200, 192.168....
user avatar
0 votes
0 answers
52 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 ...
user avatar
  • 1
0 votes
0 answers
14 views

Surfshark and OpenVPN redirects

On the request below someone wants to redirect the inquiries for the local network so that when trying to connect to other systems within same network and have that system also able to be connected to ...
user avatar
1 vote
0 answers
113 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 ...
user avatar
0 votes
0 answers
26 views

"error: the plugin does not support import capability" when attempting to import openvpn file - VPN tunneling

so basically I have a .ovpn file and it works, but when I add VPN tunneling configuration it breaks. It worked until about two weeks before this date, and now it stopped working. Does anyone know how ...
user avatar
0 votes
0 answers
33 views

How can I create a bash script for Ubuntu that keeps retrying a service restart for VPN that loops until it gets a new IP?

I have batch file that runs this command for OpenVpn: echo [password]| sudo -S systemctl restart openvpn@client.service This work but it frequently returns the same IP address. After a few attempts, ...
user avatar
0 votes
0 answers
22 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 ...
user avatar
  • 1
1 vote
1 answer
250 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:...
user avatar
1 vote
0 answers
388 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 ...
user avatar
0 votes
1 answer
57 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 ...
user avatar
  • 101
0 votes
1 answer
66 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 ...
user avatar
2 votes
0 answers
265 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 ...
user avatar
0 votes
1 answer
95 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 ...
user avatar
0 votes
1 answer
383 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 ...
user avatar
7 votes
1 answer
6k 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 ...
user avatar
  • 223
0 votes
0 answers
18 views

VPN in kde5 network managet not connected

If you try to connect to a VPN server like PPTP,L2TP,etc... and it doesn't connect like for me try this: 1- check log in /var/log/messages and try to connect again and check the output log: sudo tail ...
user avatar
0 votes
0 answers
44 views

Ignore SSL certificate validation using OpenVPN CLI tool?

I have an .ovpn file that works perfectly fine on my macOS OpenVPN GUI Client; however, running sudo openvpn <file> from my Linux terminal results in SSL certificate validation errors. I'm ...
user avatar
0 votes
0 answers
14 views

VPN symbol does not appear along with wifi, sound and battery symbols, even if 'Connect' button is pressed in Ubuntu 18

I have installed the following sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome I imported the config from a file. I have a ubuntu 20 machine where this config is ...
user avatar
  • 1
0 votes
0 answers
19 views

OpenVPN blocks outgoing Apache sites

I host a site to teach SQL (databases.pacha.dev) by using Apache in a DigitalOcean droplet. I wanted to install OpenVPN to have a VPN in the same server, and I run this as root #!/bin/bash echo "...
user avatar
0 votes
0 answers
36 views

Ubuntu 20.04 OpenVPN service failed

I'm having a tough time trying to access a remote server through OpenVPN I installed it from this site: https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos sudo service openvpn status is ...
user avatar
0 votes
1 answer
43 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 ...
user avatar
0 votes
0 answers
32 views

OenVPN connection failed, port is not opening with ufw (code=111)

Im trying to set up an openvpn on my pc (which is running Ubuntu Server 22.04). I've used the quick install script listed here When i try to connect on my linux machine i get the following error: 2022-...
user avatar
1 vote
0 answers
567 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 ...
user avatar
  • 11
0 votes
0 answers
17 views

How can i add vpn from my terminal

How i add vpn using GUI I am trying to add VPNs to my system from my terminal or write a script to bulk add VPN. I have around 137 ovpn files that I need to add and have tried searching on the web but ...
user avatar
5 votes
4 answers
3k views

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

Good morning everybody, 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 ...
user avatar
0 votes
0 answers
101 views

Ubuntu 20.04: Can not enable VPN Network

I use VPN configuration file to create VPN connection, it works fine on window. On Ubuntu 20.04, I installed OpenVPN client and I can't enable VPN connect when Wired network or Wireless network is ...
user avatar
0 votes
1 answer
133 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 ...
user avatar
0 votes
0 answers
87 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....
user avatar
0 votes
0 answers
141 views

21.10: NetworkManager's OpenVPN client: how to set 'ifconfig-push'

I am trying to configure OpenVPN clients with a fixed IP address. I think there are two main approaches: ifconfig-pool-persist on the server or ifconfig-push on the client. After some difficulties in ...
user avatar
  • 186
0 votes
0 answers
296 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 --...
user avatar
0 votes
0 answers
83 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 [...
user avatar
0 votes
0 answers
22 views

How do I keep my local networks connectivity after NetworkManager establishes openVPN connection?

I have a router with two WiFi local networks (2.4 and 5 Ghz) and a wired one, let them be 192.168.0.0/24, 192.168.2.0/24 and 192.168.4.0/24. They are all connected through router so that I can ping ...
user avatar
  • 101
0 votes
0 answers
80 views

OpenVPN client starts and works in terminal, but not in browsers

I run my openVPN client as sudo openvpn --config my_client.ovpn. In terminal both ping and lynx can access the internet. But all the GUI browsers fail to connect to internet. OpenVPN client connects ...
user avatar
0 votes
2 answers
37 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 ...
user avatar
1 vote
2 answers
175 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, ...
user avatar
  • 13
0 votes
1 answer
263 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# ./...
user avatar
  • 1,614
0 votes
0 answers
56 views

not able to cross compile openvpn in arm64 docker container in ubuntu 20.04 focal distribution

Able to enter arm64 enviorntment by "docker run --rm -it arm64v8/ubuntu" in ubuntu Ubuntu 20.04.4 LTS focal distribution git clone https://github.com/mattock/sbuild_wrapper.git added arm64 ...
user avatar
0 votes
0 answers
44 views

NetworkManager VPN autoconnect on two concurrent connections

I am using Ubuntu 21.10 and I managed to setup VPN autoconnect through nm-connection-editor and it works fine, I am connected to this VPN constantly. Except one thing, I have setup the same VPN to ...
user avatar
  • 1
1 vote
1 answer
661 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 ...
user avatar
0 votes
0 answers
158 views

Connect OpenVPN with a config file behind http/https proxies

When we use openvpn via one proxy we can use this command: http-proxy PROXY-IP PROXY-PORT auto USERNAME PASSWORD If we need to connect two or more proxies in a row with separate usernames and ...
user avatar
  • 1
0 votes
0 answers
27 views

Cannot connect to OpenVPN or Wireguard after updating wifi driver

I think I have messed up my network driver and hence it has messed up OpenVPN and WireGuard installations. My laptop gets disconnected pretty often from the Wifi, and it was driving me crazy. So I ...
user avatar
0 votes
0 answers
40 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 ...
user avatar
  • 1
0 votes
0 answers
91 views

TLS handshake failed

Good day, I am new here. I have installed an openvpn server and when I am trying to connect I am getting a :TLS handshake failed" error. What can be the possible problems?
user avatar
1 vote
2 answers
191 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?
user avatar
  • 3,887
0 votes
0 answers
38 views

DNS configured by OpenVPN keeps reseting

I'm running Ubuntu 20.04 and I have a OpenVPN connection to my work. Once I establish the OpenVPN connection everything works fine and the correct DNS is established, as shown bellow: resolvectl ...
user avatar
  • 121
0 votes
0 answers
39 views

Openvpn connecting from terminal disables internet connection Ubuntu 20.04

Trying to connect to the vpn with openvpn with the following command: sudo openvpn --config $HOME/fhumphreys__ssl_vpn_config.ovpn It connects correctly but afterwards I have no internet connection. ...
user avatar
0 votes
0 answers
92 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 ...
user avatar
  • 361

1
2 3 4 5
22