Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openvpn]

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

1
vote
1answer
65 views

DNS not working after reboot

After booting the Ubuntu 18.10 I can't resolve domain names and my /etc/resolv.conf file is looking like this: # Generated by NetworkManager nameserver 127.0.0.53 The $ nslookup google.com - 127.0.0....
0
votes
1answer
26 views

Connect to OpenVPN managed by NetworkManager using console

How do I connect to OpenVPN server managed by NetworkManager configured in Gnome settings using a command line? Is there a way to trigger this using command from a console? I found out ...
0
votes
0answers
39 views

VPN “Could not find source connection”

I am setuping VPN on Ubuntu 18.04 by: Importing .ovpn file into Settings -> Network -> Add new VPN connection. I am using .ovpn file downloaded from: https://www.vpnbook.com/ I am storing password ...
0
votes
0answers
13 views

Netplan question. multiserver setup possible?

I have this "old" setup that's working as wanted.. openvpn client connected with danted with polipo proxy server, nextcloud file server and apache server on the same machine. This setup do what I ...
2
votes
0answers
42 views

Ubuntu 18.04 systemd-resolve doesn't read the /etc/resolv.conf properly

I faced a strange issue with my Ubuntu 18.04. I use openfortivpn to connect to my company resources and it worked OK. I also use openvpn to connect to some different resources as well, sometimes even ...
0
votes
1answer
93 views

How to connect to the VPN automatically on System Startup ?

Everytime I use Vpn I need to connect to the VPN manually using different countries. Is there a way to connect to the VPN automatically after the system starts on Ubuntu 18.04? Thanks.
0
votes
1answer
136 views

openvpn not changing IP address

I have set up an openvpn VPN on my ubuntu laptop, and everything seemed to be working fine, but when I connect my IP address does not change. I have tried to use the same procedure on my Mac (using a ...
0
votes
1answer
37 views

Command 'restart' not found

I'm trying to configure Linux Network-Manager GUI for OpenVPN. I'm following the instructions from ubuntu's server guide. I tried to install it using the following command and realized it's already ...
0
votes
1answer
444 views

Since Ubunutu 18, why doesn't openvpn's client.ovpn:“dhcp-option DNS xxx.xxx.xxx.xxx” configure /etc/resolv.conf?

I'm trying to setup an openvpn client with Ubuntu 18. I run these magic steps: $ sudo apt-get install openvpn $ sudo apt-get install openvpn-systemd-resolved $ sudo openvpn --client --config ./...
0
votes
0answers
50 views

TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

i´ve configured my server with that tutorial - OpenVPN Tutorial Also i´ve made a ufw firewall exception for that port. Every time i try to connect to the server i get Wed Jan 02 13:11:03 2019 TLS ...
0
votes
1answer
86 views

OpenVPN connection through network manager (GUI) does not work even though it connects

I need to access resources (via ssh) which require me to connect to their VPN server. They have provided me with a config file to use. Case 1: I use sudo openvpn --config path-to-ovpn-config and later ...
0
votes
0answers
28 views

Can't Toggle VPN to “On” Position

In my Network Settings GUI, when I try to toggle the VPN to "on", it briefly switches to the on position then immediately goes to off. In other words, it won't let me turn the VPN on. Any ideas how ...
0
votes
1answer
43 views

OpenVPN auto-reconnect after network down in Ubuntu 18.04

How to setup OpenVPN automatically reconnect after network down in Ubuntu 18.04? Already set keepalive 60 180 (ping interval = 60, ping restart = 180) but this settings has no effect. 10+ min no re-...
0
votes
1answer
121 views

sudo: restart: command not found

I'm trying to follow "Linux OpenVPN GUI Setup Tutorial" from here to setup vpn on my Ubuntu 18.04 machine. I've followed the steps still 3. But on step 4, when I type "sudo restart network-manager" I ...
0
votes
3answers
70 views

Is AES above 256 possible for OpenVPN?

I would like to harden my OpenVPN settings. The network is a layer 3 vpn. I believe they are already quite good for today's standards and I will post them below. I currently make use of aes-256-cbc, ...
0
votes
0answers
31 views

apt-get update failes after changing some network settings

I have been installing & configuring OpenVpn Server with the help of this video on Hak5. After configuring all the configurations needed both for server and client, i restarted my VM and tried to ...
0
votes
0answers
118 views

DTLS handshake failed: Resource temporarily unavailable, try again

I use OpenVPN to connect to workplace's network. When I connect, the connection is good and then it suddenly drops with the following trace. With this the internet connection from my router also drops ...
0
votes
1answer
34 views

openvpn stopped workng (for me) after upgrade from Kubuntu 14.04 to 18.04

I used to be able to use openvpn to connect to my work VPN, but now I'm having troubles. I run openvpn --config client.ovpn where client.ovpn is provided by my sysadmin. It seems to contain private ...
1
vote
0answers
50 views

Routine Update has stopped my Nordvpn altogether

I am a new user to Ubuntu. I installed it on a vpn. Until now I've been happy with it. I installed nordvpn through the terminal and it was working fine - until I allowed ubuntu to update itself ...
0
votes
0answers
65 views

Using systemctl on Ubuntu 14.04

I have an Ubuntu 14.04.5 LTS on the server and I'm trying to write OpenVPN server and I want to start a process using systemctl e.g.: systemctl start openvpn@[server] but got Failed to get D-Bus ...
0
votes
1answer
68 views

Suddenly not able to access resources on VPN network in Ubuntu 18.04?

I'm using openvpn, and had imported my client.ovpn file to Network Manager via the GUI. Up until yesterday I was able to access resources on my company's VPN network without any issues. At first, I ...
0
votes
1answer
24 views

OpenVPN connectivity issue with internal subnet

I've setup a VPN server within a vlan with an internal subnet. On the VPN server one VPN using IPSec is configured, which can connect to the internal subnet. Additional I've installed an OpenVPN-...
0
votes
0answers
64 views

No-IP with a VPN? Ubuntu 18.04

Im sorry if this question have already been asked but i was not able to find any answers after a few hours of searching. I have setup a server at home with Radarr and Sonarr and so on, on it. ...
-1
votes
1answer
14 views

pkill vpn terminates all my script

I am working with a Dialog GUI. ./sdvpn.sh is the code for the GUI main menu, shown below. ./killvpn.sh is a script containing only one command, sudo pkill vpn ./region.sh is a Dialog menu allowing ...
0
votes
0answers
48 views

OpenVPN on Ubuntu 14.04 - after a while it breaks the network connection

I have a virtual machine on a QNAP NAS that runs Ubuntu 14.04. It's connected via OpenVPN to an Expressvpn vpn server. It works for a while but at some point the VM loses its ability to communicate ...
0
votes
0answers
30 views

Extract text from a PNG image [duplicate]

Does Ubuntu 18.04 have any facilities that allow it to read text from an image? When updating the credentials for one of my VPN suppliers (Vpnbook), I run the following command: curl "https://www....
0
votes
0answers
85 views

Ubuntu 18.04 ignores DNS pushed by openvpn

I read threads like Ubuntu 18.04 no DNS resolution when connected to openvpn and https://serverfault.com/questions/528773/networkmanager-is-not-changing-etc-resolv-conf-after-openvpn-dns-push plus ...
0
votes
1answer
212 views

OpenVPN client connected but can't access internal websites

I am trying to connect to my company's VPN server. ▶ sudo openvpn --config client.ovpn --auth-user-pass --auth-retry interact client.ovpn is downloaded from the OpenVPN server. The same file works ...
0
votes
0answers
16 views

How can I configure client Openvpn to inherit the same ip address of the server [duplicate]

I have an Openvpn ubuntu client that has certain public IP address x.x.x.x that changes dynamically based on the ISP provider. Additionally, I have an Openvpn server that has a static public IP ...
0
votes
1answer
23 views

VPN excluding certain applications?

I currently have some VPN configs running, they work well. UDP. They run from openvpn config files. However I'm wondering if I can somehow fairly easily set one up to that same kind of vpn but to ...
0
votes
0answers
337 views

Configure OpenVPN to use username and password without a specific certificate

I have just started fiddling around with openvpn, I used an installer from git (https://github.com/Nyr/openvpn-install). This provides a simple interface to create user. I want to add a password and ...
0
votes
0answers
16 views

I can't have acces to blocked sites via OpenVPN

I live in Russia and Telegram blocked here. So I setup OpenVPN on a server outside Russia and connected using network manager but telegram.org still unreachable. Site dnsleak.com says I have a leak.
0
votes
0answers
31 views

why openvpn server not work when using scramble option

I use this tutorial for setup scrambled OpenVPN https://vpnchinaopenvz.wordpress.com/2014/10/22/install-scrambled-openvpn-server-on-a-openvz-box-running-debian-or-ubuntu/ But when I try to start ...
0
votes
1answer
51 views

Ubuntu 18.04 OpenVpn client cannot route properly

When I try to connect to any of my OpenVPN servers, I can ping correctly through to the remote network, but any time I try to browse the net or anything else, it just times out. I have set net.ipv4....
1
vote
1answer
37 views

Migrate OpenVPN from Ubuntu 16 to Ubuntu 18

I have a physical machine running OpenVPN on Ubuntu 16. I'm creating a VM to run OpenVPN on Ubuntu 18. Is it possible to migrate the server and client certificates, config, etc. from the physical ...
1
vote
1answer
87 views

Check for DNS leaks on ubuntu server

I currently run Ubuntu server 18.04.1 LTS. I hav setup split tunnel VPN and it seems to work fine, however I want to check for DNS leaks. Is there a way to do this with the command-line? Can't really ...
0
votes
1answer
150 views

Network Manager (18.10) can't OpenVPN

I want to use the gnome-network-manager settings utility to manage my VPNs but it isn't working - and I'm not sure how to debug it. I am using an ovpn file, so from the cli maybe the network-manager ...
0
votes
1answer
236 views

Connecting to VPN Gate using Openvpn

I tried to connect to one of the open VPN server in https://www.vpngate.net/ using openvpn as a client. So what I did: download one of the ovpn files from one of the servers execute: sudo openvpn ...
1
vote
0answers
31 views

Cisco Anyconnect opening issue

I installed the Cisco Anyconnect secure mobility client application an hour back and it was successful.but can't able to open the applicant.can anyone help me on this?
1
vote
0answers
59 views

OpenVPN Connection successful but no IPs reachable

I have set up an OpenVPN-Server and can connect successfully, but after the connection is established I am not able to reach any internal destinations (192.168.10.0/24). The problem seems to only ...
1
vote
0answers
20 views

How to check VPN server adress of vpn I'm connected to?

I'm using Open VPN I'm connected to VPN and I'm trying to make a kill-switch following advices found here on askubuntu.com but I don't know the ip of my vpn. Could you tell me how can I check it / ...
1
vote
1answer
69 views

How does the OpenVPN service start connections by default?

I've installed openvpn version 2.4.6-xenial0 from the official repository. It looks like the service has been automatically enabled: cat /etc/systemd/system/multi-user.target.wants/openvpn.service #...
0
votes
1answer
175 views

Is there a way to run OpenVPN client in the background?

I use Ubuntu 18.04.1, however, for some reason my connections from network-manager-openvpn don't work properly at the moment. Is there an easy way to start and end an OpenVPN client connection ...
0
votes
0answers
62 views

can I export VPN certificate from OSX to Ubuntu?

I have configuration file for VPN that works on OSX with Tunnelblick. As far as I understand, the same VPN certificate can be used from different machines. So I copied the configuration file the *....
1
vote
0answers
226 views

Openvpn Exiting due to fatal error Ubuntu 18.04.1 LTS

Hi guys and girls hope you are all well this is my first post here on the forum. I have some problem using openvpn i Exiting due to fatal error. I use frootvpn and this is my Terminal. sudo openvpn -...
0
votes
1answer
152 views

OpenVPN via Network Manager not working

I have set up an OpenVPN server to which I can succesfully connect from Android and iOS devices. I am having troubling setting up my Ubuntu 18.04 machine as a client. I installed the gnome OpenVPN ...
0
votes
1answer
54 views

Problem With Public IP

I feel like this can be easily solved but im too dumb to get it so let me just fill you on with my problem, my server is behind a router which i have put a static IP for it and opened some ports for ...
0
votes
0answers
39 views

up script in ovpn configuration file for Open VPN gives fatal error: could not execute external program

My openvpn finishes with the following: Sun Sep 30 01:35:11 2018 masquerade.sh tun0 1500 1552 192.168.255.6 192.168.255.5 init Sun Sep 30 01:35:11 2018 WARNING: Failed running command (--up/--down): ...
0
votes
0answers
251 views

How can I access a remote camera through ssh?

I have a problem, I need to access to remote IP cam configuration through an Ubuntu computer. I have an Ubuntu computer that has two network connections: One (192.168.1.10) connected directly to a ...
0
votes
0answers
214 views

Can't connect to VPN Server - Key negotiation failed

Edit1: I checked back with my provider and they ensured me that they would not firewall and everything goes 1:1 to the vps. I have checked with tcpdump and get packets on 1194 from my home IP when I ...