Questions tagged [openvpn]
OpenVPN is a free and open source software application that implements virtual private network (VPN)
545
questions with no upvoted or accepted answers
5
votes
0
answers
1k
views
Ubuntu 19.10: "Add" OpenVPN connection is grayed out
I'm trying to add a new OpenVPN connection on a fully-updated Ubuntu 19.10 PC, but the Add button uptop is grayed out:
I already tried to:
zane@zane-pc:~$ sudo apt-get install network-manager-...
5
votes
1
answer
728
views
Openvpn connection problem using network manager
I have problem with connecting to vpn my company gave me those files along with a password
I tried to import them this way
1- I go to Network Setting
2- then I press the plus button to add new ...
5
votes
0
answers
4k
views
openvpn stuck at systemd-tty-ask-password-agent
trying to start openvpn and I keep getting this:
Broadcast message from root@Media (Thu 2017-08-03 07:28:29 EDT):
Password entry required for 'Enter Auth Password:' (PID 31285).
Please enter ...
5
votes
0
answers
2k
views
tun0 doesn't have internet access
I'm using OpenVPN on tun0 (Ubuntu 16/EC2), I can successfully start it with systemctl start openvpn@Ireland (PIA's Irish cluster), but the interface doesn't have Internet access:
curl --interface ...
5
votes
0
answers
8k
views
How to backup/export connections in network-manager in Ubuntu 16.04?
If you have a number of configured wired/wireless or VPN connections in network-manager, how can you backup/export those connections together with the username/password (if you have VPN connections), ...
4
votes
0
answers
7k
views
Trying to route traffic through a tunnel server error: "Nexthop has invalid gateway"
Short version: we have servers in another data center and we have an openvpn tunnel between them.
For the first time, I need to hang server on a different subnet from the tunnel server and I'm ...
4
votes
0
answers
1k
views
How can I prevent DNS leakage when using a VPN in Ubuntu 18.04?
I recently installed Ubuntu 18.04. I want to ensure that my DNS requests use my VPN DNS rather than my ISP DNS.
In 16.04, preventing DNS leakage was easy: just disable the dnsmasq entry in /etc/...
4
votes
0
answers
935
views
Network manager times out using OpenVPN, but VPN is working
I'm trying to connect to a VPN service using the gnome network manager applet. It times out when I try to do this and this is what I see in /var/log/syslog:
Sep 15 18:50:13 mylaptop NetworkManager[...
4
votes
0
answers
2k
views
Ubuntu GNOME + OpenVPN - DNS Leaks. Howto configure?
I'd like my DNS queries to not be used to advertise/track me.
I'm using this site to check for leaks.
The client is Ubuntu GNOME 16.04 and the server is configured like this.
The VPN works. ...
4
votes
0
answers
2k
views
[HELP]Ubuntu 16.04 vs OpenVPN & Google Authenticator
:-)
I tried searching for a solution to my problem, but was unable to find any, other than "it's a bug in OpenVPN".
Essentially the problem is this: OpenVPN w. Google Authenticator does not seem to ...
4
votes
0
answers
4k
views
OpenVPN connection timeout
i am trying to establish a VPN connection using OpenVPN. I think have set up the VPN server correctly. I followed this instructions.
From the server i have received the files ca.crt, ca.key, client1....
4
votes
0
answers
5k
views
/etc/init.d/openvpn not starting automatically but can be started manually
This is about init.d or Upstart init or something else, maybe, I think. But only OpenVPN is affected so far, after upgrading from Ubuntu 12.04 LTS to Ubuntu 12.10 on my VPS.
The problem is: OpenVPN ...
4
votes
0
answers
531
views
DNS servers not correctly set in VPN
I have to use an OpenVPN network to work from home, and I occasionally have problems getting DNS to resolve. The problem comes and goes, and I can't reproduce it reliably.
I took the OpenVPN config ...
4
votes
1
answer
3k
views
DNS Routing Fails for VPN Connections on Ubuntu 16.04 Out-of-the-Box
I would like to report some odd behavior, and my solution. I am left extremely unsatisfied as it relies on custom scripts and non-standard packages. I would like the community's help in figuring out a ...
3
votes
0
answers
2k
views
openconnect fails with "No SSO handler"
Previously I could connect to my office Windows machine remotely from Ubuntu using:
sudo openvpn --mktun --dev tun1
sudo ifconfig tun1 up
sudo openconnect ${VPN_SERVER_ADDRESS} --authgroup=${...
3
votes
0
answers
508
views
Setting up OpenVPN to connect to VPN with 2FA (google Auth)
I have an issue with my Ubuntu 20.04 machine, where I am required to login to the office VPN using OpenVPN.
The system administrator gave us the connect.ovpn file which works without issues when using ...
3
votes
0
answers
11k
views
How to uninstall OpenVPN Access Server?
I need to remove OpenVPN Access Server completely from my system. I installed it with root access(sudo -i) using the following commands from the OpenVPN website:
apt update && apt -y install ...
3
votes
0
answers
1k
views
SSH Connections to Server Freezes
I have a server that has SSH enabled. It's Ubuntu 18.04 LTS.
The connection to the SSH server sometimes freezes, and when it does anyone else connected to it when it freezes for me reports that it ...
3
votes
0
answers
4k
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 ...
3
votes
0
answers
3k
views
OpenVPN CLient stuck at TLS: Initial packet from [AF_INET]
I'm trying to setup a OpenVPN server on Ubuntu , but everytime I'm trying to connect to the server it stuck at
...TLS: Initial packet from [AF_INET]...
here is the logs and the conf I'm using:
...
3
votes
0
answers
1k
views
Help creating a Network Namespace to run a VPN
My intention is to setup a Network Namespace which will have a VPN running in it. I plan on having certain applications configured to start in that Namespace to be behind the VPN. Anything not ...
3
votes
1
answer
6k
views
Setting up Ubuntu Server 16.04 as Gateway for OpenVPN Connection
I'm trying to set up an Ubuntu Server 16.04 in a VM to act as a gateway for traffic to be tunnelled through a connection via OpenVPN.
The concept is that this VM has a static IP and clients on my ...
3
votes
0
answers
245
views
Openvpn client block the connection
I tried to get my rootserver use an vps.
I have vps-unlimited and start it with:
sudo openvpn --client --config /etc/openvpn/[email protected]
After I used this command, I can not connect to the ...
3
votes
0
answers
6k
views
OPENVPN: MULTI: bad source address from client
I struggled this problem for two days, but the problem is still here. Hope someone can provide suggestion or the way how to diagnose it.
What i want is let all client visit Internet over the OpenVPN ...
3
votes
0
answers
1k
views
Can I bypass OpenVPN for a website address rather than IP?
Recent political events (the snoopers carter) have prompted me to start looking at this again. I want to use a VPN for the vast majority of my traffic BUT I also want to be able to use Netflix which ...
3
votes
0
answers
472
views
Setting up PIA VPN on Ubuntu Touch
I'm trying to set up PIA VPN on Ubuntu Touch nexus 4 phone. I have checked the inputed data and it is correct no typos. The PIA staff pointed me to:
https://www.privateinternetaccess.com/forum/...
3
votes
0
answers
508
views
How to connect to a ssl vpn tunnel with motp(Mobile One Time Password) using Ubuntu(16.04.1)?
The company decided that they needed more security regarding VPN, and they changed some things to the vpn. Which is fine, but I don't know how to connect to a ssl vpn tunnel with motp(Mobile One Time ...
3
votes
0
answers
212
views
Run script on VPN up with reference to existing user
I've been scratching my head on this for a day or so now, and have tried a number of different ways of getting this working but seem fundamentally stuck. I want to run a simple Python script when a ...
3
votes
0
answers
244
views
only allow external connections by openvpn
I have an openvpn configured and running.
For security reasosns (I often have to connect from hotels WiFi) I need to allow my computer to connect to internet only if the vpn is running.
How do I ...
3
votes
0
answers
550
views
Bash Script Works On Command Line but not at startup
Let me ask this another way:
There are at least (2) ways to have a bash script called automatically when a user connects to OpenVPN:
Placing the script in the /etc/network/if-up.d folder
Renaming the ...
3
votes
1
answer
11k
views
Send all OpenVPN traffic through proxy or TOR proxy?
I have an OpenVPN server and I want to be able to route all requests that are made to that OpenVPN server through a proxy, so that the requests will look like they are made be the internet address of ...
3
votes
0
answers
403
views
OpenVPN Not Forwarding Traffic on Ethernet
For some reason, my OpenVPN connection does not connect to the internet when I connect to the server over a wired connection. This seems to only be happening on Ubuntu 15.10, as I can connect out on ...
3
votes
0
answers
126
views
Ubuntu 14.04 - Modify OpenVPN files manually
I am using a VPN (Private Tunnel) to download stuff / play games at dorms (ports are blocked, VPN allows me to bypass that). I also am trying to create a script in python that allows me to create new ...
3
votes
0
answers
690
views
dns problem in guest after host connection to vpn
I configured linux guest in kvm runing on ubuntu14.04 host. It runs without any problem and has no issues with DNS.
After connecting host to VPN (OpenVPN), guest is not resolving anything from DNS ...
3
votes
0
answers
4k
views
OpenVPN on Ubuntu 14.04: Auto Connect on startup
There are a lot of topics concerning this.
OpenVPN Auto Connection by putting the conf file to /etc/openvpn just doesnt work.
When using the Authentification type "password" an easy way to make it ...
3
votes
0
answers
1k
views
route traffic throught openvpn
Before I ask my question, let me clarify for dear moderators that I've searched a lot for a solution, but none of the questions/answers on Askubuntu (and other Stackexchange sites) addresses my ...
3
votes
1
answer
3k
views
Invalid VPN Secrets! No Server Certificate Verification Method Enabled
I'm trying to set up a vpn (from VyperVPN) with OpenVPN and keep getting an invalid VPN Secrets error. I've been searching for a solution for a day and a half mow to no avail so i though i would come ...
3
votes
0
answers
5k
views
OpenVPN not listening on port
I just set up an OpenVPN server on a VPS but sadly I can't connect to it.
When I made a portscan I found that my custom 11940 port where openvpn should listen is closed. The default 1194 port is also ...
2
votes
1
answer
232
views
How to tunnel all the traffic for one interface through another interface
I have two working interfaces on my ubuntu machine:
tun0 - OpenVPN server with the internal address of: 10.8.0.0/24
wg0 - WireGuard peer interface with the internal address of: 10.7.0.0/24 which is ...
2
votes
0
answers
565
views
Does Ubuntu OpenVPN client supports static-challenge?
I have a functional OpenVPN MFA Linux server setup that authenticates user with username/password and TOTP value from tools like Google Authenticator or similar.
Client configuration relevant part ...
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 ...
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 ...
2
votes
1
answer
702
views
ufw not blocking openvpn connection
I have a private server that runs Ubuntu 20.04. I have installed ufw and I suppose I get the basics.
Last week I have installed a wireguard server. I was able to block the connections to wireguard ...
2
votes
0
answers
180
views
Ubuntu 20.04 and OpenFortiGUI: VPN works but cannot access smb
I set up my VPN using OpenFortiGUI and it seems to work correctly since I can access the intranet of my institute. I am now trying to access a remote server (smb://fs01.something.lan/) from the Files. ...
2
votes
0
answers
1k
views
OpenVPN + UFW OVERKILL
I am using instructions found on Ask Ubuntu to configure my UFW to act as a "killswitch" for a potential dropped openvpn connection. My ufw rules are as follows:
sudo bash -c "ufw -f ...
2
votes
1
answer
685
views
How to resolve my DNS servers
I have setup an AWS EC2 instance (Ubuntu Server).
This is the content of /etc/resolv.conf
nameserver 127.0.0.53
options edns0
search ap-southeast-2.compute.internal
now I connect my EC2 instance to a ...
2
votes
1
answer
3k
views
Ubuntu 20.04 - Connect to OpenVPN via the GUI instead of command line
Currently I am connecting to the work's OpenVPN using the command line:
sudo openvpn --config work.ovpn --auth-user-pass --auth-retry interact
work.ovpn is the certificates file. interact is for Duo ...
2
votes
0
answers
149
views
SSH not pointing to latest openssl [Ubuntu 16.04.6 LTS -Xenial Xerus]
I have updated the openssl but still the ssh is not pointing to this version of openssl.
How I can make ssl and openvpn to point to this version of openssl?
I tried to google but didnot find ...
2
votes
0
answers
4k
views
OpenVPN: autonegotiation is unset or enabled, the speed and duplex are not writable
I'm trying to install OpenVpnServer on Lubuntu 20.04. I'm not so expert with Linux, so I make many errors. At last I had an "almost working" OpenVpnServer installation, this is (hope so) the last ...
2
votes
0
answers
639
views
Use VPN DNS server with openvpn under 18.04, configuration of systemd-resolved unsuccessful
I have tried for our hours to setup my DNS Resolution on a Ubuntu 18.04 with no success so far ....
I have an openvpn connection that is up and running and creating interface tun1. I do have some ...