Stack Exchange Network

Stack Exchange network consists of 175 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
8 views

OpenVPN and Squid slow only in browser

i have two VPS, the the first (OVH), i reach the max speed of my ISP. On the second, i reach max 30Mbps, but only in browser. Steam and other program work perfectly at max speed. Same config for both ...
1
vote
1answer
28 views

VPN for Small Business - How/Who/What?

I've been reading up on VPNs for a while now and I feel like I've done circles in understanding. No one at the business has experience with networking outside of very basic home router setup. Neither ...
0
votes
0answers
36 views

How to exclude gre tunnel from going through OpenVPN connection by default?

I'm bit at a loss here as I don't know how to do this. I have two servers connected via gre tunnel (A: 192.168.168.1, B: 192.168.168.2). Server B is running a TeamSpeak server which I connect to via ...
0
votes
1answer
18 views

OpenVPN Wrong Subnet

So i Have created an OpenVPN server that is working on my office. The office ip range is 192.168.100.0/24. The vpn is giving the 192.168.1.0/24 range. That is a huge problem for me because when i ...
1
vote
1answer
20 views

Port 53 (UDP and TCP) gets blocked when OpenVPN is operating

I am trying to debug a mind-boggling DNS failure when an OpenVPN client is operating. Although I can ping 8.8.8.8, when I run dig +trace example.com @8.8.8.8 I get as a reply connection timed out; no ...
0
votes
0answers
16 views

OpenVPN - not checking client CA against server's

I'm using OpenVPN with certificate auth and TLS auth, these are relevant bits from server config: ca /etc/openvpn/pki/ovpn_tunnel_CA.crt cert /etc/openvpn/pki/ovpn_tunnel_server.crt key /etc/openvpn/...
0
votes
0answers
13 views

HTTP doesn't work in OpenVPN, other protocols does

I've set up iptables rules on OpenVPN network server, to forward client traffic to internet. According to traceroute output, ICMP traffic goes through VPN server, and then to the desired website (e.g. ...
0
votes
0answers
21 views

OpenVPN: TLS handshake failed AND how to kill second tunnelling deamon instance

i am new to OpenVPN and also new to serverfault. I am trying to set up a OpenVPN Server with username and passwort authentification. and so far i managed to install and configure on my own. but now i ...
2
votes
0answers
51 views

Squid and OpenVPN slow on OpenVZ?

I have two vps, one on OVH with KVM, the second on another hosting with OpenVZ. On OVH the speed is ok with squid and openvpn, i reach 100mbit (max speed of my connection), but i have a problem with ...
0
votes
1answer
13 views

Use OpenVPN connection the execution of one program

On Debian, is it possible to run an OpenVPN connection such that it is only used for the execution for one program? In other words: Other programs use network as normal Only the one program that is ...
-1
votes
0answers
28 views

PiVPN setup issues [closed]

I've installed PiVPN per the instructions on their site. It's a business connection (static IP) through a SmartHub (latest version). Per the instructions I've setup port forwarding in the routers ...
0
votes
1answer
50 views

OpenVPN behind Nginx reverse proxy

I have an OpenVPN server on a machine that can only be connected to via IPv6, due to my ISP being not too generous with IPv4 addresses. To resolve this issue, I created a DigitalOcean droplet, ...
0
votes
0answers
13 views

Consumer grade site to site VPN recommendations [closed]

I have been out of the server game for some time and having just had a kid (9m) I have few active brain cells left, but I looked and can't see another question which helps. I want to setup vpn ...
0
votes
0answers
30 views

Firewalld/Iptables site-to-site VPN routing/rules

I have a site-to-site tunnel successfully setup. I'm having trouble with the SITE1 LAN accessing the LAN at SITE2. Hosts on the LAN2 can ping the gateway at SITE1, Hosts on LAN1 can ping (and SSH) ...
0
votes
0answers
13 views

OpenVPN Router to Router DNS

We have two offices - lets call them "Head" and "Branch" for the sake of discussion each of which runs their own LAN: Head = 192.168.0.0 Branch = 192.168.1.0. We have successfully got a VPN tunnel ...
0
votes
0answers
15 views

How to ensure a docker container leaves the LAN via a VPN?

I have an application which needs to leave my LAN via a VPN. Today my setup is the following: a systemd-nspawn container ... ... in which I installed OpenVPN ... ... and the application At my router ...
0
votes
1answer
38 views

Create own ovpn file from using certificate and key

Recently, i set up a raspberry such as a little server for doing some practise with networking and on it i installed OpenVPN. For sample certificates i used the command pivpn -a, as suggested by ...
1
vote
1answer
39 views

Can't transfer files via FTP through VPN after switch to new router (with identical network and port-forwarding settings)

I have a problem with the following setup: A friendly local business has a time stamp clock on site A. This clock provides data via an integrated ftp server. Also on site A: a Raspberry Pi 3 running ...
0
votes
0answers
13 views

OpenVPN establishes connection successfully, remote desktop cannot

The problem seems to appear every now and then. So, I'm using Windows 10, OpenVPN x64 version 2.4.7. No x86 version was ever installed. My client config looks like that dev tun client nobind pkcs12 "...
2
votes
0answers
26 views

Mounting NFS share over VPN at system start

I try to mount a nfs share on a server that is connected via OpenVPN. Both systems are Ubuntu 18.04 server. and are vpn clients of a third system with client to client config. Manually mounting the ...
-1
votes
0answers
31 views

Allow local traffic and force internet through VPN

I have searched the forums but I don't (really) know what I am looking for. I have a local server that runs Ubuntu server 18.04. (LTS) The server is connected through an OpenVPN history to the ...
1
vote
2answers
81 views

OpenVPN - can ping 8.8.8.8, can connect to server VPN but not surf

Goodmorning everyone, I hope I will not miss anything in the way of writing this urgent problem of mine and that I have been unable to solve with openvpn for days. I have a vpn server on raspberry ...
1
vote
0answers
27 views

Cannot ping anything from tun interface

I'm setting up a VPN server using OpenVPN server 2.4. The client connects to the server, but I can not seem to be able to ping any other host except the server or other clients on the VPN subnet. The ...
0
votes
0answers
12 views

External IP for OpenVPN client

web app running on an EC2 box REST API running on an onprem box For one reason or another I am unable to expose the on-prem box externally so have created a site-to-site configuration on OpenVPN for ...
0
votes
0answers
16 views

Unable to use VNC when connected to OpenVPN

When I try to VNC to a particular machine #1 (192.168.1.221) from within the network I am able to connect to it without issue. When I try to connect from outside the network from my OpenVPN VPN I am ...
0
votes
1answer
14 views

OpenVPN,EasyRSA :system was unable to find the specified registry key or value

I've installed (as Admin) latest version of OpenVPN (2.4.7-I603) on Windows 2012 x64. I've checked on installer EasyRSA 2. Then trying to generate the certificate go in path ..\program files\OpenVPN\...
0
votes
0answers
40 views

Forward VPN traffic to Docker Container

I had setup OpenVPN users traffic from Mikrotik modem on Ubuntu Machine. I'm running Node server on Docker container. ifconfig tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-...
0
votes
0answers
35 views

Restrict access to Website/IP to specific OpenVPN client

I have a digitalocean droplet running Ubuntu 18.04.2 and nginx, and an API built with the Django Rest Framework on it. The specs of the project I'm working on require a VPN to be set up, so I've set ...
0
votes
0answers
19 views

No default gateway in TAP OpenVPN with Kea

We have an OpenVPN server in TAP mode on our server. Wifi routers connect directly to this server; other devices can then, in turn, connect to these. On our server, we also have a Kea DHCP server ...
0
votes
0answers
43 views

OpenVPN client-connect Exit Code 1 Not Triggering client-disconnect Script

In my client-connect script I will exit 1 to indicate that authentication failed and to reject connection from client. Which works fine, the client will be unable to connect to the openvpn server if ...
0
votes
1answer
40 views

Create Firebird 3 VPN/secure connection

I've installed Firebird 3 on a Windows server 2012 10 vps on local port 3050.I need to create from anothere computer a secure connection to db/port by internet. Tried also Openvpn but not able to ...
0
votes
1answer
27 views

OpenVPN ipv6 tunnel working, but not all internet traffic (ipv4?) connecting

I have successfully turned an existing OpenVPN ipv4 tunnel into an ipv6 one with the following configuration files: server.conf port 22062 proto tcp6 dev tun ca /etc/openvpn/easy-rsa/keys/ca.crt ...
0
votes
1answer
16 views

OpenVPN Copy Server Certificate/Keys Onto Different Server

Let's say on Server 1 I setup all OpenVPN server credentials, certificate authority, etc... All these files have been generated on Server 1 using the following commands: ./easyrsa build-ca //create ...
0
votes
1answer
33 views

Kubernetes & OpenVPN: Inbound routing from wider network

We are trying to set up an OpenVPN remote access server within a Kubernetes cluster, to replace a service previously hosted on an on-prem firewall. Our wider network is partly on GCP/GCE, with ...
1
vote
1answer
49 views

OpenVPN, Does Perfect Forward Secrecy Key Need To Be Kept Private?

On my OpenVPN server I generate a pfs.key file (perfect forward secrecy) using the command openvpn --genkey --secret pfs.key, in my client configuration file it includes this pfs.key file (and in ...
0
votes
0answers
29 views

Openvpn can't resolve hostname

We have a problem on our openvpn that when we access the vpn and try to access our rhev by hostname it tell us that it doesn't find the server but when i put the ip address of the rhev it enters. The ...
0
votes
0answers
44 views

Can't get OpenVPN to work

I'm trying to set up OpenVPN to access my remote server's internal network and its Internet connection but I can't seem to get it work. My server's network interfaces: ens32: WAN (10.10.1.11/24) ...
0
votes
0answers
39 views

Can't assign Windows OpenVPN client static IP

I've read what feels like every article on OpenVPN's amazing client-config-dir option, and yet I can't get it to work. My setup is (supposed to be) as follows: One Debian server that's the OpenVPN ...
0
votes
0answers
33 views

OpenVPN server to use remote revocation list

I have multiple OpenVPN nodes with common PKI. I need server.conf to use remote crl.pem. Seems that crl-verify can work with local files only. What is the best way to translate my crl.pem to multiple ...
0
votes
0answers
18 views

Route between modem and router through OpenVPN using a firewall

I have a computer running Arch Linux that I am planning on using as a sort of firewall. It has two ethernet ports, so I am trying to have my modem connected to one port, tunnel through OpenVPN then ...
0
votes
0answers
56 views

Forwarding port eth <-> tun0 works for one NIC, bot not other

In my VPN, client with address 10.8.0.2 exposes ports 80 and 5000. I need to forward these ports on server to the client so i can access "forwarded" ports from outside of the VPN network. I have two ...
0
votes
0answers
29 views

I can't connect to my vpn unless I connect to my server just before (OpenVPN)

so I have successfully set up OpenVPN Servers on a VPS or dedicated server before, but whenever I set one up on a Server that has OVH GAME DDoS protection, it wont work properly. So here is my ...
1
vote
1answer
25 views

Allow specific OpenVPN clients to access other clients

I have multiple OpenVPN servers which have clients like slave-1 and slave-2 which have access only to the OpenVPN server itself. I have a dedicated CA server for creating new users to the system. I ...
0
votes
1answer
172 views

How can I fix link-mtu and tun-mtu are used inconsistently warnings in OpenVPN?

when connecting to my OpenVPN I am getting the following warnings in the client log: Sat Mar 09 06:52:57 2019 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1469', remote='link-mtu 1569' ...
0
votes
1answer
38 views

Get user-locked client.ovpn from openvpn admin

I am still newish to managing Openvpn. My question is trying to find how/where I can download the client.ovpn files for linux users. When I go to the admin interface, I can't seem to find it. There is ...
0
votes
0answers
31 views

understanding openvpn log + slow rdp

I am configuring an RDP Server for conection via the internet using OpenVPN. Making a direct conection using default RDP port, works like a charm… using the Openvpn tunnel, makes it go slow, really ...
0
votes
1answer
36 views

OpenVPN connection only for specified ip adresses

I have a vpn with OpenVpn on a ubuntu server which works for every connection. The server config is: port 1194 proto udp dev tun ca easy-rsa/keys/ca.crt cert easy-rsa/keys/CommonName.crt key easy-...
0
votes
0answers
53 views

How to Route (only) DNS over Router OpenVPN Client Tunnel?

I am using a AsusWRT Router, it uses a Unix kernel with entware repos; I'm running DNSCrypt and dnsmasq, and OpenVPN runs on the router as well. I would like to forward all DNS globally on the network ...
0
votes
1answer
65 views

Can someone connect to my OpenVPN server without the keys in configuration file?

I've recently setup a OpenVPN server on my VPS, and I want to expose the VPN server port to the internet. I've installed it using the following script: https://git.io/vpn (a installer). The main point ...
0
votes
0answers
12 views

unable to ping from OpenVPN to Virtualbox client

I'm using Ubuntu 16 desktop with Virtualbox running Ubuntu 16 server. Ubuntu 16 server has OpenVPN client, which connects properly, and the following IP table rules: sudo /bin/su -c "echo -e '\n#...