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,297
questions
0
votes
0
answers
27
views
Multiple wireguard interfaces with the same IP
Client IP: 10.1.1.100; Server IP: 10.1.1.101
Is it possible to have 1000 Wireguard interfaces on a client VM with
Same IP address attached to all interfaces
Different listening ports
Same Endpoint IP,...
0
votes
1
answer
49
views
OpenVPN: can't reach client network from server
I have two servers, beta and alpha; beta is an OpenVPN server. Both runs FreeBSD. Both runs jails.
OpenVPN network is 192.168.25.0/24. Beta's network for jails is 192.168.24.0/24. Alpha's one is 192....
0
votes
0
answers
24
views
Save private key passphrase OpenVPN on debian
I installed the OpenVPN 3 client on my debian bookworm, but every time I start the daemon it says Private key passphrase:.
How can I store the passphrase? It's annoying type the password every time I ...
-1
votes
0
answers
26
views
OpenVPN Configuration to access devices behind on site router
Sorry i am new to this, and dont have a very strong knowledge on configuring networks.
I am able to reach internet and successfully browse from PC1 and any device connected behind the router, DNS ...
0
votes
0
answers
25
views
Slow communication between FE-BE
I have an application with the following architecture: frontend (Angular) that runs on my PC locally with http server and backend (.NET Core) on a remote machine on which the database also runs.
My PC ...
0
votes
0
answers
41
views
OpenVPN search domain not set in systemd-resolved by NetworkManager
I've got a running OpenVPN setup (server is an OPNSense firewall, clients are Ubuntu 22.04 / 24.04) using multiple search domains as well as a "suffix" domain (for example "dhcp-option ...
0
votes
1
answer
44
views
Best practices along with using VPN for remote access to VPC [closed]
I'm exploring the OpenVPN access server/ConexaCloud as I want to be able to access a VPC with private resources.
With OpenVPN, what other measures should I take to secure the VPC?
I know I can block ...
1
vote
0
answers
18
views
Opevpn Routes are not adding to the server when client is connecting
Can't find out why routes are not adding.
Here's my configs
cat /etc/openvpn/ccd/kostroma
ifconfig-push 192.168.200.38 255.255.255.0
iroute 10.1.0.0 255.255.255.0
iroute 10.1.3.0 255.255.255.0
iroute ...
0
votes
0
answers
24
views
editing ip in openvpn config file with expressvpn
I was recently trying to set up a new tunnel for express vpn in openvpn, but i needed to change the allowed ip to:185.34.0.0/16 in the config file. The problem is, with the config file that expressvpn ...
0
votes
1
answer
67
views
2 OpenVPN connections routing to forwarded port only works when 1 connection is down
I have a home network with a DSL router. One machine on the network opens a openvpn connection to a third party vpn provider. This machine then acts as a router for all machines on my network that ...
-2
votes
0
answers
27
views
How should I configure OpenVPN from gateway server to private server?
Seeking a bit of guidance on how I should set up my OpenVPN tunnel from client -> gateway server -> home server.
Right now I'm running an Ubuntu 20.04 server on my home network. In order to
...
0
votes
1
answer
42
views
OpenVPN: Accessing devices without PMTUD via VPN: how to allow 1,500 byte packets to pass through unmodified?
I'm trying to see if I can access a particular type of switches over an OpenVPN connection. I have the following situation;
I can't access the management console of these type of switches, as they ...
0
votes
1
answer
78
views
OpenVPN on server to tunnel back-end connection
I need to configure a Linux server (probably CentOS) to run a web application online.
Elements in the flow:
mywebapp, reachable at the url https://mywebapp.example.org
thirdpartwebserv, reachable at ...
1
vote
1
answer
60
views
Amazon EC2 OpenVPN connected but no Internet
Client is connected but there is no Internet connection.
EC2 settings:
Change Source / destination check - Stopped
Security group:
Inbound rules
Outbound rules:
ip a output
1: lo: <LOOPBACK,UP,...
1
vote
1
answer
22
views
TC filter not working properly
I have an OpenVPN server where I control traffic from clients to server subnets using iptables. Now, additionally, I want to control bandwidth of the network using tc.
Here are the class definitions:
...
0
votes
0
answers
20
views
OpenVPN : Unable to access distant subnet over VPN from Office LAN
I have an issue to access a subnet through VPN connexion.
I am currently experiencing an issue where traffic between my Office internal network and subnet on a machine over VPN client is not being ...
0
votes
1
answer
105
views
OpenVPN client 2.4.4 cannot connect to OpenVPN server 2.5.1 [closed]
I have OpenVPN 2.5.1 on Debian 11 VPS, and OpenVPN 2.4.4 on my Linux PC client. I cannot connect to VPN server from my Linux PC by using this client.ovpn file.
TLS Error: TLS key negotiation failed to ...
0
votes
0
answers
53
views
How to assign multiple IP addresses to one client in OpenVPN Network?
I have an OpenVPN network and I need to assign multiple ip addresses to one client (like 10.8.0.10 and 10.8.0.12) But i could not figured out.
is it possible to do it?
Firstly, I tried to create ...
0
votes
0
answers
40
views
Ubuntu server 20.04 does not initialize systemd script!
I'm trying to put a script to run at Ubuntu startup via systemd, but the same error occurs and the command is not executed, the script is used to raise the tap interface, and make the bridge with the ...
0
votes
1
answer
54
views
Cannot bind program to OpenVPN interface to use VPN
I have my Ubuntu 22.04 server setup with an OpenVPN client, I only want one program on this server to use the OpenVPN network. To prevent all traffic from automatically getting routed through the vpn ...
1
vote
1
answer
50
views
What is the meaning of "~." in vpn dns settings
When running resolvectl while a VPN is connected, the DNS Search field has the entry "~." .. what is the meaning of that character sequence?
1
vote
1
answer
139
views
Openvpn on fedora40 raises error on systemd process but works well in regular command prompt
Although on ubuntu everything is work well when I tried to start openvpn as systemd service in fedora40, its work well in prompt :
sudo /usr/sbin/openvpn --verb 9 --suppress-timestamps --nobind --...
0
votes
1
answer
93
views
google-autenticator openvpn not working pam?
Hy All.
I have been struggling with google-authenticator + pam..
Ubuntu 24.04
openvpn2.6.9-1ubuntu4 amd64.
server.conf
....
plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so "openvpn login ...
0
votes
0
answers
40
views
openvpn : can't connect with distinct certificates when more than ~20 users
I have setup a VPN for my students to access some boxes ;
here is the server configuration :
port 1194
port-share 172.17.16.12 80
proto tcp
dev tun
ca /.../.crt
cert /.../.crt
key /../....
0
votes
0
answers
80
views
Redhat RHE9 ansible raising Invalid repo ID while the repo is listed on the system
I'm running Linux Redhat 9 on one of my AWS EC2 and I'm trying to install OpenVPN server.
For that I want to enable codeready-builder repository.
Here is the ansible task that enable the repo :
15 - ...
1
vote
1
answer
150
views
OpenVPN suddenly stopped working with P_CONTROL_HARD_RESET_CLIENT_V2
I've had OpenVPN set up for quite a few years with no problems, but last week clients from outside cannot connect and the connection times out (computer) or says "Peer certificate verification ...
0
votes
2
answers
198
views
How do I replace the main network interface with a bridge on GCP?
What I'm trying to do is launch a bridged OpenVPN server on GCP (in a GCE VM). What looks like a crucial part to me is in the title. If I succeed, the rest is supposedly easy. I tried two approaches:
...
1
vote
1
answer
1k
views
OpenVPN "error=CA signature digest algorithm too weak"
After upgrading our OpenVPN server from Debian Buster to Bookworm, which also upgraded OpenVPN from 2.4.7 to 2.6.3, we're now getting this when any client tries to connect:
error=CA signature digest ...
0
votes
0
answers
50
views
Subnet cannot view server ip (OPENVPN)
I have an OPENVPN server set up on Ubuntu Server.
I assigned a different subnet to 2 particular clients using the ccd function.
Being on said subnet both see each other without problems.
The drawback ...
1
vote
0
answers
64
views
How to disable the OpenVPN prompt for credentials on reconnect if already saved?
I'm encountering an issue with OpenVPN where, despite having saved the username and password, a prompt still appears on every connection or reconnection with a 5-second timeout. Is there a way to ...
0
votes
1
answer
130
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
119
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
116
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
171
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 ...
1
vote
1
answer
292
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
17
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
57
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
146
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
566
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
362
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
61
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
181
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
419
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
886
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
426
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
128
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
72
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
338
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
519
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
80
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....