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
19 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
12 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
27 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
38 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
25 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
25 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 ...
0
votes
1answer
33 views

Masking remote server network to local machine [closed]

One of my partner offer an API but via whitelisted IP only (only whitelisted IPs are allowed to connect to their server). This is extremely inconvinient for development and debugging as the process ...
1
vote
2answers
76 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
25 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
11 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
0answers
10 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
38 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
34 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
16 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
35 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
36 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
26 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
15 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
32 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
45 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
25 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
42 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
35 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
53 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
28 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
23 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
134 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
35 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
51 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
63 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#...
1
vote
0answers
124 views

Connects to OpenVPN but no access to local network or internet in Kubernetes GKE with Calico

I've been using VPN (openvpn in helm) to access internal services in my cluster for development. I enabled network policy in nodes in GKE to manage access of services, that enabled Calico network in ...
0
votes
0answers
22 views

OpenVPN shorewall and local Web Server

I should start by saying that I'm not exactly sure about what I'm doing. I want to run an openvpn server and allow access to only specific local web servers. I decided to go with openvpn and ...
-2
votes
1answer
66 views

openvpn: no access to server lan formed by a switch

Is there any way to access to openvpn server lan in the following scenario? Server1 (vpn server) IP (eth1): 10.0.0.199/24 Vpn IP (tun0): 10.8.0.1/24 Server2 IP (eth1): 10.0.0.198/24 Client IP (...
0
votes
1answer
111 views

pfSense routing between remote vpn and site to site vpn?

I have two locations. HQ and branch. I have a pfSense FW installed in both locations although HQ is pf2.3.4 and the branch is pf2.4.4. HQ has a VPN Server site2site(port yyy) shared key branch has a ...
0
votes
0answers
11 views

Systemd dependency not working

I am fighting trying to make a dependency between services to work. I've looked everywhere and it looks like I'm doing the right thing, but unfortunately, it is not working. I want to have my TEST ...
0
votes
0answers
23 views

Systemd fails bringing up OpenVPN service because it triggers raising interface that already exists

I have an openvpn server that's supposed to be started by systemd. Just recently the service failed to come up, because for some reason it triggers raising network interfaces but ifup fails to bring ...
0
votes
0answers
69 views

CentOs 7 + OpenVPN + LDAP

I Have a problem when I try to do a Autentcation on Windows 10 to VPN, it ask for the user of the AD, but doesnt make a connection... I configured the /etc/openvpn/server.conf, and the Ldap.conf... ...
2
votes
1answer
136 views

Call the openvpn server by it's hostname

I use an openvpn infrastructure with a server and some clients. The clients can call each other via their hostnames, but cannot reach the server in the same way. At the moment it is possible to reach ...
0
votes
0answers
26 views

OpenVPN Installer: How could I integrate my own .opvn file in the installer?

I want to integrate my own .opvn file inside the windows nsis installer. For this I want to use nsis. For building of openvpn I use this manual. But I couldn't find at the doumentation where I could ...
0
votes
0answers
58 views

OpenVPN routing problems

I am configuring my OpenVPN server and my idea was to make different subnets for different needs: My main subnet for unprivileged DHCP users is 10.110.131.0/24 On server it is configured that way: ...
0
votes
0answers
33 views

OpenVPN client: override conflicting local IP address assigned by a provider's server

I subscribe to a VPN service that allows up to 6 simultaneous OpenVPN connections to their servers located in various geographic locations. I'd like to have 2 OpenVPN connections open on my local ...
1
vote
0answers
12 views

Can't connect using client profile but can with standard config file and separated files

I have an openvpn server running and I can connect to it with the following client config file: client dev tun proto udp remote myremote 1194 resolv-retry infinite nobind persist-key persist-tun ...