OpenVPN is a free virtual private network (VPN) client and daemon.

learn more… | top users | synonyms

0
votes
0answers
17 views

Ubuntu Server 16.04 - OpenVPN seems not to start, no logs get written

I installed and oepnvpn on a ubuntu server 16.04 by following the following guideline how-to-set-up-an-openvpn-server-on-ubuntu when I start the openVPN server with: service openvpn start it looks ...
0
votes
0answers
25 views

Traffic between two separate openvpn servers' clients

I have two Openvpn servers on two separate linux boxes, with different settings and clients. Lets call them server A and server B. When I connect to server A, I want to be able to access server's B ...
0
votes
0answers
91 views

Client to Client https in OpenVPN on CentOS 7

In the Centos 7 -hosted OpenVPN defined below, why can't the windows_client defined below https into the centos_vm1_client defined below? The problem seems isolated to the configuration of the ...
0
votes
2answers
26 views

Client route for OpenVPN Access Server

I am running OpenVPN Access Server and I'd like to push a route to every client on connection that is the equivalent of: sudo ip route add 172.17.0.0/24 via 172.27.232.1 Where should I go to set ...
1
vote
1answer
57 views

OpenVPN Server does not reply to Client ping

An OpenVPN client seems to initialize on a CentOS 7 client virtual machine. However, the response from the server is not clear when the client sends a ping. Specifically, ping 10.8.0.0 from the ...
2
votes
0answers
17 views

VPN with iptables and routing: access port from local network

I use a commercial VPN provider with OpenVPN as client on Ubuntu Server 14.04 LTS (but doing some testing on 16.04 LTS too). I have configured iptables and routing tables to mark packets based on user ...
1
vote
0answers
11 views

Configure firewallD to access services on bridge from OpenVPN

I have setup a KVM host using a routed bridge (interface br0) where the virtual machines are connected. I can reach services inside the VMs on the bridge from the KVM host without problems. I can ...
2
votes
1answer
100 views

<SOLVED> VPN clients not reaching Internet

Recently, during VPN server configuration the one thing that I've faced is - I don't have internet access connecting through my VPN server. Actually I use the VPS(Debian 8 ), where I've installed a ...
0
votes
0answers
13 views

OpenVPN high cpu usage when reconnecting to network

Whenever my network disconnects/reconnects the openvpn service (this is client side) cpu usage goes to 90%. If i manually stop and start it resumes ok. I tried debugging but i'm not sure i checked ...
1
vote
2answers
39 views

what should I write on server.conf when try create VPN on CentOS 7?

I use CentOS 7 . I want to create VPN server on my machine. I am following perfect VPN tutorial until I get to this part, editing /etc/openvpn/server.conf: local x.x.x.x port 1194 proto udp dev tun ...
0
votes
0answers
24 views

Route requests over interface

I have a raspberry pi setup for a few different things at home. Mainly it is my dns server and it is also a small webserver providing a reverse proxy to my internal camera system. I recently changed ...
0
votes
0answers
14 views

Open VPN does not work on Trisquel (Mullvad)

I use MullvadVPN and want to use it on my machine running Trisquel. I downloaded the .tar.gz file, extracted it, imported the files using Network Manager and saved. Just like the instructions said. ...
1
vote
0answers
20 views

OpenVPN with /112 IPv6 subnet, unable to route to eth0 and vice-versa

I'm trying to set up an IPv6-enabled OpenVPN server. The provider only gave me a /64 subnet : 2a06:1700:1::640/64. Here is the OpenVPN configuration : port 1194 proto udp dev tun0 server-ipv6 2a06:...
1
vote
2answers
69 views

How to Do Split Tunnelling with Slave ppp0 VPN + 2nd VPN?

Network Finland(internet)-PC(Sweden)-Uni(Sweden). Uni IP is fixed. Finland(internet) is gained with 3g-4 connection. I need to use a VPN provider to change my country but the VPN provider gives ppp0, ...
0
votes
2answers
103 views

iptables forward traffic to vpn tunnel if open

I've used the following guide to set up my raspberry pi as an access point: Raspberry Pi 3 as wifi access point I'm forwarding wlan0 to eth0 and NATing all my traffic. Works great! sudo iptables -t ...
1
vote
1answer
76 views

Openvpn exclude ip in pool

I have an OpenVPN server running on a Linux Ubuntu box. Multiple clients connect to this server (500+) and that is why I set the server-bridge option like this: server-bridge 10.0.100.1 255.255.0.0 ...
0
votes
0answers
32 views

iptables for tomato to block all non-vpn traffic

I have been combing through a few forums of many VPNs that have iptables for the tomato router. Most don't work. The one from VPN.ac recommends adding under Administration > Scripts > Firewall ...
0
votes
0answers
19 views

IPTables/IPRoute + Avoiding VPN

I have a debian jessie headless server running an OpenVPN connection. However there is certain traffic I don't want passing through the VPN, and would rather pass through my local gateway. I have ...
0
votes
1answer
49 views

Connect to commercial VPN on OpenBSD 5.9

I recently installed OpenBSD 5.9 and I'm trying to get it functional enough to use as a replacement for Debian. One thing where I hit a brick wall is connecting to my VPN. I use a commercial VPN which ...
2
votes
1answer
224 views

Systemd: How to start/stop Python script that should run in background, inside Virtualenv

On my Raspbian machine, I want a successful OpenVPN connection to my VPN provider to initiate a Python script, that persistently should run in the background as long as the VPN connection is active. ...
0
votes
0answers
10 views

Make openvpn to use available connection

I'm trying to configure openvpn to support both ipv4 and ipv6 (from what I understand it should be possible). But however when I have proto udp proto udp6 But openvpn tries to use the IPv6 ...
1
vote
1answer
38 views

Where is openvpn access server port defined?

I installed openvpn access server in my VPS and worked fine last time. A while I didn't use the vpn and I noticed the port for access server is changed from 943 to 914. Maybe I just forgot I ...
2
votes
1answer
55 views

Shorewall to protect interfaces that are not yet defined

I am planning to use Shorewall to filter traffic that originates from a virtual interface created by OpenVPN (lets call it tap0). If OpenVPN did not successfully create this interface before ...
0
votes
0answers
26 views

I'm having trouble installing Mullvad (VPN) on mint 17.2

I recently purchased Mullvad for my Linux, but can't make it work. I've followed the steps on the official website here and it tells me: Starting VPN daemon(s)... and does nothing. I checked and my ...
1
vote
0answers
29 views

OpenVPN block SMTP Access Server completely

I've tried almost all iptables rules to block smtp on openvpn server but still clients clients can access remote smtp servers on port 25. I'm using openvpn access server. It's creating two interfaces ...
0
votes
1answer
84 views

Public HTTP/HAProxy server also is a VPN… should it do both?

I have a HTTP/HAProxy server. It also is the OpenVPN server for my network (all my servers are connected to it). I expect my website to grow dramatically soon, so I am worried if this single point of ...
0
votes
0answers
36 views

Only allow port 80 access to VPN users

I have setup a OpenVPN server thanks to Docker (and this tuto: https://www.digitalocean.com/community/tutorials/how-to-run-openvpn-in-a-docker-container-on-ubuntu-14-04). What I want now is to allow ...
0
votes
0answers
16 views

How to set up OpenVPN? [duplicate]

I'm trying to use OpenVPN on my debian system. I'm using Debian for the first time. Version: Debian GNU/Linux 8 (jessie) 64-bit. When I try to run this: root@debian:~# apt-get install openvpn I ...
1
vote
1answer
70 views

Can not add static route in my Ubuntu, SIOCADDRT: Network is unreachable

I'm trying to add a static route in my VPS to a client that is on the other side of the VPN tunnel to my VPS and forwards it's traffic through the tunnel. This is the setup of my destination that I'm ...
2
votes
1answer
125 views

Redirect secondary network interface traffic along with port forwarding to tun0 (OpenVPN) using iptables

I have a NAS server which I should do port forwarding for it in order to make its services accessible from internet. However my ISP is blocking ports, so I've managed to buy myself a cheap Ubuntu VPS ...
0
votes
0answers
46 views

Two IP addresses assigned to the same network card - OpenVPN issues?

I have a laptop running Arch Linux. At home, I can connect to my OpenVPN server without problems; however, my college network seems to use some odd configuration where upon connection I'm assigned two ...
1
vote
0answers
16 views

OpenVPN maintain connection state during tunnel reconnect

Sometimes I want to do a short maintenance like restarting a tunnel, all connection running on top such as file transfer...etc will receive connection lost signal, is it possible to maintain those ...
1
vote
1answer
81 views

How to know where resolv.conf entries come from?

I use resolvconf for nameserver management because my OpenVPN requires it. However, I notice that it generates nameserver information that is not exactly how I would want it: # Dynamic resolv.conf(5) ...
1
vote
1answer
26 views

How Would I Appropriated Add this Route?

I've got an ASUS RT-AC66u running an OpenVPN server working fine. But on my debian server I have to add a route or else I get no responses. Just curious if there is a way to add the route to the ...
0
votes
0answers
67 views

Add Multiple VPN External IPs - OpenVPN AS

I'm currently running OpenVPN Access Server on Ubuntu 14.04. I have a VPS with 5 IP's, eth0:1, eth0:2, and etc. I want to know how to add each of these IP's to be used via OpenVPN, so that when a ...
1
vote
0answers
31 views

Openvpn authentication fail caused by wrong system date time

I have a remote linux device connected as an openvpn client to an openvpn server over TCP, with standard certificate authentication. Unfortunately this device has lost the current system Date Time, ...
1
vote
1answer
64 views

OpenVPN client setup

I have been following this tutorial – Howto Configure OpenVPN Server-Client on Ubuntu 15.04 – to set up OpenVPN on my Ubuntu 15.04 VM.  I have followed it through and through, and am kind of stuck ...
0
votes
0answers
42 views

Fresh Install of OpenVPN Access Server Connection Refused

I have a fresh install of Debian Lamp server, everything works perfectly (Web server, mysql etc). Note: Before I proceed with OpenVPN installation I took a snapshot of my server. Then I wget the ...
0
votes
0answers
57 views

Trying to run OpenVPN in Network Namespace

I want certain apps to access the internet via OpenVPN. I found a solution in the final answer/comment at the bottom of this question/thread here: Feed all traffic through OpenVPN for a specific ...
0
votes
2answers
65 views

Assign a different ip for each .ovpn client? OpenVPN

Alright, so I'm using OpenVPN on ubuntu 14.04. Say I have a box, with 5 IPs, I have openvpn, but I want to make 5 different client certificates and .ovpn files, but each of those certificates will ...
0
votes
1answer
203 views

How to make OpenVPN to listen both TCP and UDP ports

I've searched around and the only thing I've found is that "yes, OpenVPN supports connections over TCP", but I haven't found any way to coerce the openvpn server to listen the same port for both ...
1
vote
0answers
39 views

How to not going through openvpn tunnel for a specific port

After long hours of digging and many tries I still cannot figure out how to not have a traffic on a given port going through the openvpn tunnel. Below my setup: (enp0s25)<ovpn server>(tun0) <...
1
vote
1answer
104 views

How do I masquerade only a specific subnet with firewalld?

I'm running openvpn on CentOS 7 with firewalld. I've enabled masquerading on the public (default) zone, and it works fine. However, I occasionally need to run services on localhost/127.0.0.1, and the ...
1
vote
1answer
72 views

Is there a way to resolve ALL PIA VPN IPs with a script?

I am looking for a way to get a complete list of all the current IP addresses for PrivateInternetAccess' servers. I need the complete list so that I can manually enter them into a killswitch for ...
1
vote
1answer
81 views

How to run a script after OpenVPN initialization is completed?

Background: I want to check the speed of the various servers of my VPN provider and wrote a script which runs iperf3 for each of the servers. The script does not modify the networking setup in any way....
3
votes
1answer
56 views

SELinux not allowing read files on ~/.cert

I'm new to Fedora 23 and SELinux. I use an OpenVPN client through NetworkManager. I stored all the files I needed OpenVPN to access (certificate, CA and private key) inside ~/.cert and ran updatecon -...
0
votes
0answers
19 views

Openvpn clients discovery through dns

I have got an openvpn server in germany and various Linux centos clients connecting to him. The first and difficult thing that I'm noticing, is the impossibility to have got resolv.conf updated by ...
1
vote
0answers
142 views

Force OpenVPN to route all traffic through one IP address (2 IPs on same NIC)

I've trying to dig up a solution for this, but all I keep turning up is how to bind OpenVPN to a particular hardware interface. Not quite what I need to do here. I run a server and I have 2 IPs at my ...
0
votes
1answer
22 views

Copy OpenVPN settings

After I install OpenVPN on another device, can I transfer the keys to the server to save me making new keys for all my devices?
2
votes
2answers
143 views

Traffic of specific program through vpn [duplicate]

is it possible to only let the traffic of Deluge through a VPN (OpenVPN) and the other traffic not with iptables? Kind regards