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

learn more… | top users | synonyms

1
vote
0answers
8 views

Make openvpn restart upon new network connection

How would you go about making OpenVPN automatically restart upon connecting to a network? The issue is that every time a network connection is lost - of if the computer is booted without a network ...
0
votes
0answers
12 views

OpenVPN Network to Network issues

I'm having some trouble getting OpenVPN working (as a tunnel between networks). I've gone through the following steps INITIAL SETUP 01. Installed openvpn and easy-rsa with yum 02. copied the example ...
0
votes
1answer
19 views

Route a port through a network interface

I'm using OpenVPN on Ubuntu Server to connect to my VPN. That network interface is tun0. All traffic currently goes through the VPN. I'd like to exclude traffic that goes over a specific port, and ...
0
votes
1answer
10 views

Can I reuse the certificate when setting up OpenVPN over stunnel?

I am setting up an OpenVPN server to run over stunnel following this tutorial. It asks that I create a self-signed certificate for stunnel on the server side. Since I already have one that was ...
1
vote
2answers
37 views

Does a Certificate Authority represent my company or a server?

I am setting up my second OpenVPN server with TLS and so I have a question about CA. Should I create a separate CA for each server or use the same? Why? Both servers will cater to the same network ...
0
votes
0answers
17 views

Generate openvpn-client keys based on asuswrt ca

Question How can I authenticate a client on my openvpn-server (running asuswrt) with just a certificate? Crosspost from ...
0
votes
2answers
35 views

Routing Configuration sending some traffic over VPN

I have a DD-WRT router with an OpenVPN service configured. I'd like to send only certain source IP's over the vpn connection. I believe my current routing table (as seen with netstat -rn) sends all ...
2
votes
1answer
24 views

How to define DNS server in openvpn?

I setup an openvpn server with static key (certificate mode is not usable due to DPI at the national gateway), but I cannot successfully change the DNS automatically after the connection. I searched ...
1
vote
1answer
21 views

How does OpenVPN server assign client IP addresses in case of multiclient configuration?

For a multiclient OpenVPN configuration, as we can find from the relevant documentation (server.conf comments), Configure server mode and supply a VPN subnet for OpenVPN to draw client ...
2
votes
1answer
30 views

Please help me to understand these tun0 addresses

I have already done some searching and more or less understand what a tun0 interface does. I got the following from various sources, Packets sent by an operating system via a tun/tap device are ...
1
vote
1answer
32 views

OpenVPN bridged network without authentication

I would like to configure OpenVPN multi-client server in bridged mode(tap virtual interface). My server-side configuration is following: dev tap0 proto udp port 1194 mode server ifconfig-pool ...
2
votes
1answer
18 views

Purpose of IP addresses on tun interface?

--ifconfig option, which configures local and peer IP address for point-to-point tunnel interface, is a mandatory configuration option for OpenVPN. However, what is the purpose of local and peer IP ...
2
votes
1answer
29 views

Understand HMAC authentication in case of site-to-site OpenVPN tunnel

I have a very simple OpenVPN setup where OpenVPN server is started with openvpn --ifconfig 10.10.10.1 10.10.10.2 --dev tun and client is started with openvpn --ifconfig 10.10.10.2 10.10.10.1 --dev tun ...
1
vote
2answers
89 views

Kali Linux openVPN does not pass the DNS Leak test

I recently installed Kali Linux on VMWare. I was able to successfully install openVPN following these instructions, but it seems that it does not pass the DNS Leak test. Is there anything that can fix ...
1
vote
1answer
35 views

how to force a tun/tap interface into RUNNING state

I create a tun interface, bring it up and assign an ip addr to it using sudo openvpn --mktun --dev tun2 sudo ip link set dev tun2 up sudo ip addr add 10.0.0.1/24 dev tun2 The interface is created ...
1
vote
1answer
35 views

systemd: Stop all OpenVPN processes

Just started using systemd and need to stop and start OpenVPN. I can successfully start OpenVPN with this for example: systemctl start openvpn@vpn1.service and can stop it with: systemctl stop ...
0
votes
1answer
37 views

OpenVPN via systemd fails with stdin error

OpenVPN starts and runs just fine when I invoke it directly from the command line, but when I try to start it as a process via systemd, it throws a failure error that I can't find a solution to. ...
2
votes
0answers
18 views

OpenVPN nameservers ignored by NetworkManager or whatever

I'm using Elementary OS. I've followed a dozen suggestions from different websites and nothing helps. I use OpenVPN client to connect to an office network. The company I work for has provided me the ...
1
vote
0answers
107 views

Port forwarding with iptables and PIA VPN for single user

I've gotten a Private Internet Access VPN setup on a Mythbuntu 14.04 machine and I am at wits end trying to get port forwarding working with rTorrent (and ruTorrent). My setup is rTorrent running ...
1
vote
1answer
56 views

Openvpn stops responding

I've been trying to set up openvpn with a vps and raspberry pi. The raspi is natted while the vps is public. I've tried connecting to the openvpn from mint laptop as well, but it's no use: Server ...
2
votes
0answers
51 views

Cannot connect to OpenVPN server

I'm trying to run an OpenVPN server on a Raspberry Pi. After installation using apt, I wanted to establish just a raw connection to test it, but I can't connect to the server from another computer. ...
1
vote
0answers
62 views

Running a systemd service file after the network is up to bypass an OpenVPN default gateway

I would like to add a static route using a systemd service file on system boot. I have a DMZ network on a separate 192.168 class C network reachable via my default gateway. I also use OpenVPN to ...
2
votes
1answer
26 views

Changing OpenVPN device name

I have multiple VPN server softwares running on the same server, two of them(tinc and openvpn) are using the same /dev/net/tun devices and spawns a tunX iface. The later started ones will use tun ...
1
vote
0answers
35 views

Route wireless LAN through OpenVPN

I am trying to set up my home server to act as an OpenVPN gateway so I can connect to my VPN from any device without installing special software of them. My server is running Ubuntu 14.04. The host ...
0
votes
1answer
40 views

What's the diference between a SSH tunnel and a VPN? [closed]

What situations do I have to use one in detriment to the other? I believe that both serves for the same situations at the most of the case, isn't?
0
votes
1answer
48 views

VPS: How to forward traffic to devices from public IP

My goal is to set up a public IP for a Android Smartphone which is running an "IP Cam" software - the interface can be accessed in local network on (example) 192.168.0.2:8080 - But it has no public IP ...
0
votes
0answers
29 views

OpenVPN Connect from a Different Network

I recently setup OpenVPN on a CentOS 6 machine. The setup went smooth and I can connect to it fine from a client computer when both computers are on the same network. I wanted to know how to make the ...
0
votes
0answers
65 views

OpenVPN TLS Error

I'm having trouble getting OpenVPN to work. I have installed and configured OpenVPN on my centos machine and it seemed to be going fine. I followed the instructions in the following link ...
0
votes
2answers
43 views

OpenVPN Server Setup [closed]

I've used OpenVPN Access Server in the past although it seems overkill for a second test server I am setting up. I am not very familiar with OpenVPN (including Access Server which I had help getting ...
1
vote
0answers
140 views

Make docker containers accessible via vpn

I have three physical machine A, B, C, each of them has docker installed. I want to install openvpn server on machine A, and install openvpn client on B and C. B and C will connect to A. I want to ...
0
votes
0answers
32 views

openvpn enable to connect to the server

I have centOS 7 64 bits, When I try to connect with openvpn my client.conf I have this error: Mon Mar 16 09:11:26 2015 TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL ...
0
votes
2answers
98 views

Cannot access internet through OpenVPN

I have set up an openvpn server, generated a certificate and downloaded it to my client machine. After importing the client.ovpn file in the network manager, I can still ssh into the server itself, ...
1
vote
1answer
279 views

OpenVPN CLI for killswitch or connection fallback prevention

I'm using OpenVPN via command line to connect to my VPN on my current Linux distro since there is no GUI available (which had a killswitch checkbox). My problem is, I can't find any way to add a ...
0
votes
0answers
22 views

failing to tunnel F5VPN through OpenVPN

summary I need to tunnel an F5VPN through an OpenVPN in order to ssh from a client device (Debian laptop) through a firewall. The OpenVPN works, but I lose all networking on the laptop once I start ...
2
votes
1answer
125 views

firewalld rules to route two user groups to different apps in OpenVPN

I have OpenVPN successfully configured on a remote CentOS 7 server to allow https access to employees and administrators, while also blocking ssh access to everyone who is NOT an administrator. This ...
1
vote
0answers
29 views

Appearing to be on the same network

I have a user that needs to connect to a machine located on a private network at another facility. Basically 192.168.0.20 -> 192.168.0.1 -> Internet -> 192.168.1.1 -> 192.168.2.1 -> ...
0
votes
1answer
72 views

OpenVPN client log not `logrotate`ing as expected

summary: I want to keep an OpenVPN client's main log from filling its filesystem, but I also need to keep a fairly high debug level (at least for now). My attempt to logrotate is currently not ...
0
votes
0answers
24 views

Forwarding packets through a host

I've setup a Site-to-Site network using this How To This How To fits exactly what I need. But I've a problem. From site wich hosting the OpenVPN AS server (site 2, right in the howto) I can't ping a ...
0
votes
1answer
282 views

CentOS 7 - Cannot start OpenVPN Access Server

I have been trying to install the OpenVPN Access Server on my CentOS 7 VPS. However, I have been running into a number of problems. Initially, I had followed this DigitalOcean guide, but after I had ...
0
votes
0answers
71 views

Get real IP after OpenVPN tunneling

I try to route traffic from one Server to another using OpenVPN. In the end users should only connect to the forwarding machine. It basically works using this iptables rules: iptables -t nat -A ...
0
votes
1answer
181 views

ip6tables allow IPv6 traffic from OpenVPN through my VPS

I've established a fully working IPv4 OpenVPN setup and wanted to go one step further and experiment with setting up IPv6. My VPS server does not get a native IPv6 block but does have a 6in4 tunnel ...
0
votes
0answers
84 views

OpenVPN Server only Serves traffic from Google.com to Client

So I am pretty sure this is a routing/config problem. Whenever my client (Android OpenVPN) connects to the OpenVPN server it can only retrieve traffic from google.com searches. Whenever I try and ...
1
vote
1answer
235 views

firewalld settings for OpenVPN with https, ssh, and smtp

I am configuring a remote CentOS 7 webapp server to wrap https and ssh inside OpenVPN, while keeping smtp running outside of OpenVPN. I notice that, when I establish an OpenVPN connection from a ...
1
vote
1answer
209 views

multiple user-types/access-rules for OpenVPN on CentOS 7 and firewalld

How can I define separate roles for users and administrator in OpenVPN running on CentOS 7 server? Specifically, the users must only be allowed to https, while the administrator must be allowed to ...
0
votes
0answers
177 views

firewall-cmd doesn't work when called through OpenVPN connection, why not?

I recently set up OpenVPN to run on a remote CentOS 7 server. Once I establish an OpenVPN connection to the remote server from my local machine, I am able to ssh through the VPN tunnel with ssh ...
1
vote
0answers
63 views

After changing network openvpn keeps querying stale dns

After changing network connection in my laptop (fedora 21) openvpn clinet is unable to resolve server address so every several seconds same line appears in logs: RESOLVE: Cannot resolve host address: ...
1
vote
1answer
203 views

Initialization Sequence Completed, but terminal wont give a prompt

I just installed openvpn on a remote CentOS 7 server using the instructions in this tutorial. The only change I made to the tutorial was to use @GarethTheRed's instructions for configuring ...
0
votes
1answer
59 views

Running 2 OpenVPN on the same box

(Fist of all, I'm a total Unix newbie). I know I can create two (or more) user accounts with root privileges, and I can access them independtly through SSH sessions. But I don't know how Unix systems ...
0
votes
1answer
118 views

Run daemon on startup in Debian once openvpn connection established

I am using raspbian. (Debian variant). By default, openvpn is started with /etc/rc2.d/S03openvpn. I set up an /etc/init.d script with a symlink /etc/rc2.d/S04daemonname for a daemon I want to start ...
0
votes
1answer
59 views

Connect to mpd over Openvpn (without changing internet routing)

I would like to be able to connect to my home network and access my music there via mpd. I have a VPN network setup at home, so I can securely connect to machines in my home network from outside with ...