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
150 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 votes
0 answers
22 views

Ping another network from machine in network behind VPN client

I am trying to ping another network from Windows machine with IP 192.168.0.108 with routes route add 10.8.0.0 MASK 255.255.255.0 192.168.0.112 route add 192.168.31.0 MASK 255.255.255.0 10.8.0.1 ...
-1 votes
0 answers
47 views

Access remote server from Host through VPN while OpenVPN runs in docker container

I'm using Docker Desktop on Windows with WSL2 backend, and I'm having hard time trying to reach server accessible through VPN, in the situation when: OpenVPN runs in the container I want to reach ...
0 votes
1 answer
57 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 ...
1 vote
1 answer
4k views

unable to connect to an openVPN server from a windows client

I set up an openVPN server and it is functional from android devices and linux desktops. However I have a client that is able to connect using the my.ovpn I provided from an android device but when he ...
0 votes
0 answers
38 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 ...
0 votes
2 answers
52 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
2 answers
5k views

openvpn - Options error: --client-config-dir fails

I'm working on setting up an openvpn server. I'm using the standard sources of debian jessie and easy-rsa as an CA. Everything worked fine until I've tried to start openvpn via init script. When I'm ...
0 votes
2 answers
23k views

No internet access when toggling `redirect-gateway` in OpenVPN client config

I have a router with IP 192.168.1.1 subnetting 192.168.1.0/24. On that subnet, a Synology NAS has an IP of 192.168.1.181 and is running a VPN server using subnet 192.168.2.0/24. When I connect a ...
0 votes
0 answers
5k views

how to setup openVPN client proxy using PAC (proxy auto-config file)?

I am using an openVPN client to connect to a VPN. But the network that I am currently in sits behind a proxy and it manages proxy via PAC files (Proxy Auto-Config files). I am looking at https://...
4 votes
1 answer
6k views

Cannot access SMB share from Windows 10 with guest access via OpenVPN Connect

Windows 10 client, using file explorer, OpenVPN Connect client 3.3.4, cannot access an SMB share with guest access on the OpenVPN server (2.4.11 arm-openwrt-linux-gnu) is running. Works: Can connect ...
1 vote
1 answer
16k views

How to push a gateway and route to an OpenVPN client?

I need to setup a OpenVPN network which will probably grow to a serval hundreds of clients in the next few months. Some of the clients are servers and others are devices that need services, hosted on ...
0 votes
4 answers
4k views

How to forward one local network via VPN and another one directly?

I have CentOS Linux 6 based software router. I have 2 local networks, lets say Local1 and Local2. I have one Internet connection, and I have VPN connection that I run via this Internet one. I use ...
4 votes
2 answers
3k views

OpenVPN client works everywhere but Windows 11

I have a VM hosted in Azure running OpenVPN. I have been using it for a number of years without issue. I recently got a new computer with Windows 11 on it and can't figure out why it loses internet ...
1 vote
0 answers
23 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 ...
1 vote
1 answer
6k views

OpenVPN client config no connect

I Tried in my OpenVPN Server with SoftEther VPN Server and download OpenVpn Config file with Different port and disable firewall also add openvpn port when tried wih openvpn client i get error: Wed ...
6 votes
2 answers
29k views

OpenVPN connection works but no gateway is assigned

I try to setup OpenVPN on a VPS and I'm able to establish a connection to the server, but the gateway isn't assigned to the client. Here are my config files: client config: client dev tun proto udp ...
3 votes
4 answers
12k views

AWS VPN Client connection to new VPC Endpoint is failing

I have set up a new VPN following the guide here. However when I try to connect to the VPN with the client i get an error "Connection failed. Try again." This happens every time. I opened the log file ...
0 votes
1 answer
53 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....
1 vote
1 answer
8k views

OpenVPN server and client configuration for openwrt

I have an OpenWRT router with WAN(eth1) and LAN(eth0) interface. I wanted to install an openVPN server on this router, so I could access from the WAN side into the LAN side. My LAN(eth0) has a DHCP ...
0 votes
0 answers
63 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/...
3 votes
2 answers
4k views

OpenVPN - Blocking client-to-client traffic

I have an OpenVPN server running on a Debian box. What I'd like to do is to block all traffic between clients connected to that OpenVPN server. The server has a local IP of 10.10.10.1 and the clients ...
2 votes
3 answers
4k views

Google-authenticator with openvpn - AUTH: Received control message: AUTH_FAILED

I'm trying to set up MFA with Google authenticator for my OpenVPN setup on Ubuntu 16.04. Now OpenVPN works fine until I bring Google Authenticator into the mix. My server.conf file reads as follows: ...
-1 votes
2 answers
103 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 ...
5 votes
2 answers
25k views

OpenVPN Client Authentication without Certificates

I've been trying to get my OVPN server work without client-side certificate verification. My server.conf contains the following: # Ports & protocols port 1194 proto udp dev tun # Server certs ...
15 votes
4 answers
30k views

MULTI: bad source address from client - any one-off solutions?

Setup: I have the an openvpn client/server setup (config files at bottom), and I get the infamous MULTI: bad source address from client [192.168.x.x], packet dropped message at server. The server has ...
3 votes
3 answers
7k views

Accessing to shared folders with OpenVPN

This is my first attempt to configure a vpn so I have very little knowledge about this. Network where centos server is having local IPs 192.168.123.* Network where windows machine is having local ...
1 vote
2 answers
125 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
60 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
1 answer
5k views

OpenVPN client pings, but will not resolve DNS

long-time lurker, first time poster. I have read almost every post regarding open-vpn on this site, but I cannot get this issue fixed. I can connect without issue to openvpn server and can ping ...
0 votes
0 answers
82 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
259 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
2 answers
8k views

How can I setup NAT on my OpenVPN Server for the client?

I have created a VM instance in Oracle Cloud to use as my OpenVPN server. I am able to connect my client (Android phone) with the server but not able to access the internet. It seems to me that the ...
3 votes
1 answer
5k views

OpenVPN --route-up Missing environment variables when passing to script

I'm diving into the glory of OpenVPN and I'm having a bit of trouble manually configuring the routing tables. I'm on Arch Linux. I know OpenVPN automatically updates the routing tables when ...
2 votes
2 answers
2k views

OpenVPN Connect Client Mac only working after fresh install

I'm facing a problem that I can't be sure what the root of the problem is. I am using OpenVPN Connect Client MacOS version 3.3.2, connected to home wifi. Here is the condition that I am facing: ...
0 votes
1 answer
5k views

OpenVPN server dedicated log missing log.conf?

I'm trying to run an OpenVPN server with it's own log, not just writing to the Syslog with everything else. For some reason it looks like you can only set a different log location by using a command ...
0 votes
1 answer
144 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
1 answer
160 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
9k views

Access web server on VPN client through VPN server public IP

I am trying to access a web server running on a PC, that is behind a firewall not managed by me, using a VPN connection (openvpn). Basically, I want to use the public ip of my VPN server for accessing ...
0 votes
1 answer
53 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-...
1 vote
1 answer
6k views

Port forward + openVPN + iptables?

I am trying to share vpn connection between my network without any luck. I do have an office with Several PC's and we share the internet connection using iptables and our DNS server we also have Mail ...
2 votes
1 answer
7k views

Can't get “redirect-gateway” to work correctly with this OpenVPN network and the internet

I have the following network layout: Everything in blue is a VPN client (except the obvious server) The my client side (which is the top side where it says "My Site"), If I include include "redirect-...
0 votes
0 answers
209 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
360 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 ...
1 vote
1 answer
506 views

Unable to SSH into OpenVPN cloud connector machine over VPN IP

I just started using OpenVPN cloud connectors for creating mesh VPN networks. I deployed a connector and setup relvant IP forwarding and NAT protocols that allow me to access the LAN network behind ...
0 votes
2 answers
227 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 ...
10 votes
1 answer
5k views

VPN Server protocol or trick work in iran

I hope this question is consistent with the rules of the forum. Our access to the international internet from Iran has become very difficult. Only some specific VPNs work. Do you have any suggestions ...
0 votes
0 answers
87 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
56 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 ...

1
2 3 4 5
66