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

learn more… | top users | synonyms

1
vote
0answers
33 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
42 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 ...
0
votes
1answer
24 views

How to make OpenVPN to autoreconnect to gateway at any time

I've recently discovered a built-in way to have OpenVPN to auto connect to VPN gateway on startup, which is via setting profiles .conf files in /etc/default/openvpn as a part of AUTOSTART parameter. ...
0
votes
1answer
49 views

How to get systemd running correctly?

I'm currently trying to set up a OpenVPN on a Debian GNU/Linux 7 (wheezy) server, via SSH. I haven't really used Linux before, so I'm completely new to the terminal etc. However, in a guide that I ...
1
vote
0answers
29 views

Password entry only responds to Ctrl + D, and password cannot be read

I am trying to run build-key-pkcs12 user on my OpenWRT NSLU2, to generate some client keys for the users of my VPN. Everything runs normally until I get to the enter export password part, and the SSH ...
0
votes
0answers
23 views

openvpn: iptables not forwarding

I have the following topology: And I'm following the iptables rules listed on https://community.openvpn.net/openvpn/wiki/BridgingAndRouting Here's the output of iptables -L -v Chain INPUT (policy ...
1
vote
1answer
30 views

Make user made entries in /etc/hosts permanent

I use Juniper Networks network connect to connect to the office network. Once i am inside the office network, i check the server ips and add entries for them in /etc/hosts file like, 10.199.xx.yy ...
0
votes
0answers
27 views

External port forwarding stop working when VPN is activated

I've a problem with my local Debian server. I use a port forward to allow access from outside my lan to my server. It's works very well but when I activate my VPN (OpenVPN) on my server, the port ...
1
vote
1answer
17 views

Rotate remote server in openvpn config

In my config, I have chosen a remote server for hide.io: # cat /etc/openvpn/anonvpn.conf |grep remote remote nl.hide.me 3478 It seems like some servers are somehow overloaded. I have a script that ...
0
votes
0answers
30 views

openvpn connection tracking

We have an openVPN-server based on Debian. Client connects to server and get local IP-address, for example 10.20.0.4. Is it possible to get information, what web-sites does it use? We consider to ...
0
votes
0answers
38 views

Unable to surf internet with VPN on OpenBSD

I am using OpenBSD 5.7-amd64 with the latest patches applied. I downloaded and installed OpenVPN (package version: openvpn-2.3.6.tgz) available for OpenBSD 5.7 using the following command: sudo ...
1
vote
2answers
76 views

Iptables exception for specific port

I'm new to iptables but configured a simple natting today on my raspian: # Always accept loopback traffic /sbin/iptables -A INPUT -i lo -j ACCEPT # Allow established connections, and those not ...
0
votes
0answers
52 views

OpenVPN traffic re-routing fails

I have installed a small OpenVPN server on a ArchLinux server I own to get a little more security on my laptop (also ArchLinux) connected to a unsecure Wi-Fi connection. Until recently, the VPN worked ...
0
votes
1answer
74 views

/bin/sh script error “arithmetic expression: expecting primary: ” + “ ”

ERROR: ./client-disconnect.sh: 22: ./client-disconnect.sh: arithmetic expression: expecting primary: " + " I just need to know how to fix it. It's for user accounting with OpenVPN. Script ...
1
vote
1answer
55 views

Run openvpn without root privilegies

I am working with openvpn, when I type: $ sudo openvpn Every is fine, but when I type: $ openvpn bash: openvpn: command not found I try in my Debian 8 with this instructions but in Jessie I can ...
0
votes
1answer
53 views

How to check server.conf error for OpenVPN

I want to install OpenVPN server in my VPS. After configuration I run sudo service openvpn start, but failed to start. Is there a some kind of "grammar check" option for server.conf? I put the ...
0
votes
0answers
34 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
38 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
521 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
327 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
31 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
36 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
112 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
119 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 ...
1
vote
0answers
78 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
26 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
68 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
97 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
34 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
107 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
59 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
31 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
37 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
151 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
75 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
253 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
94 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
22 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
72 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
206 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
1answer
43 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
24 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
46 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
44 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
61 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
135 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
108 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
123 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
315 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
195 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 ...