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

learn more… | top users | synonyms

1
vote
1answer
8 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
1answer
16 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 ...
2
votes
0answers
27 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. ...
8
votes
4answers
1k views

Feed all traffic through OpenVPN for a specific network namespace only

I am trying to set up a VPN (using OpenVPN) such that all of the traffic, and only the traffic, to/from specific processes goes through the VPN; other processes should continue to use the physical ...
2
votes
1answer
1k views

Routing a LAN through OpenVPN on OpenBSD 5.5

I'm configuring an OpenVPN gateway to allow a LAN access to the internet through the tunnel. The gateway is running OpenBSD 5.5-stable amd64 on the PC Engines APU platform. The LAN contains re1, re2, ...
1
vote
0answers
24 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 ...
1
vote
1answer
525 views

Debian CLI torrent program through VPN

Has anyone successfully set up a CLI-only (no web UI's!) torrent client that can tunnel all of its traffic through a VPN? (Either by sending all traffic through a particular interface or a SOCKS ...
0
votes
1answer
905 views

iptables redirect traffic from VPN interface to next interface

Can you help me with this problem please? I need redirect all traffic from tun0 interface (OpenVPN tunnel) to eth1 interface. eth1 is internal network behind this system which works as special ...
0
votes
0answers
12 views

Auto Connect OpenVPN Client on Startup Windows 8 [closed]

I am trying to get my VPN to auto connect on startup so I don't have to always make sure that it is connected and running. I've read numerous ideas for running RegEdit ...
1
vote
0answers
27 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
32 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
24 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 ...
1
vote
0answers
2k views

Understand the Route table

I just setup the OpenVPN and it is working as expected. However, the routing table of the client is confusing me to no end. Here is the route table: # route -n Kernel IP routing table Destination ...
1
vote
1answer
448 views

Bridged TAP interface to virtualbox

I need bridged TAP interface on client side of my VPN to virtual machine. I use VirtualBox 4.3.12. But in Adapter Network options in Attached to: Bridged adapter I do not see my TUN adapter. I have ...
0
votes
0answers
17 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
36 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
845 views

Route wlan0 to openVPN tunnel and rest to eth0

I'm having problems to create route/iptables rules for following configuration: I have an openVPN server (tun type) running on my raspberry machine at home At work i have company pc (behind proxy) ...
0
votes
2answers
32 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 ...
0
votes
0answers
19 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 ...
5
votes
1answer
621 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
1
vote
0answers
76 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
27 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
57 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
118 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 ...
2
votes
1answer
94 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 -> ...
1
vote
1answer
18k views

OpenVPN: Push a route to client with a different gateway

I would like my OpenVPN server to push a route down to the client with a different default gateway. Specifically, my OpenVPN server has an internal IP address of 10.0.0.1, and I would like it to ...
0
votes
1answer
128 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
1answer
47 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
23 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
0answers
58 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 ...
1
vote
1answer
811 views

OpenVPN port forwarding without router forwarding?

I would like to setup an OpenVPN server with port forwarding on my VPS, because I can not forward ports in my home router. The general question is, if it is even possible to bypass router port ...
1
vote
3answers
191 views

OpenVPN using IPv6 on VPS

I'm trying to create an IPv6 tunnel using OpenVPN on Debian Sid. IPv4 is working fine, but I can't get IPv6 to work. I can ping the server and other clients using IPv6, but I can't reach the internet ...
0
votes
1answer
129 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
67 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
153 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
170 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
1answer
143 views

Running HMA Pro VPN on Kali Linux

I've installed HMA VPN on my Kali Linux distro but I'm having problems connecting to a VPN IP address. I run the command ./hma-vpn.sh -l "Amsterdam" for example, and then I try to connect to a ...
1
vote
1answer
100 views

Internet is not working when VPN is up

I'd like to redirect all trafic through VPN, but it doesn't work at all. server: RT-N16 [TomatoUSB v1.28.0000 MIPSR2-112 K26 USB AIO] client: Ubuntu 14.04.1 server config: # Automatically ...
0
votes
0answers
116 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 ...
2
votes
1answer
387 views

TUN/TAP Will not load

I have an OpenVZ server but can't seem to get the tun/tap module to load. I ran modprode tun on the hostnode but when I go under the VM I get: Tue Sep 24 03:08:36 2013 Note: Cannot open TUN/TAP dev ...
1
vote
0answers
50 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
2answers
156 views

Restarting OpenVPN on SELinux by a cronjob

I have a server with some OpenVPN instances (one server, several clients) running on Debian with enforcing SELinux. The connections to some of the VPN servers my machine is connecting to are somewhat ...
1
vote
1answer
125 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 ...
3
votes
4answers
4k views

Using OpenVPN with systemd

Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client. I'm running ...
0
votes
1answer
86 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
144 views

Can you set OpenVPN to auto-connect to 'fallback' .ovpns in case the current one fails?

I'm in Debian 7.8 Wheezy, and have installed openvpn from the stable repository. I'd like to set up a system for another user (who does not have high computer literacy) where, if the primary server ...
0
votes
1answer
49 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
45 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 ...
1
vote
1answer
639 views

Ethernet-bridged OpenVPN server not accepting connections from outside

I have configured an OpenVPN server with ethernet bridging using this howto and this page regarding ethernet bridging. The server is also running Samba, Apache and Webmin. Linux klesk 2.6.32-5-amd64 ...