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.

learn more… | top users | synonyms

0
votes
1answer
1k 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 ...
-1
votes
2answers
12 views

OpenVPN Variables Passed via Script

Can someone explain and/or direct me to a summary of the variables that are available to be passed to OpenVPN upon a client connection? For example, what do the following $1, $2, $3, $4 values ...
0
votes
1answer
7 views

How to stop OpenVPN tunnel if server doesn't response?

I have two openvpn servers, but both routes to the one network. It made for the fault tolerance. If one of them is down traffic should go via another one. Clients receive routes with different metric, ...
4
votes
1answer
17k views

How do I route all traffic from clients connected to the DD-WRT to its OpenVPN tunnel tun0?

I am setting a secondary (DD-WRT) router to act as a OpenVPN client so that all clients would get VPN access simply by connecting to the router. But seems clients traffic is always routed via the main ...
0
votes
0answers
12 views

Add Filters to Users

I am running OpenVPN on Ubuntu 14.04 (dev tun) and I can't seem to get my learn-address script to run below I would like to run the learn-address script each time a user connects to OpenVPN that ...
0
votes
2answers
73 views
+100

Possible routing issues with OpenVPN

I'm trying to use OpenVPN on my arch box to be able to route some traffic through an OpenVPN connection, but not all traffic. But I'm having trouble trying to use my OpenVPN tunnel when using for ...
1
vote
1answer
29 views

Why could the TLS handshake fail?

My OpenVPN client (Windows 10) is in a corporate LAN and connects to a server on Internet (Ubuntu). The setup used to work but stopped some time ago (see below for the small infrastructure change, the ...
0
votes
0answers
10 views

what are the OpenVpn Iptables rules should i use? [on hold]

I'm going to install & configure Openvpn server in centos 7. I'm very much confident about how to confgure server but i'm getting little confusion about what rules should i use for security ...
0
votes
0answers
12 views

Setup OpenVPN to allow Android and iOS Devices to Connect

I am running Ubuntu 14.04 in dev tun I would like to allow Android and iOS Devices to connect to the OpenVPN and use learn-address to acquire the MAC address of each device connecting to OpenVPN ...
0
votes
0answers
10 views

Add Filter Based on Client Certificate Name (OpenVPN)

Can anyone show me how to filter (change bandwidth, delay, etc) of one or more users connecting to OpenVPN based on their Client Certificate Name? Why I would like to use the Client Cert name is I ...
0
votes
1answer
13 views

Add Filter based on MAC Address

Can anyone show me how to filter (change bandwidth, delay, etc) of one or more users connecting to OpenVPN based on their MAC address? Why I would like to use the MAC address is I could have 100's of ...
0
votes
1answer
58 views

Automatically Call a Script when a New User Connects and Bandwidth Shape the Connection

I hope this is easy The following script called up.sh works perfect when I run it from the command line as root. However, instead of manually calling this script each time a new user connects to ...
2
votes
3answers
3k views

Gateway gets stripped from DHCP Reply through OpenVPN tunnel

I have a bridged OpenVPN setup. This is my server config: port 1194 proto udp dev tap0 ca /etc/openvpn/easy-rsa/keys/ca.crt cert /etc/openvpn/easy-rsa/keys/server.crt key ...
9
votes
2answers
43k views

How to push my own DNS server to OpenVPN?

I have defined an ubnound DNS server on my VPS and it appears to work. I need to use the DNS server instead of Public DNS IPs because some ISPs have blocked public DNS IPs. My openvpn.conf file is: ...
1
vote
1answer
46 views

Local DNS server is ignored on Windows

I've setup dnsmasq on a Linux box and setup the DNS address on another Linux by adding its IP to /etc/resolv.conf file. $ cat /etc/resolv.conf nameserver 192.168.9.105 nameserver 8.8.8.8 Now I can ...
0
votes
1answer
1k 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
0answers
47 views

Bandwidth Throttling per User using TC

This question is an extension of a previous question asked in 2015 by another user: Limit/Throttle per user OpenVPN bandwidth using TC Great answer and great script @Oliver The problem: I can't get ...
1
vote
1answer
3k views

Zentyal Server : Setting up secure VPN Client

I have officially exhausted pretty much all my google-fu trying to set this up so I'm asking my question here. For the record, I am a mid level rookie who has played around with servers in his spare ...
0
votes
1answer
31 views

Site-to-site tunnel using two MikroTik routers where one endpoint is behind NAT (LTE modem)

I would like to interconnect two offices where one has a public static IP address (main office) and the second one is behind NAT (no public IP) because there is just an LTE modem. I am able to create ...
0
votes
1answer
1k views

OpenVPN client opens a random UDP port?

We are noticing this on a number of our openvpn clients: [root@box ~]# netstat -tulpn | grep openvpn udp 0 0 0.0.0.0:53950 0.0.0.0:* ...
1
vote
1answer
64 views

openvpn send internet traffic to seperate server

Short version: I want my aws ubuntu openvpn server to forward all of the clients internet traffic to another server to instead of sending it out directly itself. Long version: I'm setting up an ...
0
votes
1answer
14 views

How can I check that the firewall is disabled for a TUN/TAP interface?

while trying to diagnose a UDP multcast issue on an OpenVPN client configuration and I've come across this block in the config file: # Use the same setting as you are using on # the server. # On most ...
1
vote
1answer
186 views

Huge performance penalty in gbit link with ip forwarding / masquerade through clear VPN tunnel

I have a problem with IP forwarding between my home computer and a remote server (from online.net). My home connection is a 1 Gbit/s FTTH and the remote server has a 2.5 Gbit/s bandwidth. The context ...
1
vote
0answers
16 views

OpenVPN packet loss between network interface and tunnel interface

I have an OpenVPN server that is setup to do tunnels over TCP connections with a bunch of other servers on various remote networks. It all works pretty reliably except for one of the remote servers. ...
1
vote
1answer
2k views

How to get OpenVPN Client (Mikrotik RouterOS) <-> OpenVPN server (Debian/Linux) setup to work

I have some issues with making MT to work with OpenVPN server (Debian). I can make successfull connection to OVPN server, but traffic is not routed through OVPN server. Here is my configuration. ...
1
vote
1answer
147 views

DOWN-ROOT: Error sending script execution signal to background process

Ubuntu 14.04 OpenVPN 2.3.2 server config file: topology net30 mode server tls-server push "route-gateway 192.168.0.1" ifconfig 192.168.0.1 192.168.0.2 ifconfig-pool 192.168.0.5 192.168.0.9 port ...
2
votes
0answers
17 views

Protect a second server behind existing OpenVPN

I have an existing Ubuntu server that denies all incoming traffic with a client unless it's able to authenticate with OpenVPN (we use Tunnelblick to manage client connections). However, we have other ...
-2
votes
0answers
17 views

Connect with ipv4 to server with Openvpn and continue with ipv6 to other server [closed]

I want to connect to my Openvpn server with ipv4 and then connect from the server with ipv6 to another server (this one only has ipv6). How can I do this? I run an Ubuntu 16.04 server with Openvpn ...
2
votes
1answer
1k views

Route outbound connections from local network through VPN

I have a server A running OpenVPN, an OpenVPN client B (a rooted Android phone as it happens) and a third party C (a laptop, tablet etc.) tethered to B. B can use the VPN to access the internet via ...
0
votes
1answer
21 views

openvpn certificate error prevents from connection

I try to connect with Tunnelblick to my private VPN, but I get the following error message. 2016-05-24 12:18:07 VERIFY ERROR: depth=1, error=unable to get issuer certificate: C=IL, O=StartCom Ltd., ...
1
vote
0answers
16 views

Unable to access Samba Server on Raspbian with OpenVPN whilst on same network [closed]

My Pi is connected to my network, and I can access it on the folder "Oliver" on it with my PC, however, I cannot access this folder with my phone. It asks for a username and password. I assumed the ...
0
votes
2answers
61 views

OpenVPN on OpenWRT: Routing a specific subnet through a VPN tunnel

I have setup a router with OpenWRT 15.05 installed (Chaos Calmer), and configured two wi-fi networks each with there own network interface: wi-fi-1: interface br-lan ip address 10.0.2.1; address ...
0
votes
1answer
59 views

Bash Script Not Working

I hope this is an easy answer Problems: I placed the following bash script called learn-address.sh in the following folder: vi /etc/openvpn/netem/learn-address.sh Added the following (2) ...
-2
votes
0answers
16 views

How to block ssh when not logged into openvpnas

How can I configure my server so that someone who tries to SSH into the server without being logged into the openvpnas is dropped and only people who are "inside" the network (connected to openvpnas) ...
0
votes
0answers
12 views

Docker is only listening locally on a container connected to a VPN

I've just nuked my CoreOS box and am rebuilding the setup as a Ubuntu Xenial (16.04) based docker platform. I'm happy with it so far but I'm now having to re-resolve a problem I already fixed on ...
2
votes
1answer
2k views

OpenVPN connected but no Internet or LAN

Good evening, I'm facing an issue with my OpenVPN installation. Been at it for 3 days now but still cant figure out what is wrong for the life of me... Basically the issue is that i'm able to ...
1
vote
1answer
27 views

Does changing the openvpn server config affect already issued certificates?

We've got an OpenVPN server running that is in use, with a number of static clients defined and certificates issued. However, over time it's become apparent the the IP pool currently available isn't ...
0
votes
1answer
7 views

How to get a list of options, that can pushed to the clients?

The OpenVPN manual currently only states: This is a partial list of options which can currently be pushed: --route, --route-gateway, --route-delay, --redirect-gateway, --ip-win32, --dhcp-option, ...
6
votes
4answers
4k views

Openvpn, forward packets very slowly

I rebooted my server, and an odd issue just came out. I am running on ArchLinux, the clients are Ubuntu, Android and Mac. The problem is that accessing the internet via the clients is slow, about ...
2
votes
4answers
18k views

OpenVPN: Add clients without rebuilding all keys?

I've just managed to setup OpenVPN properly on my server and test it to be properly working with client computers and I came to wonder how OpenVPN keys can be generated as clients come and go. Is it ...
4
votes
2answers
3k views

OpenVPN: Not all DNS entries get pushed to clients from server. (dnsmasq)

I have been trying to find a solution to this problem, but have found no answer so far, so I hope you guys can help me out. I have a server running Ubuntu 10.04, which has a static IP address and an ...
0
votes
1answer
2k views

Configuring Shorewall for routed OpenVPN

I have an Ubuntu server 14.04 machine that serves as a NAT router. The routing is achieved using Shorewall, mostly in line with this tutorial. The LAN has the subnet 10.0.0.0/24 On this machine I ...
0
votes
1answer
2k views

NFS fails to mount through openvpn tunnel

I am trying to establish an nfs connection through an openvpn tunnel. It really anoying and i dont know what to try next. The connectein test has been made on several platforms now. used ...
2
votes
1answer
190 views

AWS Site-to-Site VPN and Remote-Access VPN Server using Pritunl

I was looking at the Pritunl Enterprise edition product and wondered if we could set up the following scenario using it: Our AWS environment consists of a number of VPCs in different AWS regions. We ...
1
vote
2answers
6k 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 ...
2
votes
0answers
479 views

Assign a public ip to openvpn client

For learning purposes, I'm trying to set up openvpn server, so that each connected client would get a unique public ip address. I have a vps server and I ordered extra 8 static ips and they are ...
0
votes
0answers
29 views

OpenVPN NAT gateway on Debian, no traffic

My Debian server is successfully configured to connect to "HideMyAss", using OpenVPN, has internet access, receives HMA IP and still sees the computers on the LAN. I'm trying to configure the other ...
1
vote
2answers
47 views

OpenVPN for embedd devices

I'm a newbie in OpenVPN and the related questions, I'm googling for several days without positive answer. I have several linux-based devices located in my town that collects data and sends it for me. ...
0
votes
1answer
15 views

Except some IPs from rule to not allow internet through openwrt + openvpn when vpn is disconnected

I have the following working setup on my network: A. ISP-Router (connected to inet, internal ip 192.168.0.1 ) <----> B. eth0 - OpenWrt Router (OpenVPN client running) br-lan (bridge eth1 + wlan0, ...
-1
votes
1answer
67 views

openvpn route ALL traffic through VPN but through particular client (not server)

I have managed to setup a configuration where specific routes are routed through a particular client . For example I setup route X.X.X.0 255.255.255.0 and in the client A iroute X.X.X.0 255.255.255.0 ...