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

learn more… | top users | synonyms

1
vote
1answer
108 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
77 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
168 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
23 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
191 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
758 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 00:...
1
vote
0answers
49 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
53 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
424 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
2answers
276 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
325 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
99 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
128 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
79 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
55 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
97 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 ...
0
votes
0answers
64 views

OpenVPN Connection without disabling Internet debugging

I've recently configured OpenVPN on my server (CentOS 7) and been configuring it for hours now and everything seems to work fine except that when I connect using a client machine I cannot access the ...
1
vote
1answer
277 views

OpenVPN connects to the Server successfuly but no internet access

I want to setup an OpenVPN Server and after a week of trying day and night (no Linux Knowledge) I was able to successfully connect to the Server using OpenVPN GUI but now that I can Connect there is ...
0
votes
1answer
24 views

iptables and OpenVPN configuration

I have following iptables rules: -A INPUT -i eth0 -p udp -m udp --dport 1194 -m state --state NEW -j ACCEPT -A INPUT -i tun+ -j ACCEPT -A INPUT -j DROP -A FORWARD -i tun+ -j ACCEPT -A FORWARD -i tun+ ...
0
votes
0answers
120 views

IPv6 router advertisement seems to break OpenVPN setup

I have an OpenVPN setup on Debian Jessie, or Raspbian to be precise, that provides an IPv4 and IPv6 subnet for the clients. The server configuration of OpenVPN contains: dev tun server-ipv6 fdd2:af8b:...
0
votes
1answer
48 views

All connections get lost after openvpn connected for a while

I have a openvpn works perfect in the windows7, but in my ubuntu OpenVPN 2.3.7, it is very strange. I can make the openvpn login, and connect to my vpn network, browse the internet. But after some ...
0
votes
1answer
359 views

OpenVPN with IPVanish on Linux Mint: Connects but no internet access

I'm trying to connect to an IPVanish server on Linux Mint. IPVanish does not provide software for Linux so it has to be done manually. I downloaded an ovpn file from IPVanish here. I then went to ...
0
votes
1answer
385 views

How do I get the network manager applet and install openvn on Kali 2.0 Gnome 3?

I'm attempting to install VPN on my Kali Linux Gnome 3 laptop. I've followed the instructions on this page https://www.privateinternetaccess.com/forum/discussion/18003/openvpn-step-by-step-setups-for-...
1
vote
1answer
85 views

OpenVPN connection on remote server blocks all incoming connections

I login into remote server (DigitalOcean) by SSH, and start OpenVPN client there. When this client gets connected to its endpoint, my SSH connection breaks. After that I cannot connect to server or ...
2
votes
1answer
425 views

Proxpn and other VPNs in Iran

Back in the free world I purchased a lifetime-package of proXPN and tested it quite successfully under Linux. Now I'm in Iran and everything fails. We seem to use ITC as ISP - which is the ...
0
votes
0answers
197 views

How to make resolvconf / dnscrypt / unbound work together on systemd - and respect openVPN routes?

I'm finding it tremendously confusing to appropriately setup Unbound.service on systemd. Use Case I am trying to get my Debian Jessie laptop to use DNScrypt as default DNS and Unbound as the local ...
0
votes
0answers
18 views

socks to remote vpn clients on single server

I have the following setup: [user1] > ssh -D 1080 server > [server A a.a.a.a] openvpn --config vpn1.ovpn > [vpn server #1 x.x.x.x] [user2] > ssh -D 1081 server > [server A a.a.a.a] openvpn --config ...
1
vote
1answer
135 views

OpenVPN connection help. Multiple Tunnels

i have a system setup, mostly from reading posts and instructions and am having a bit of trouble. My basic setup multiple openvpn clients, e.g. macbook, android phone dd-wrt router / firewall ...
2
votes
0answers
219 views

OpenVPN public IP on tun0 interface instead of vpn network

I cant access devices in local network behind openvpn client using public IP of VPN server. A litlle bit of information Openvpn server (openVZ, Debian7) Opevpn client (raspberry pi 2 raspbian ...
1
vote
0answers
296 views

Connect to Ubuntu Server through SSH over the internet

I have a ubuntu server that I access locally through ssh, but I need to configure it to be able to access it through ssh from the internet. I connected eth1 to the internet and configured the ...
0
votes
1answer
581 views

route on specific interface based on port

I have a php / bash application on top of a Linux machine with 1 physical interface connecting to e.g., outbound webserver 123.123.123.123 :80. I do this via several openvpn providers. I have both tun ...
2
votes
1answer
1k views

ssh into a server which is connected to a VPN service

I have a virtual private server, which I would like to run a web server while my server is connected to a VPN service When the VPN connection to my provider is not up, I can do anything I want with ...
2
votes
0answers
133 views

How to restrict openvpn clients to communicate with other vpn clients

I have this Openvpn scenario.. I have Lot of openvpn clients connected to my server, All i want is to restrict client to client communication. for eg. i have (10.20.0.2,10.20.0.3,10.20.0.4,10.20.0....
1
vote
0answers
271 views

OpenVPN load balancing

The question is in general about the best practices. VPN network has to manage about a thousand of simultaneous connections, so there is a problem in load balancing over several OpenVPN servers. ...
0
votes
0answers
40 views

Connecting Shrew using terminal

I am using Shrew in CentOS to enable VPN tunneling. I use the following to start it. iked qikea Now I want to enter username and password also from terminal. I don't want to use the GUI so that I ...
1
vote
0answers
23 views

read-only ldap client setup

I have a Debian Linux box hosted on the cloud that I want to provide mail services with (Postfix/Dovecot). I want it to access my openLDAP server at home for authentication and to provide users email ...
0
votes
0answers
118 views

OpenVPN - How to log user activity?

I have a small OpenVPN server and I want to log which sites/IPs my users are accessing, and how much traffic they've consumed. Is there a way to do this? Thanks!
1
vote
2answers
108 views

Why ip_forwarding=1 fails with VPN?

My computer offer a Wifi AP, to share its eth Internet connection. It works painlessly. I decided to connect my computer to my VPN server (my eth <=> VPN distant server), in order my "WifiAP ...
0
votes
1answer
188 views

How to bind wlan and tun

When you want to 'bind' eth and wlan on your computer, you use ip_forwarding set to 1. How do you do to 'route/bind' such a configuration to access VPN server from wlan , through eth? anna client<...
0
votes
1answer
85 views

OpenVPN clients cannot share their connection to the Internet

Context: a Wifi VPN gateway (Linux Ubuntu computer) Simply One distant Server (www.example.com) and One Client (Paul, Ubuntu Linux, gateway) linked with openVpn. Server allows Paul to browse ...
0
votes
0answers
68 views

OpenVPN “breaks” my local DNS down

Context: Router-computer (Ubuntu 14) runs a wifi AP (wlan0), as a router between clients and Internet (on eth0). For DHCP it uses isc-dhcp-server and DNS resolvers are defined in dhcpd.conf (...
0
votes
0answers
70 views

Questions about setting up an OpenWRT Router as a client and ethernet ports

I'm fairly new to Linux and wanted to create a little OpenVPN setup. I have a computer setup with an openVPN server and a (cheap TP-link) router with openWRT and OpenVPN (client). Basically, I want to ...
0
votes
1answer
173 views

Raspberry Pi run script after startup

I have a Raspberry Pi with openvpn installed and running perfect and I want to launch a command after the desktop mode enters and after all is loaded and running including openvpn on Raspbian. I ...
0
votes
0answers
157 views

Raspberry Pi OpenVPN SSH problem

I followed this tutorial to configure OpenVPN and it and runs very well: http://blog.frd.mn/raspberry-pi-vpn-gateway/ Now I want to access my Raspberry Pi via SSH. OpenVPN is most of the time ...
2
votes
0answers
537 views

How to get the VPN icon in Kali 2.0 (gnome) as root?

I have trouble getting the VPN status icon into the top bar for Kali 2.0 (gnome). Installation I recently installed latest kali 2.0 (in a VirtualBox from kali-linux-2.0-amd64.iso). I checked the ...
0
votes
0answers
54 views

Openvpn does not work

My VPN service has given me a zip containing a .key file, a .ovpn file and a .crt file. I used the following command to import the ovpn settings root@test:~$ openvpn ~/path/foo.ovpn After ...
2
votes
0answers
2k views

OpenVPN client config: Route command fails

I want to connect to my company's VPN server, so I can access work resources. I'm running Ubuntu Gnome 15.04, and I've been given an ovpn-file. I installed OpenVPN and run sudo openvpn --config ~/...
0
votes
0answers
123 views

OpenVPN is working but not DNS resolution

I am using : uname -a Linux 2.6.32-042stab108.5 #1 SMP Wed Jun 17 20:20:17 MSK 2015 x86_64 GNU/Linux This is my server config: cat /etc/openvpn/server.conf | egrep -v "#|;" port 1194 proto udp ...