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.

Filter by
Sorted by
Tagged with
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....
PhönixGeist's user avatar
0 votes
0 answers
35 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/...
il_mix's user avatar
  • 103
-1 votes
2 answers
92 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 ...
mochoandre's user avatar
1 vote
2 answers
110 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 ...
user3450564's user avatar
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 = [...
Rachel1983's user avatar
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 ...
OCEANBLUE's user avatar
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 ...
Andrew Cline's user avatar
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 ...
Hanz94's user avatar
  • 1
0 votes
1 answer
146 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....
Daqs's user avatar
  • 101
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 ...
AJHG's user avatar
  • 1
0 votes
1 answer
49 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-...
marhyno's user avatar
  • 103
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 ...
RNDThoughts's user avatar
0 votes
0 answers
97 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 ...
anand.0976's user avatar
0 votes
2 answers
223 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 ...
Skenja's user avatar
  • 3
0 votes
2 answers
138 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 ...
Onkeltem's user avatar
  • 101
0 votes
0 answers
70 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. ...
MathiveProblem's user avatar
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 ...
hasan's user avatar
  • 101
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 ...
Tom Chen's user avatar
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 ...
osiaso 's user avatar
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....
Yaegaki2's user avatar
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 ...
Николай Березняк's user avatar
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 ...
MJR's user avatar
  • 1
2 votes
0 answers
424 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 ...
Just Another Nerd's user avatar
0 votes
0 answers
147 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 ...
Ebay's user avatar
  • 101
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 ...
jelkaa's user avatar
  • 1
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 ...
Kevin M's user avatar
  • 299
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 ...
John Tate's user avatar
  • 179
0 votes
0 answers
105 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 ...
Martin AJ's user avatar
  • 113
0 votes
2 answers
93 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 ...
Bulcsú Édes's user avatar
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 "...
Fontaine007's user avatar
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 ...
cd4user's user avatar
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 : ...
Elerir's user avatar
  • 1
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 ...
Bonvi's user avatar
  • 13
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 ...
Eyal Solomon's user avatar
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 ...
faze's user avatar
  • 101
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. ...
nightlover's user avatar
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 ...
Hakim's user avatar
  • 11
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 ...
Per Gunnarsson's user avatar
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 ...
nrw2000's user avatar
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 ...
Paulo's user avatar
  • 11
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 ...
rvh's user avatar
  • 109
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 (...
amexcommunicado's user avatar
0 votes
0 answers
417 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 ...
scubbo's user avatar
  • 193
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 ...
Knowledge's user avatar
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 ...
Dave's user avatar
  • 25
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 ...
brandizzi's user avatar
  • 150
0 votes
0 answers
101 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 ...
ufk's user avatar
  • 333
0 votes
1 answer
113 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 ...
Patrick's user avatar
0 votes
0 answers
445 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 ...
AlphaCentauri's user avatar
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 ...
Fred Luetkemeier's user avatar

1
2 3 4 5
66