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

learn more… | top users | synonyms

-7
votes
0answers
23 views

How can I fix this problem?

I have try to create VPN on centOS 7, and meet trouble like this: How can I fix this problem?
1
vote
2answers
61 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
77 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
49 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
12 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
18 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
0answers
32 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
122 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
31 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
51 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
19 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
25 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
52 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
33 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
60 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
98 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
41 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
14 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
75 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
25 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
46 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 IPs, eth0:1, eth0:2, and etc. I want to know how to add each of these ips to be used via OpenVPN, so that when a client ...
1
vote
0answers
30 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
56 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
29 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
46 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
46 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
115 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
37 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
94 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
61 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 ...
0
votes
1answer
68 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 ...
3
votes
1answer
47 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
17 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
107 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
100 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
1
vote
1answer
241 views

OpenVPN - Understand the routing table + How to route only the traffic to a specific ip via the VPN

I'm connecting to a VPN service using OpenVPN and everything works fine. Once I connect these are the rules that automatically are set: root@linux:~# ifconfig eth0 Link encap:Ethernet HWaddr ...
1
vote
0answers
39 views

SSH over IPvanish

Hello I have been trying already for several days to access my tiny server via ssh with openVPN. Everything works fine without the VPN. I have tried all that you can find on forums...add an ip rule ...
1
vote
0answers
43 views

expressvpn always blocked

I use expressvpn for making google accessible. But recently, I cannot connect to the expressvpn with .ovpn files. I had stopped firewalld and iptables server, but it did't work. But the expressvpn on ...
3
votes
1answer
258 views

Block all internet connections unless connected to OpenVPN server

I want to block all internet connections unless I'm connected to my OpenVPN. Now of course, I need to allow connection to the VPN server. Can this be done, by allowing out/in traffic to/from the VPN ...
5
votes
1answer
178 views

port forwarding to application in network namespace with vpn

I was able to set up a network namespace, establish a tunnel with openvpn and start an application that uses this tunnel inside the namespace. So far so good, but this application can be accessed via ...
0
votes
1answer
187 views

OpenVPN server on Kubernetes cluster / DNS and Service resolution

I have a Kubernetes cluster running applications (currently on a set of Vagrant CoreOS VMs on a local server) I want to be able to debug a particular application locally on my laptop, so I worked on ...
1
vote
2answers
64 views

Auto connect and reconnect to VPN on Debian 8

I am searching for a way to always enforce a VPN connection with a chosen profile (ovpn or network manager) whenever I use an internet connection. I want to use OpenVPN and Debian 8. Is there a ...
0
votes
1answer
95 views

pfsense tcp connection between openvpn and lan is broken

I am trying to connect openvpn clients into an internal lan, so they can access a http server. pfSense as well as my http server are running on a virtual machine of my home proxmox node. Both are ...
0
votes
1answer
32 views

OpenVPN to access restriced pages

I am looking for a method to go out with different ip in order to access some sites that are blocked by my local provider(I need to write scripts to retrieve data from thos pages).On ...
1
vote
1answer
62 views

Nothing happens when trying to add/set default gateway

I'm connected to a network using VPN (Managed byt NetworkManager, Fedora 23), and I want to route all traffica via the VPN network. But for some reason nothing happens when I run ip route add or ip ...
1
vote
1answer
41 views

How can I check whether a given connection is going through my VPN?

I use openVPN to connect to a server at work. However, I only want to use the VPN for work-related stuff and not for my regular browsing. I don't really know much about VPNs, so it's entirely possible ...
1
vote
0answers
72 views

How to add a dependency to internet to a service with systemd on arch?

My openVPN connection start perfectly on boot with connman service for Internet and openVPN for my vpn connection. But, If I boot with a connection to Internet at boot and after many time I ...