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.

1
vote
0answers
9 views

OpenVPN - Linux Route add command failed

I'm using OpenVPN in my environment and I upgraded my testing server just the other day and after the update (Using Debian and apt), my OpenVPN Configuration no longer works. I receive the error "...
1
vote
1answer
2k views

Redirect/tunnel (Tight)VNC traffic over (Open)VPN connection? (Windows)

(updated routes list/OpenVPN connection data to reflect the current situation) This probably has been asked/answered before, but i'm really lost (and i can't comment on other/existing questions yet ...
0
votes
1answer
12 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
11 views

PiVPN setup issues [on hold]

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
19 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
12 views

Consumer grade site to site VPN recommendations [on hold]

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
3answers
936 views

connect OpenVPN client at Ubuntu startup

I would like to connect OpenVPN on Startup. I've added sudo openvpn /file.ovpn to the crontab, and it doesn't connect at startup. What is the proper procedure?
0
votes
0answers
21 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 ...
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 ...
3
votes
2answers
11k views

Access OpenVPN client network from server

I have setup an OpenVPN connection between a Windows 2012 Server and an Debian Linux machine. The windows machine is the server and the linux machine is running openvpn as client. I can ping and ...
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
3k 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 ...
0
votes
1answer
948 views

Configure group permissions on OpenVPN Access Server

I have a OpenVPN Access Server working for N users. Everyone has access to different networks like 172.16.10.0/24, 172.16.11.0/24 and so on. Now, I'm trying to restrict the access. Only a couple of ...
0
votes
1answer
31 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 ...
0
votes
1answer
783 views

OpenVPN client on OpenWRT not routing traffic through VPN on Linksys WRT3200ACM

I am unable to get the traffic routed through the VPN tunnel, when using OpenVPN on OpenWRT firmware. The router is a WRT3200ACM, connecting to OpenVPN server on Ubuntu. OpenVPN client is connecting ...
1
vote
2answers
10k views

Cisco AnyConnect VPN via OpenVPN tunnel [Unable to modify IP forwarding table]

Background: I'm working as a contractor for a small web design agency. We have a particular project / client requires that any updates / development that are performed are done via VPN. The client VPN ...
0
votes
1answer
2k views

How to import users (openvpn) into PFsense

I have a OpenVPN setup from an barebone server with ~60 users, and searching for a way to import those users with certificates into a new PFsense setup. They don't have passwords, because we use ldap ...
3
votes
1answer
3k views

OpenVPN Client-specific routing when using username/password authentication

So I have an openvpn running on a debian machine and I have set it up to work with PAM authentication via the pam module AND NOT the provided example script. However, requirements changed and now I ...
5
votes
1answer
2k views

OpenVPN web traffic routing not working

My first time trying to set up OpenVPN. I followed the HOWTO guide from OpenVPN's site and was successfully connected but when I tried to route my web traffic, it seems that nothing gets through to my ...
16
votes
6answers
146k views

Fix 'TLS Error: TLS handshake failed' on OpenVPN client

I am configuring OpenVPN 2.3.6-1 on my Arch Linux server in order to encrypt SMB traffic over the public Internet. When I test the setup on one of my Linux virtual machine clients, I get the error: ...
3
votes
1answer
2k views

openVPN - Split-tunneling DNS priority

I have commented out the (push "redirect-gateway def1") to turn our openVPN appliance into a split-tunneling mode. #push "redirect-gateway def1" push "route 172.21.1.0 255.255.248.0" push "route 10....
1
vote
2answers
77 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 ...
0
votes
1answer
3k views

OpenVPN - ERROR: Linux route add command failed: external program exited with error status: 2

I'm using OpenVPN as my VPN server, and here is the content of auto-generated config file (.ovpn) through pfSense control panel: dev tun persist-tun persist-key cipher AES-256-CBC auth SHA1 tls-...
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 "...
0
votes
1answer
501 views

VPN: killed expiring key for some clients, not all

I have a VPN server running with +-150 connected users at any given time. While investigating a connectivity issue, I noticed that the clients suffering from connectivity problems had the following ...
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 ...
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
28 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
2k views

Help with OpenVPN setup on Windows Server 2003

Just wondering if someone can assist me further with the set-up of OpenVPN on my Windows Server 2003. I have configured Win Server as per the following guide: http://tinyurl.com/kxusv and I'm now at ...
0
votes
2answers
3k views

openvpn pam authentication failure

I am trying to setup PAM authentication on my openVPN instance running on Ubuntu Server 15.04 but i keep getting an authentication failed error, am i missing anything? server.conf port 1194 proto ...
1
vote
0answers
26 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 ...
5
votes
1answer
3k views

How to prevent SSH freezes over an openvpn client to client connection

I have the exact same issue as the one described here, but I cannot request clarification from the author, since I am a new user and I cannot post a comment on that, so I am posting a new question (I ...
0
votes
1answer
944 views

OpenVPN Ubuntu Server Routing Problems No Internet

I'm running OpenVPN on Ubuntu 15.04. When I connect to the server, I can connect and authenticate correctly (I use PAM auth because I'm lazy). Once connected I can't ping the server or access the ...
-2
votes
1answer
13k views

Convert certifcates file to .ovpn [closed]

I have tried to create an vpn server of my own. I have read many tutorials on the internet and I have done all the tutorials. I have created Ca.crt and server.crt and am done with my client.key.But ...
0
votes
1answer
948 views

OpenVPN ifconfig-ipv6 in TAP mode

I want to set up IPv6 address on my OpenVPN server operating in TAP mode. According to documentation, ifconfig expects two parameters: l and rn. For TAP devices, l is local address, rn is netmask. ...
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-...
51
votes
5answers
137k views

How to view connected users to open vpn server?

I'm developing a website for managing OpenVPN users with Django framework. But I need to know is there any way to extract active users from OpenVPN? My server is running Ubuntu 12.04.
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 ...
1
vote
1answer
944 views

Cannot ping elastix phone system through openvpn

I setup openvpn on CentOs for our office. I'm using it without any problem, can ping all PCs and servers, network printers. Recently I installed Elastix Phone System to our office, it's in the same ...
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
0answers
153 views

OpenVPN log file deleted, no more new logs

Someone on my team deleted the openvpn.log files while the vpn server is still running. Now for some reason no new log file is being created by openvpn and therefor, we have no more logs. Is there ...
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
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
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 ...
2
votes
4answers
1k views

Redirect Privoxy traffic through OpenVpn

I am not sure if this is possible but I would like to route all traffic from FireFox through my OpenVpn connection with HideMyAss. Basically the setup I have is that I am running a connection using ...