Questions tagged [openvpn]
OpenVPN is a free and open source software VPN solution. It allows secure point-to-point or site-to-site connections with routed or bridged configurations and remote access facilities.
3,287
questions
0
votes
1
answer
20
views
Jail-Chrooted OpenVPN Service with Apparmor fails with Operation not permitted
I have an OpenVPN client with chroot-jail currently working as a Linux service openvpn-client@vpn
I am trying to make it work with AppArmor, I created the OpenVPN profile in /etc/apparmor.d/usr.sbin....
0
votes
0
answers
38
views
OpenVPN "TLS Error: TLS key negotiation failed"; possible malicious access tentative
I have an Ubuntu Server with OpenVPN 2.5.5. Here is the server configuration
port 1194
proto udp
dev tun
ca /etc/openvpn/server/ca.crt
cert /etc/openvpn/server/issued/server.crt
key /etc/openvpn/...
-1
votes
2
answers
93
views
OpenVPN LAN devices can not access clients
I have an OpenVPN server running in a Ubuntu 22.04 Proxmox VM from which I can access clients and those clients can access devices in my internal LAN. My problem is that devices on internal network ...
1
vote
2
answers
111
views
Pass web traffic to VPN endpoint other than the OpenVPN envelope through the VPN itself
I have a Linux server that is an OpenVPN endpoint, but also hosts a webserver.
When my client connects to the server address for the webserver, the packets travel outside the VPN. Rightly so, since ...
0
votes
1
answer
27
views
Running wg-quick up wg0 is altering my /etc/wireguard/wg0.conf file
Im using debian 11 server on my VPS, and trying to setup wireguard.
after creating my private and public keys, i create my config file /etc/wireguard/wg0.conf with contents
[Interface]
PrivateKey = [...
0
votes
0
answers
14
views
OpenVPN Allow clients to acess more machines
Currently, my OpenVPN Windows Server (192.168.15.56) only allows connection to itself and Firewall is disabled entirely for now. In my ISP Router I have a rule that allows remote connections for all ...
0
votes
2
answers
41
views
OpenVPN - Properly sharing keys/certificates
I enabled OpenVPN on the router at work so that we can connect to different devices like our NAS and RDP into the computers there without opening those ports to the internet.
One cause of concern that ...
0
votes
0
answers
53
views
UFW blocks traffic despite there is an allow rule
I have Ubuntu server with OpenVPN server running there.
IP addresses as follows:
enp1s0: 192.168.3.67/24
tun0: 172.18.37.1/24
OpenVPN is configured so that devices behind the VPN client are ...
0
votes
1
answer
147
views
Connecting Nginx Server to OpenVPN and Accessing it from the Internet
I have an Nginx server running on my local network, and I want to make it accessible from the internet via an OpenVPN connection. Here are the details of my setup:
Ubuntu Server Local IP Address: 192....
0
votes
1
answer
90
views
OpenVPN client doesn´t connect to OpenVPN server
I followed the guides provided by two youtube videos, Install and Configure OpenVPN Server in Windows PC and how to Install & Setup OpenVPN on windows 10, step by step. However, client doesn´t ...
0
votes
1
answer
50
views
Cannot connect to MariaDB through an OpenVPN tunnel
Similar to this issue Unable to connect to MariaDB through an OpenVPN tunnel
I cannot connect to the MariaDB server through OpenVPN. The setup is -
Ubuntu 20.04,
mariadb Ver 15.1 Distrib 10.3.39-...
0
votes
1
answer
128
views
OpenVPN client cant communication with LAN
I am running FreshTomato 2023.5 and attempting to setup an OpenVPN server. I can generate the client config and get my iPhone to connect using the openvpn client. I can then ping the FastTomato ...
0
votes
0
answers
102
views
Split tunnel configuration with OpenVPN not working on Ubuntu 18.04
I have Ubuntu 18.04 on my laptop and it has a VPN settings configured on it.
PfSense is the firewall and the VPN server is OpenVPN. Split tunnel is configured on that OpenVPN client. I can confirm ...
0
votes
2
answers
225
views
firewalld config for OpenVPN
I am trying to setup an OpenVPN server on a VPS running Fedora Server 35. I got the VPN setup and working, but am running into issues with the firewall setup.
This is my first experience administering ...
0
votes
2
answers
139
views
How to route browser traffic through an OpenVPN connection on Linux?
I have set up an OpenVPN connection but I don't want to send all the traffic through it.
My current routing table looks like this:
$ ip route
default via 192.168.88.1 dev enp7s0 proto dhcp metric 100
...
0
votes
0
answers
71
views
Global Server Load Balancing for OpenVPN over OpenVPN with DSR
Ok, so...I am in no sense a pro when it comes to networks, load balancing, tunneling or VPN connections BUT I tried a few things to get this theoretical concept to work - obviously without success.
...
0
votes
1
answer
48
views
error connecting to open vpn from my server
i'm connecting to an open vpn server but i dont know why i does not connect.
i use this commend:
sudo openvpn ./config.ovpn
here is the output:
Sun Jan 21 11:11:10 2024 us=434468 Re-using SSL/TLS ...
0
votes
1
answer
132
views
DNS resolution error when using OpenVPN v3 on Windows 11
OS: Windows 11
Software: OpenVPN connect v3.4.3
I have a problem connecting to the VPN on AWS, I used the .ovpn file that was working on Windows 10 (OpenVPN Connect v2), but it always shows a ...
0
votes
1
answer
152
views
Fixing route and iptables for an OpenVPN tun0 interface, with a selected and safe routing
I did setup my router to use 3rd party VPNs for maximum security.
Since the ISPs that I am using have blocked all known VPN protocols including OpenVPN protocols, therefore I am forced to configure my ...
0
votes
1
answer
23
views
pFsense : A rule apply on user account
I have a pFsense user account 'foo.extern'. This account can log to the server with OpenVPN. It works fine.
Now i want to make a firewall rule to allow this account only access to the IP adresse 192....
0
votes
0
answers
26
views
OpenVPN freeradius setting doesn't work
Tell me, I really need to configure OPENVP + FREERADIUS, but Freeradius does not see openvpn users.
openvpn errors:
2024-01-10 13:20:22 10.1.1.34:58934 TLS Error: Unroutable control
packet received ...
0
votes
0
answers
44
views
AWS OpenVPN server - accessing other instances
Happy new year!
I've just set up an AWS account and have three instances at the moment (one is for a Certificate Authority so is largely irrelevant). Both are running on Ubuntu 22.04, one is hosting ...
2
votes
0
answers
444
views
AWS VPN Client - "Unknown error ocurred. Try again"
I'm experiencing a persistent issue with the AWS VPN Client and need some assistance. Despite numerous troubleshooting attempts, I'm unable to establish a connection and fail even before reaching the ...
0
votes
0
answers
148
views
openvpn with proxy, Unexpected EOF: reply incomplete
I have an OpenVPN configuration for work that I received from my company. However, due to certain restrictions in my country, I am unable to directly reach the company's server. To overcome this, I'm ...
0
votes
0
answers
43
views
Using bind9 forwarding to openvpn does not work
i have an openvpn running on my server. It works, and when i check with traceroute, i see that the first ip address is 10.12.4.1, so i think my vpn?
Heres my openvpn conf from my ubuntu server
client
...
0
votes
0
answers
24
views
OpenVPN - connect to flapping server
I have to connect to OpenVPN server at work, which accessable via two different ISP (so, the server can be reached via 2 different IPs).
I used to put to client config these classic links:
remote IP1
...
0
votes
1
answer
73
views
SNAT and DNAT port forwarding to a linked subnet
I am having some issues with the classic problem of DNAT/SNAT port forwarding, with the added complexity of multiple networks and subnets being involved. I want to forward a port from a VPS server of ...
0
votes
0
answers
107
views
OpenVPN connection timeout error
It's few months I'm using OpenVPN as well, but now, I get timeout error:
Any idea what's wrong and how can I fix it?
Note that, in the past I've seen this error once and by disable/enabling network ...
0
votes
2
answers
94
views
IP forwarding with openvpnas server
I have opened port with openvpnas server. When users join to my server, everyone gets the same IP and they can not register to my server because the authme plugin senses one user for the same ...
0
votes
0
answers
43
views
Tunnelblick / OpenVPN only creates 1 tun interface when connected to 2 VPNs
I have many OpenVPN connections and mostly they can be connected at the same time using Tunnelblick. For multiple simultaneous connections, Tunnelblick will create different interfaces like "...
0
votes
0
answers
97
views
OpenVPN via OPNsense in Hetzner Network
I am trying to set my openVPN server via OPNsense installed in the hetzner cloud in order to get access to the hetzner's internal network.
The hertzner's internal network structure is separated by ...
0
votes
0
answers
200
views
File transfers very slow in one direction
I am having trouble debugging a connection issue :
Server A (OMV) has a fast internet connection : 900mbps down / 600 mbps up
Client B (Windows 10 using wsl) has a decent internet connection : ...
0
votes
1
answer
81
views
VPN setup multi-user multi-network topology
Context
I am trying to understand how to best setup VPN access for a group of users and networks.
The situation is represented by this network schematic:
Site A represents the main network
I have ...
0
votes
1
answer
253
views
OpenVPN AS split tunneling with "whitelisted" domains
got a requirement to enable split tunneling for our work openVPN as server's
This also includes having a "split DNS" configuration where some internal/public company domains traffic should ...
0
votes
0
answers
129
views
How to get the OpenVPN *REMOTE* server version?
Getting the local openvpn client version number is easy: openvpn --version. But I am wondering how to get the server version running remotely? Thanks!
I tried nc and nmap. But none of them provided me ...
0
votes
0
answers
305
views
Forwarding traffic from OpenVPN through Cloudflare WARP
I have an Ubuntu 22 node, and I'm trying new ideas to implement using Cloudflare WARP.
Let's say I want to have an OpenVPN server running on the node, while Cloudflare WARP is installed and connected. ...
1
vote
0
answers
75
views
How can I setup 2 VPS can connect without using VPN which those VPS has already setup the ListenAddress to the VPN
I have 2 VPS,
and those 2 VPS are setup OpenVPN, and we only can access it by connect to VPN, then ssh it to VPN gateway itself. I set it up from sshd_config by adding ListenAddress.
here's the ...
0
votes
0
answers
98
views
Can't mount Samba share inside router connected to OpenVPN
Inside my router (connected to an OpenVPN server) is a Samba share.
I try to mount that share with my mobile phone (connected to the same OpenVPN server), but this does not work.
My (reducted) OpenVPN ...
0
votes
1
answer
99
views
Configure OpenVPN client to use a different gateway
Given:
A computer running Manjaro Linux, with a gateway of 192.168.1.11, that routes all traffic through a personal VPN.
For work, there is an ovpn file from the employer for connecting to the work ...
1
vote
0
answers
43
views
GCP VPC IPv6 routing to an OpenVPN instance
Previously, on premises, I successfully setup an OpenVPN server (on Ubuntu) that assigned globally routable IPv6 addresses to VPN clients (which is a project requirement). A generous /48 IPv6 prefix ...
0
votes
1
answer
41
views
In OpenVPN, is the signing CA the mechanism used to validate clients and servers to each other?
Assuming bidirectional keypair authentication with valid certificates, such as dates, etc., no tls-crypt, no CRL and no checks for common names.
Is that also the reason for using a private CA, instead ...
0
votes
0
answers
144
views
Routing VPN traffic through VPN router
I have looked through lots of Double-VPN / VPN Chain questions over the internet and it looks like my case is a bit special.
Long story short. I have a Raspberry Pi acting as WiFi-to-USB-C dongle (...
0
votes
0
answers
419
views
OpenVPN Timeout when connecting
I have followed instructions here (with slight adaptations, as listed below) to set up OpenVPN on an OpnSense router, but clients are not able to connect.
Differences:
I set Local port to 1179
I set ...
0
votes
0
answers
57
views
Unprivileged LXC - Cannot set tx queue length
I've installed and configured OpenVPN server on unprivileged LXC.
Everything works fine except for one problem/warning:
Cannot set tx queue length on tun0: Operation not permitted (errno=1)
My tun0 ...
0
votes
0
answers
107
views
OpenVPN setup with MS authenticator
I have set up openvpn with active directory authentization in our company.
Now I set up microsoft atuhenticator (in pam.d with pam_unix.so and pam_google_authenticator.so).
It is working fine.
Is some ...
1
vote
0
answers
32
views
Restricting "auth" hash function OpenVPN will use for HMAC
We have a few OpenVPN 2.5 servers running on VMs, simulating some scenarios a product of ours have had to deal with. We run tests against them. One of these scenarios is a server that would only ...
0
votes
0
answers
102
views
ssh to the same server of openvpn, tries to connect with original IP instead of VPN IP
I'm using ubuntu Linux 22.04.3 LTS with OpenVPN 2.5.5 and i have ssh server installed there too.
i want people to be able to connect to that server by ssh only if they are connected to the VPN.
that ...
0
votes
1
answer
114
views
Configure OpenVPN with existing certificate
I want to configure OpenVPN with available certificates, without using easy-rsa.
I use openssl to generate private.key and csr.csr. Then I use opensource CA EJBCA to authenticate csr and create a ...
0
votes
0
answers
448
views
Why do I get ECONNREFUSED|ECONNREFUSED for an openvpn server, after doing easyrsa gen-crl?
My OpenVPN server has been working perfectly fine on an Arch Linux install. I've done regular pacman -Syu updates over the past year, every now and then I've had to run:
easyrsa gen-crl
When the ...
0
votes
0
answers
215
views
OpenVPN Server on K3s Kubernetes Cluster: No Internet Access
I've set up an OpenVPN server on a K3s Kubernetes cluster. While I can successfully deploy the OpenVPN server pod and connect from a client machine, the client doesn't have internet access through the ...