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

learn more… | top users | synonyms

0
votes
0answers
19 views

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

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
20 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 ...
6
votes
6answers
9k 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 ...
1
vote
0answers
38 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 ...
2
votes
1answer
4k views

Iptables forward with pptp and openvpn

I have OpenVPN and PPTP installed on a VPS. I'm having a few questions that I can't seem to get a firm answer on. I want to install OpenVPN on 1.1.1.1 (eth0, public IP address) and PPTP on 1.1.1.2 ...
1
vote
1answer
643 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 ...
2
votes
1answer
644 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
760 views

“E: Sub-process /usr/bin/dpkg returned an error code (1)” when I try and install OpenVPN. What is this?

Whenever I try and install OpenVPN on My Debian x86 Minimal VPS I get that error. Here is the full code if that helps: root@fadvps:/# sudo apt-get install openvpn Reading package lists... Done ...
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
30 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
54 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
30 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
2answers
1k 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
0answers
26 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
699 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
1answer
1k 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 ...
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 ...
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
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 ...
7
votes
2answers
16k views

Port forward to VPN Client?

I've run into a bit of a puzzle and haven't had much luck finding a solution. Right now I am (sadly) connected to the net via Verizon 3G. They filter all incoming traffic so it is impossible for me to ...
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
1answer
394 views

Frequent disconnections in OpenVPN

I'm suffering random disconnections with OpenVPN. I don't know much about the subject, maybe you can point me in the right direction? Here is the tail for /var/log/messages, it contains a <warn> ...
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
42 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
55 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
78 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
60 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
56 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 ...
-1
votes
2answers
338 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
35 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
559 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 ...
5
votes
1answer
716 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 ...
0
votes
0answers
33 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
38 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
209 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
2k 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, ...
2
votes
0answers
115 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
1answer
4k views

How to ignore “certificate is not yet valid” errors

I have systems that sometimes lose time drastically due to low RTC battery voltage such that the system time lies outside these boundaries (/etc/openvpn/certificate): Not Before: Jun 18 16:40:18 2012 ...
0
votes
0answers
122 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
1answer
101 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
0answers
71 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
36 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
112 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
61 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 ? ...
2
votes
3answers
62 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
2answers
104 views

Shall I copy server's ca.crt to the client?

I'm setting up an OpenVPN server and I need a little info: do I need to copy the server's ca.crt to the client? I have tried both ways and only when I do that I can get it working; I would like to ...