Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
11 views

Route all traffic through OpenVPN hosted on EC2

I need to setup our openvpn server to allow all traffic togo through it when we connect(as we need to whitelist its public IP address). The problem I'm having is that once I start to route all traffic ...
-1
votes
0answers
6 views

SSHing into a RasPi while an openVPN connection is active for all IPs not within the local 10.* network [on hold]

I would like to be able to SSH into my raspi; which I can do so over the wlan0 interface if it simplifies things. All other connections Id like to be routed through an openvpn connection at interface ...
0
votes
0answers
15 views

Route all traffic via Openvpn in AWS

I'm trying to route all traffic from local machines connected to VPN server via the same vpn server. They need to be able to use openVPN server's IP address. I have already googled this extensively ...
0
votes
0answers
13 views

TLS error in OPENVPN also with disabled firewall

I am trying to connect to a Windows server from a Windows client. I can connect to the windows server from all my personal PC and company laptops except for one company desktop, so the issue should be ...
1
vote
1answer
25 views

Fixing Cisco Umbrella Root CA Filtering on OpenVPN

I have a personal VPN running OpenVPN 2.3.10 on ubuntu 16.04 that I installed following this guide. It has worked with a few hiccups over the last two months of intermittent use. Yesterday, I ...
0
votes
0answers
27 views

Pritunl OpenVPN External IP not Connecting via UDP but connects via TCP

I'm using OVH for my vpn, and decided to go with Pritunl because of it's nice web interface for the server. I choose OVH for DDOS Protection for Xbox and selling some spots for my friends. When i'm ...
0
votes
0answers
8 views

OpenVPN auth-ldap cannot find user in a group, but ldapsearch can find it

I can search for a user without issue: ldapsearch -h ldap.my.server.name -b "cn=vpnusers,ou=groups,dc=example,dc=com" -x "memberUid=myusername" Results: # extended LDIF # # LDAPv3 # base <cn=...
0
votes
0answers
32 views

OpenVPN client connection errors with “Error: Nexthop has invalid gateway”

I'm trying to connect to a private internet access vpn with openvpn. When I try to connect I get the following output: Wed Dec 5 19:10:37 2018 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] ...
0
votes
1answer
48 views

Connect over SSH to server running OpenVPN client with ip tables: “Nexthop has invalid gateway”

I tried to follow the solutions listed here for being able to continue SSH connections after connecting to an openvpn client: https://www.linode.com/community/questions/7381/openvpn-client-connected-...
11
votes
2answers
2k views

OpenVPN unable to disable encryption

Both in server and client config I have set: cipher none auth none Following this advice I am also using UDP port 1195. When I launch server and client I get following warnings: Tue Dec 4 12:58:...
-1
votes
0answers
15 views

Accessing database over OpenVPN

So I have successfuly installed OpenVPN and MongoDB on my server. When I connect to VPN (client side) I have the public IP address of my server. When I want to connect to DB with mongo --host ...
0
votes
1answer
21 views

OpenVPN exits when network connectivity is restored

I'm using OpenVPN as a daemon and when I lose the internet connection, OpenVPN waits for 2 minutes before it tries to restart each 5 seconds. This is as I want it to behave. However when the internet ...
0
votes
0answers
21 views

Docker : Route trafic from openvpn server to openvpn client

Networking is still black magic for me and i'm trying to route the traffic from my openvpn server in docket to my openvpn client also in docker. I'm trying to achieve this : My computer --> VPN --> ...
1
vote
0answers
29 views

route traffic from VPN server LAN (cloud) peer to VPN client

I have set up a Google Cloud deployment roughly configured as such: node B, which is at address 10.0.0.6 and default route is through 10.0.0.1 node V, which is a VPN server, on same subnet at 10.0.1....
-2
votes
0answers
27 views

how to connect to dynamic IP VPN by requesting current IP from second server

I'm looking to obscure my VPN server address through authentication with a second server. The setup would be the following: A VPN server with a dynamic IP address An Amazon EC2 instance with Amazon ...
-1
votes
0answers
32 views

How to setup OpenVPN to PFsense?

How to setup OpenVPN to PFsense? My OpenVPN server used Angristan Openvpn-install, so I need to add there 3 lines to Advanced Configuration -> Custom options tls-client tls-version-min 1.2 tls-...
0
votes
1answer
47 views

Openvpn execute script on client-connect with restricted user

I am trying to execute a command on my openvpn-server every time a client connects. I have an user openvpn that was created by using adduser --system --shell /usr/sbin/nologin --no-create-home ...
1
vote
0answers
13 views

OPEN VPN ERROR windows

I have a problem from many days. I hope that someone can help me. I have Windows 7 and I work with OPENVPN on three environments. On two I work correctly but for one VPN environment I cannot work. ...
0
votes
1answer
57 views

OpenVPN use another port if default is blocked

I have two OpenVPN servers listening on two different ports. The first one, which the client should try to connect to, is listening on default port 1194 UDP. The second one, used if networks have ...
1
vote
0answers
15 views

Curl only uses specified OpenVPN interface if ran as root

I am using Ubuntu Server 18.04.1 LTS (Bionic Beaver). I run OpenVPN with redirect-gateway disabled because I don't want traffic to use it by default, only one specific application. This is the command ...
0
votes
0answers
25 views

OpenVPN issue when client tries to connect: read UDP: Connection reset by peer (WSAECONNRESET) (code=10054)

UPDATE: Here's the output when I try to access OpenVPN using my Verizon router instead of my homemade Ubuntu router. It doesn't work immediately after I plug in the router, but in about a day or so, ...
0
votes
1answer
42 views

OpenVPN Client Shared Network Routes

Currently our OpenVPN Community Edition server (version 2.3.11 running on RHEL) client config files are stored in /etc/openvpn/ccd. We want to control which network routes each user gets depending on ...
1
vote
0answers
33 views

How to diagnose UDP connectivity issues?

I have an OpenVPN connection which was initially over UDP. After some time I started to have serious hiccups when running ssh inside that tunnel. As seen from inside the tunnel, ssh packets were lost,...
0
votes
0answers
21 views

Openvpn client and server simultaneously - cannot ping server when starting openvpn client

I have an openvpn server and client at the same time. The server is configured properly, clients can connect to it without problems. I am trying to setup an openvpn client on the same machine. It ...
0
votes
0answers
13 views

Configuration and rules for firewalld with double OpenVPN?

Good image for this network i want to configure Hello! So, what do we have? (2 centos 7 servers, firewalld) Notebooks with OpenVPN client connection to OpenVPN Server Y All OpenVPN Servers work ...
1
vote
0answers
69 views

Possible MTU issues over OpenVPN causing SSH to fail

I recently moved away from using OpenVPNAS to use the community edition so I can have more concurrent connections without a license. I have the server away from me but I am on a WiFi network with two ...
0
votes
0answers
27 views

OpenVPN DNS resolution issue on router (EdgeOS)

I've been using OpenVPN client over vtun interface and all works as expected only if the remote VPN server name (in the OpenVPN config) is the IP address. When I use the DNS name as part of the ...
1
vote
1answer
20 views

Vyatta OpenVPN fails with push-route

we have a router running VyattaOS 5600 5.2R5 and want to set up openvpn to access our private subnets behind that router. Basic VPN setup was successful and connecting works as expected, but when ...
0
votes
2answers
30 views

Openvpn: Subnets for different groups - Destination host unreachable

I would like to configure an Openvpn instance which is able to restrict access depending on the subnet of a client. As an example with two client groups/subnets A and B, users of net A can connect to ...
0
votes
0answers
23 views

Testing the behavior of OpenVPN server with large concurrent connections

I would like to get an idea of how to check / inspect OpenVPN server's resource consumption such as CPU, memory, etc. with the increment of concurrent VPN connections to the server. I could think of ...
1
vote
0answers
46 views

OpenVPN Clients cannot see subnet behind client, but server can?

So, I have a rather unusual network setup, in which: I have a server (Let's call it 150.1.1.1 for example) This server runs a OpenVPN server (IP 10.10.4.1 with the DHCP Range 10.10.4.0/24) I have an ...
0
votes
0answers
29 views

Initial delay with openvpn

I have an openvpn server running on Ubuntu 16.04 in full tunnel mode. Android based openvpn clients connect to this server(Openvpn for Android https://github.com/schwabe/ics-openvpn). The setup is ...
2
votes
1answer
118 views

How to configure iptables for a dial-up VPN with OpenVPN and two interfaces?

I have an AWS EC2 instance, running Amazon Linux, that has two Elastic Network Interfaces (ENIs) attached: eth0 and eth1. I am connecting to the public IP on eth0. Everything works great, except I ...
0
votes
0answers
31 views

OpenVPN allow client_side script

By default the VPN client is asking the user to approve client-side script before it runs, I want to configure my VPN installer to allow user-level script execution on the client without the user ...
0
votes
1answer
36 views

OpenVPN switch from full to split tunnel

The Problem We have a OpenVPN server in our network, which is used to connect to only four machines. With the given configuration below it works, but clients cannot access the rest of the internet, ...
0
votes
0answers
73 views

Can't Access Server SSH while connected on Server OpenVPN [duplicate]

I have an OpenVPN server deployed on Azure. The OpenVPN is working well, but my problem arises when I try to connect to my server to create a username/password for new OpenVPN client via SSH, it's not ...
1
vote
0answers
43 views

SSH Session with Active OpenVPN Client Dilemma

Since this morning, my ssh session was getting freezed when I run .ovpn file. The problem is that the default gateway gets changed by OpenVPN, and that breaks my current SSH connection unless I set ...
0
votes
1answer
43 views

Route internet to tun1 INSTEAD of tun0

I'm using a debian based desktop distro, but I imagine that is probably irrelevant. I have a very simple query that I can seem to find the answer to anywhere, probably because no one does this. I have ...
2
votes
1answer
88 views

OpenVPN: Addressing remote LANs

I've been trying to solve this problem for a while now, but to no avail. We basically have an OpenVPN server to which our end devices need to connect. Some of those devices can directly connect to the ...
0
votes
0answers
27 views

OSX > OpenVPN : DNS Resolution Inconsistent

If I connect my OpenVPN client (using Tunnelblick) to my office with any of my Mac's, I get inconsistent DNS resolution for internal webserver addresses. The IP addresses work, but not the hostnames ...
0
votes
0answers
44 views

PFSense with HAProxy: Serving simple http page and OpenVpn

I've setup my PFSense with HAProxy as reverse proxy using a single public IP address, in order to serve my http app, that listen on the port 80, everything works fine, but when i try to setup a TCP ...
0
votes
0answers
24 views

Can I add IP pool per client in OpenVPN

Just can't find a clear answer on: is it possible to add more than one static IP per client/certificate I need to manage several client accesses via firewall or some other method, so that, for ...
0
votes
0answers
20 views

Connect to OpenVPN from subnet, PfSense

I'm trying to setup OpenVPN on PfSense so all network client traffic is tunneled through a VPN by default. The OpenVPN service connects to the provider's servers just fine, but the clients cannot ...
0
votes
2answers
81 views

Run OpenVPN server on alias IP

I want to configure OpenVPN server that works on alias IP. I changed the client config to have alias IP as remote and added "local 188.xx.xx.55" in OpenVPN config which is our alias IP. Also set "...
1
vote
0answers
51 views

Run openvpn inside docker and use as gateway for internet for other networked devices

I am trying to run tunnel all my network traffic on my LAN via an OpenVPN client running inside a docker container. My router and default gateway is running on 10.10.10.1 I have OpenVPN running on ...
1
vote
0answers
28 views

sudden lost of access to esxi vSphere network

Our lab setup consists of a vSphere Esxi server hosting some VMs. In front of VMs exists a pfSense router VM. All VMs are getting connectivity from router and additionally a openVPN server is set in ...
0
votes
0answers
36 views

OpenVPN + OpenWrt: server doesn't see devices in the client's network

I have an OpenVPN server. I'd like to get the access from there to the resources available on the client's network. The client network is managed by an OpenWrt-based router; it serves as an OpenVPN ...
0
votes
1answer
27 views

Routing from LAN into OpenVPN

I need to set up a route from our local network into our VPN. That is, anybody from inside the LAN should be able to communicate with machines in the VPN, without being a VPN client itself. Problem is,...
0
votes
0answers
58 views

OpenVPN/OpenWRT/TP-Link TLWR1043ND: How to configure OpenVPN on this router to get access to connected devices only over the WAN interface?

I have the following problem: There are two networks, network X and network Y. In network X is an OpenVPN server. A TP-Link router (see the model in the topic) should be connected to network Y only ...
0
votes
0answers
44 views

OpenVPN: Client to internet, static ips, not routing traffic through VPN

Goal: client <-> OpenVPN <-> Internet Define IPs statically Modify IP assignments without OpenVPN restart Current state: My current configuration allows clients to connect, get a dynamically ...