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

learn more… | top users | synonyms

-3
votes
0answers
11 views

How to configure user -> OpenVPN -> Tor -> OpenVPN with Whonix [on hold]

My question is as follows: I have host OS windows 7. What i want to configure such a connection: Host (with OpenVPN connected) - > VirtualBox - > Whonix-Gateway with Whonix-Workstation or with any ...
0
votes
0answers
16 views

OpenVPN connection impossible from some network

I sucessfully installed an OpenVPN serveur on my Raspberry Pi and everything works like a charm when I want to connect to the VPN server from a random 4G or wifi network. I configured OpenVPN to use ...
0
votes
0answers
8 views

OpenVPN integration with LinOTP

I try to run OpenVPN with two factor authentication using LinOTP. I can't authenticate my login and password (PIN+OTP) with FreeRadius which is configered with LinOTP using OpenVPN. I get possitive ...
1
vote
1answer
54 views

Debian 8 Jessie with OpenVPN client

I have a Debian 8 Jessie server that I need to connect to my home network and I'm using an OpenVPN server on a pfSense 2.2 box at home. I have done this fine under older Debian versions, so I'm ...
-1
votes
2answers
54 views

OpenVPN and MerlinWRT

My ASUS router is flashed with MerlinWRT. This configuration used to work, however now when I connect I get, $ sudo openvpn ./client1.ovpn OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] ...
0
votes
0answers
18 views

Forward only one port in openvpn

I have a ‍openvpn server in Amazon Cloud and I use it to make a link between my home pc and linux computer which is located on a corporate network. It works except that it routes all traffic through ...
0
votes
1answer
22 views

A script to install OpenVPN & modify iptables?

I d like to automatize the install/config of OpenVPN on my client machines. Roughly, it should looks like : - apt-get openvpn - cp, edit, .... - modify iptables. Is it possible in one script ? or am ...
2
votes
0answers
33 views

OpenVPN, resolvconf, and DNS domain resolution

While at site1, I need to connect to site2 via OpenVPN. Once connected, the OpenVPN site2 pushes a DNS nameserver and domain search options. This causes all name resolutions for site1 to fail. ...
0
votes
0answers
50 views

Openvpn client and server cannot ping each other(Connection established)

I have setup OpenVPN client and server between two VPS. I have a client and server setup, server using 10.8.0.1 and 10.8.0.2 IPs in tun interface, and client using 10.8.0.6 and 10.8.0.5 in tun ...
0
votes
0answers
30 views

Job for openvpn@server.service failed

here is the problem during starting the OpenVPN service.. Just after command systemctl start openvpn@server.service terminal shows message: Job for openvpn@server.service failed. See 'systemctl ...
0
votes
0answers
17 views

Unable to execute root commands using client-connect option openvpn

I'm using the openvpn option client-connect to run a script when a client connects. The scrit works fine when I use simple commands but when I add commands that need root privileges it doesn't work ...
0
votes
0answers
25 views

Cannot connect to public IP address of server used as VPN gateway?

When I try connect to the public IP address of server that is also used as an openvpn gateway from a Windows computer within the network it fails to connect, but if I connecto the VPN ip address it ...
0
votes
1answer
42 views

Php shell_exec() : for non root user, how to access root command

I have a tricky step to walk for my system (openvpn, 20 clients - raspberries, 1 server CentOS). I want to make an auto install, from clients, for their keys. They call a php page on the server, ...
0
votes
1answer
24 views

How can I restart a VPN whenever I connect via wireless or 3G/4G?

I need to restart my VPN whenver I connect to the internet via wireless via a HotSpot or through a 3G Modem. How can I restart a VPN whenever I connect via wireless or 3G/4G? My distro is Ubuntu ...
0
votes
0answers
55 views

(noob) script works from root ssh <-> php shell_exec() does not

A nooby2death question: In a vpn project, I generate keys automatically for clients. I do this with a script file containing : pkitool clientNameForKey This line : - does work if I execute the ...
0
votes
1answer
29 views

OpenVPN client config :: why is needed ca.crt?

I configured a VPN (OpenVPN, mode: multiclients-1server), CentOS Server, multiple Rasp's clients. CA.crt is needed by each client, in addition of the client.crt & client.key . I wonder... why ? ...
1
vote
0answers
15 views

Issues with getting a tun0 connection to route any and all connections from eth0 to be made to this interface and if not working drop

So I've been having this issue for a while and the internet has been mixed for a response. Sadly most configurations for setting up a VPN seem to assume you are running both a vpn client and server ...
1
vote
2answers
29 views

OpenVPN : protect your clients key/cert/conf from being stolen?

I have configured an OpenVPN install. Mode: multiclients 1server. Clients are raspberries. I note how easy it is to steal a rasp, and look in HDD to get key+cert+conf. Copy it on your laptop, and ...
0
votes
3answers
73 views

Get MAC of a client request?

I have a network with 20 raspberries (clients) and 1 server. I'd like to check MAC of client request, is that possible ? Further, possible without being known (nor visible) by the client ? NB : I ...
1
vote
1answer
37 views

Connect to Samba Share across OpenVPN tunnel

I've recently setup OpenVPN for remote connection to our CentOS 6 file server. Server Static IP: 10.0.0.66 Remote OpenVPN IP: 10.8.0.1 However when using the OpenVPN connection I am unable to ...
0
votes
1answer
59 views

How to start 2FA-using OpenVPN with systemd?

I have openvpn config that users 2 factor authentication. If I start it manually, by running: /usr/sbin/openvpn --writepid /run/whatever --cd /etc/openvpn/ --config /etc/openvpn/work.conf it asks ...
3
votes
0answers
46 views

Make systemd reload only single openvpn process and not the whole group

I'm running several openvpn instances on my server with debian stable; as well some clients as a server instance. Right now, when one of these instances fails, systemd seems to kill and restart the ...
2
votes
0answers
17 views

Make OpenVPN accessible from outside the network

I'm trying to get openvpn working on my centos machine but I'm having some issues and I don't really know much about openvpn. I've managed to get it working and I can connect to it with another ...
3
votes
1answer
43 views

forward vpn traffic to another vpn server

I have set up 2 VPN servers in 2 different locations (A running strongswan as server and openvpn as client; B running openvpn as server), And A and B is linked via openvpn. What I want to do is to ...
2
votes
0answers
121 views

Linux Mint 17.1 Rebecca - “import from file” when setting up VPN [closed]

I'm attempting to setup a VPN in Linux Mint 17.1 using the network manager. When I click the + button to add a new connection type, and select VPN, it only lists the option to import files? I'm lost, ...
2
votes
0answers
32 views

Make OpenVPN restart upon new network connection on systemd

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, or if the computer is booted without a network ...
0
votes
0answers
18 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
27 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
23 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 ...
2
votes
3answers
50 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 ...
1
vote
0answers
68 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
63 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
46 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
63 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
67 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
43 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
75 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
67 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
172 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
65 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
54 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
70 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
26 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
174 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
92 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
80 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. ...
2
votes
0answers
99 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
40 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
50 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
44 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?