Questions tagged [openvpn]
OpenVPN is a free virtual private network (VPN) client and daemon.
861 questions
1
vote
0
answers
40
views
Why does Gnome VPN include DNS servers that are not in specified list?
In Gnome 48, I manually configured a VPN connection with the GUI. I specified the 8.8.8.8, 8.8.4.4 DNS servers and turned off automatic DNS.
So why does it still include 192.168.1.1 ? This is the ...
1
vote
0
answers
74
views
How solve Installing OpenVPN server on AlmaLinux 8 TLS problems
I want to set up OpenVPN version 2.4 or 2.6 on AlmaLinux 8 on a VPS and connect using the OpenVPN v2.4 GUI application.
I tried some scripts to set up, all of them installed properly, but during ...
1
vote
0
answers
111
views
SSH logging to external syslog server
I am using CentOS 10, and I am trying to send the SSH logs to an external syslog server listening on port UDP 514. I changed the default logging facility of sshd to local2 and tested it locally and it ...
0
votes
0
answers
44
views
Wireshark logs are not captured during OpenVPN client-server test
Edit: 05/24, I'm able to capture wirshark logs in my WSL Ubuntu distro , But still when wireshark logs are captured through windows hyper-v interface from windows it does not capture all the packets
...
1
vote
0
answers
35
views
How to simplify multi-VPN management (WireGuard/OpenVPN) and secure password handling?
I frequently switch between different VPN configurations on Linux:
WireGuard (wg-quick up/down)
A corporate OpenVPN profile (sudo openvpn corp.ovpn, which prompts for a private key password)
Right ...
1
vote
1
answer
167
views
Cannot SSH to a machine over OpenVPN
I have the following setup:
Machine 1 -> Home router -> Internet -> Mobile hotspot -> Machine 2
Machine 1 is running an OpenVPN server on UDP port 1194 and SSH on port 2022. I want to SSH ...
1
vote
0
answers
95
views
nmcli fails to connect to openvpn server using password+totp
I have an openvpn conf.ovpn file imported in nmcli using
nmcli connection import type openvpn file ./conf.ovpn
I opened Networkmanager GUI and set the username for this connection.
I am trying to ...
0
votes
1
answer
77
views
Openvpn client works fine on Android and Windows. On Linux mint it connects but can't access websites and local ips on vpn network
I'm using my Asus router's openvpn server.
The router's gateway IP is 192.168.50.1
The VPN server's subnet is set to 192.168.100.0
I downloaded the ovpn file from the router page and used it on my ...
0
votes
2
answers
214
views
OpenVPN Client not connecting to OpenVPN Server on Netgear
My son has an OpenVPN server set up on his NetGear router in the UK. I am in Italy and have an OpenVPN Client that works fine on Windows but I want to connect also from my Raspberry Pi and Ubuntu ...
0
votes
1
answer
121
views
OpenVPN starts from command line but does not initiallize as a service
I got OpenVPN working quite smoothly following this debian wiki. I went through all the steps from the raw testing connection, the static key, and finally the certificates option. My server and ...
1
vote
0
answers
47
views
Openvpn restart comunication
I have two PC (one with Archlinux, the other with Kalilinux) which I want to connect to a Sever through VPN (University gave me the ovpn file).
With both I can run sudo openvpn <file> but:
with ...
1
vote
1
answer
254
views
OpenVPN in Debian 12 does not ping to server
I have been a linux user for some years although I'm very new to the networking aspects. This is the first time I will use OpenVPN and I have been strugling to make it work for a few days. I need to ...
0
votes
0
answers
30
views
Connect to disregarded host through VPN
m looking for some help, I'm trying to connect to a host under a 4G router through VPN.
First step, I'm using a raspberry pi 5 with raspberry pi os 64 bits, with openvpn3 installed on it. On a ...
0
votes
1
answer
457
views
OpenVPN Configuration Failing on Linux Mint 22 After Successful Setup on Mint 21
I’m using OpenVPN on Linux Mint 21, and it works fine.
Now I’m trying to use the same configuration on Linux Mint 22, but the connection fails.
I have no idea how to solve this. Can anyone help me, ...
1
vote
0
answers
63
views
Ubuntu Openvpn no traffic to client
I got a problem with an openvpn server on dedicated hosting vm - the problem is that the packets do not pass to the client after the connection is established (although during the establishment of ...
0
votes
1
answer
229
views
How can I connect to my self-hosted openvpn access server from kde system settings?
I have an .ovpn config that I use daily on my iPhone and Mac using the OpenVPN client apps, and I’m trying to set it up on my Steam Deck (SteamOS which is Arch based) for cloud gaming.
I installed the ...
1
vote
1
answer
137
views
How to get OpenVPN's remote peer external (real) IP address?
When connecting to an OpenVPN server I use an FQDN that may resolve into multiple IP addresses yet only one of them is chosen/used as long as the VPN session is alive.
How can I get it?
ifconfig, ...
0
votes
0
answers
34
views
Unable to reach remote container port behind VPN
I have a small server which acts as an OpenVPN server and a ZNC server, among other things. The ZNC server runs in a docker container and is accessible locally via the server host IP.
Server IP: 172....
0
votes
1
answer
277
views
multiple VPN connections from the same device
I have set a VPN server (ubuntu) with a docker from the kyle/manna project. I want to establish two different VPN tunnels (VPN tunnel 1 and VPN tunnel 2) from another device (ubuntu) which owns two ...
3
votes
0
answers
90
views
Alllow SSH only when the client/PC is connected to that server's OpenVPN
For the past couple of days i've been trying to acheive this simple idea > as an extra measure to secure my machine, i would like to restrict SSH to only be available to OpenVPN users in which i ...
0
votes
0
answers
90
views
OpenVPN works on Android mobile but doesn't work on Arch Linux
I have OpenVPN with username/password on my Android mobile which works perfectly. I installed OpenVPN on my Arch Linux and created a username/password file in home directory and wrote it terminal:
...
0
votes
1
answer
201
views
Set up OpenVPN to allow server access AND internet access
I have a server that hosts virtual clients (KVM). My virtual network uses the IP range 192.168.122.0/16, which means I want to communicate with addresses in the range 192.168.x.y.
Now I am installing ...
-4
votes
1
answer
155
views
Can Linux OpenVPN server be accessed with Windows 10 Build-in VPN? [closed]
I have an OpenVPN server installed on Linux (Linux Wonderland 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64) and it works fine with OpenVPN client on Windows 10.
Is there a way to use ...
1
vote
0
answers
198
views
Forcing OpenVPN process to run with a specific group using nmcli
I am struggling with this script of mine that should prepare a secure VPN connection with VPN kill switch and I need some help.
What I am trying to do (in general):
My goal is to set up a very strict ...
0
votes
1
answer
135
views
open vpn - not working but also dont returns any error
i have both open vpn server and client. the client is my windows pc and the server is a ubuntu 22 VPS.
im running openvpn on the serverside with this command :
openvpn --dev tun --ifconfig 172.16.0.1 ...
0
votes
1
answer
178
views
systemd service for openvpn vs networkmanager-openvpn
I am using Yocto for a rpi4 target. I was using a systemd service to activate my VPN over openvpn at boot:
[Unit]
Description=OpenVPN connection to .ovpn file
After=network.target
[Service]
Type=...
1
vote
0
answers
354
views
OpenVPN Access Server Stuck on License Agreement
I followed the steps from the OpenVPN Access Server Portal to install OpenVPN Access Server on an Ubuntu Server 22 headless VM. After installing and automatically configuring the service, I went to ...
1
vote
2
answers
352
views
Can't use OpenVPN as client on NetBSD, route add command fails
I am trying to use OpenVPN as a client under NetBSD using this command:
openvpn --client --config /etc/openvpn/config.ovpn
I am getting the following output and errors:
localhost# openvpn --client --...
0
votes
1
answer
91
views
OpenVPN client - DNS will get set only on the 1st launch
OpenVPN client and systemed-resolved.
When I run OpenVPN client, it'll get connected and will be able to load the target resources properly only during the very first launch, after reboot. On all the ...
1
vote
1
answer
2k
views
How to setup a dedicated NordVPN router and gateway on linux?
The problem is this:
The only officially supported router configuration for nordvpn is to use a static config file and openvpn.
That doesn't work for me.
The question:
Using linux, how does one setup ...
0
votes
0
answers
113
views
OpenVPN Linux client connection fails, but it is normal on Windows
Questions
Hello guys:
I bought a VPS and built my own OpenVPN server. I want to use it to fulfill some of my needs.
Then I configured the client through various channels (including but not limited to ...
2
votes
0
answers
244
views
Endless loop when connected to OpenVPN
I connected my university-vpn via openvpn on Windows, Ubuntu and Manjaro.
Windows worked instantly, no configuration was needed.
When using any Linux-System, connecting to the vpn seems to work but ...
0
votes
0
answers
72
views
Firewalld access from OpenVPN to ftp server
On my router I opened port 21 to FTP and server(Alma Linux 9)works on my public adress IP. In firewalld I set below rule where access has my public IP and it works.
sudo firewall-cmd \
--...
1
vote
2
answers
980
views
Allow SSH connection to machine connected to VPN
My problem:
I am using Ubuntu 22.04 with a VPN from ExpressVPN set up using their cli tool, they also provide an ovpn configuration file, so I can tweak the configuration as I please while maintaining ...
1
vote
1
answer
145
views
Exclude SSH and Webserver from OpenVPN connection
I have a server hosted outside that has a webserver and I access it using SSH, its ip is 111.111.111.111. The problem arise when I connect the server to a VPN using OpenVPN sudo openvpn XXX.ovpn(...
1
vote
0
answers
565
views
Cannot mknod tun file, /dev/net/tun inaccessible
I have successfully chrooted Fedora among other distros in my Android but I've run in a problem I cannot overcome.
I am trying to use openvpn on a .ovpn file, however I am unable to open /dev/net/tun ...
0
votes
1
answer
454
views
** ERROR ** trying to launch openvpn3 : Failed preparing proxy: Failed to execute program net.openvpn.v3.sessions: Permission denied
I cannot figure out how it's possible that I'm getting "permission denied" as root (and as a normal user) when I launch openvpn3 on Ubuntu 23.10 :
$ openvpn3 session-start --dco true --...
2
votes
2
answers
3k
views
Failed to fetch https://packages.openvpn.net/.../dists/lunar/InRelease 403 Forbidden
I'm running Ubuntu 23.10 on a I9 cpu + Nvidia Geforce RTX 2080 ti and the driver 545 right now. I would like to install the OpenVPN 3 client on my Ubuntu,but I'm not able to install the repository :
...
0
votes
0
answers
118
views
Access to client local internet and vpn server local network
When I connect to openvpn, I want to be able to access the devices in the openvpn local network and use my local internet. But I can only access local internet and openvpn server machine. Can't access ...
-2
votes
1
answer
2k
views
Can't ssh to tryhackme server no matter what I do [closed]
I've been having trouble connecting to tryhackme's SSH server from my Linux machine (Linux Mint 21.1 Cinnamon). The terminal displays a port 22 connection timeout error.
Here's the output from the ...
1
vote
0
answers
64
views
Openvpn does not see incomming connection
My openvpn server stopped working and I cannot get any information what goes wrong.
I see the packets coming in on the interface with tcpdump:
09:06:33.283561 ARP, Request who-has blueberryext.home ...
1
vote
0
answers
1k
views
OpenVPN connection works in CLI but not in GUI (via NetworkManager)
Using Debian 11.
I set up CyberGhost VPN using the .ovpn file, client key and certificates they provide on their website. Copied all files to /etc/openvpn/. Using the following commands will allow me ...
-1
votes
1
answer
689
views
openvpn client cannot connect via UDP, but TCP works fine
problem:
I've setup a new ubuntu 20 vm on esxi and installed openvpn. It can connect to multiple vpn servers, like protonvpn, but only through tcp, not udp.
troubleshooting:
Used netcat to verify ...
0
votes
0
answers
289
views
NetworkManager OpenVPN creates extra/incorrect route to VPN server
I'm connecting to an OpenVPN server in Ubuntu using networkmanager. The connection establishes fine, but a route is being created that routes the vpn server's IP out the wrong interface.
default via ...
0
votes
1
answer
471
views
Attempt to connect to ExpressVPN Server fails
for several months, if not weeks, I have had a fully functional connection to an ExpressVPN server via the "NetworkManager" on OpenSuse, but now, suddenly, it reports "failed to ...
0
votes
1
answer
1k
views
OpenVPN Error: Connection activation failed: Could not find source connection [closed]
I am using Debian on a VPS and now I need to connect it to my university vpn using OpenVPN. I have .ovpn file imported and I can see the connection in nmcli c. But when I issue nmcli c up myvpn I get ...
0
votes
0
answers
282
views
How does sshuttle actually forward TCP packets? How is it different from a full-fledged VPN?
Here is the scenario:
On myHost (1.1.1.1) I run:
sshuttle -r user@remoteHost 0/0
Now, if I check the my current IP on myHost with an http request directed to one of those services that echo your IP, ...
0
votes
0
answers
64
views
How to route particular IP via one of the OpenVPN clients
I have several fedora servers being gateways for local networks and are connected via tunnels:
server A running OpenVPN server with eth0 192.168.1.1/24 tun0 192.168.94.1 and eth1 1.1.1.1
server B ...
0
votes
1
answer
973
views
OpenVPN user nobody permission denied
My OpenVPN server is running under nobody account and it is configured to call a script once a client gets connected (for logging client's IP along with some info):
client-connect "/etc/openvpn/...
6
votes
1
answer
20k
views
OpenVPN Private Key Password being requested
Since my last system update the existing OpenVPN connection stopped working because it started requesting the "Private Key Password" (note this is not the "User Password", as ...