Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openvpn]

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

0
votes
0answers
3 views

(OPENVPN/OPENSSL) Configuration file routines:STR_COPY:variable has no value:conf_def

Good morning, everyone I can't run "openssl req" to create a new key, the output presents an error error on line 39 of /etc/openvpn/openvpn-ssl.cnf 140264035997600:error:0E065068:configuration file ...
-6
votes
0answers
75 views

Is VPN a layer 3 or 5 concept? [on hold]

From Tanenbaum's Computer Network This demand soon led to the invention of VPNs (Virtual Private Networks), which are overlay networks on top of public networks but with most of the properties of ...
0
votes
0answers
44 views

Cannot ping local Ubuntu server behind VPN, but SSH locally works fine? [closed]

I have a Ubuntu server currently behind an ipvanish VPN, using Openvpn. The Ubuntu server itself needs to run behind a VPN (masking the IP to a different location). For some reason I cannot ping the ...
0
votes
1answer
20 views

How to check if Adblocker has blocked a site using terminal (Client side)

I am connecting to a VPN server with piehole adblocker using a Ubuntu machine and on Vpn Server, I have blocked some particular sites. When I try to access it with a browser, I am unable to open those ...
0
votes
0answers
28 views

Can't connect to openvpn using networkmanager on Debian

I'm having a problem with connecting to my OpenVPN server on Debian 9. Whenever I try to connect via NetworkManager it just does not work and loops until it times out. I think it's a problem with my ...
0
votes
1answer
29 views

OpenVPN no internet access when starting with config file

I have a problem with connection with OpenVPN. I am connected to my WiFi, but no internet access, almost. I get response when ping 8.8.8.8 but not with domains like google.com etc. I followed the ...
0
votes
0answers
18 views

Port forwarding over OpenVpn

I wanted to host few gameservers on my home network to play with my buddies, the thing is having a public ip is like begging to get DDoS'ed, so what ive done is i have set up a OpenVPN server on a ...
1
vote
0answers
61 views

Openvpn and openconnect are not working on Manjaro

I'm using Manjaro. I recently Installed OpenVPN and openconnect and both of them are installed with the latest version. When I try to use one ( Usually openconnect ) I use this command: sudo ...
0
votes
0answers
33 views

OpenVPN client binding to network interface

I am trying to bind an openvpn client's connection to an Ethernet port(eth1) in order to route an entire network through it. I have already configured the OpenVPN server and tested it on a Windows ...
0
votes
1answer
59 views

TUN Module Loaded but OpenVPN /dev/net/tun no such file or directory

lsmod -> tun 16587 0 - Live 0xbf0e1000 Openvpn error: Cannot open TUN/TAP dev /dev/net/tun no such file or directory I tried creating a dummy directory but the error changes to Cannot open TUN/TAP ...
0
votes
0answers
40 views

ssh not working on OpenVPN configured client and servier

I have an embedded board (NXP iMX6 sabrelite) that is attached to an LTE stick and runs an openvpn service which configures an interface (tap0) with a local IP address. The same is done for an Ubuntu ...
1
vote
0answers
22 views

Have to restart openVPN service every time I change wifi networks or wake laptop from sleep

I am running GalliumOS natively on a Chromebook and loving it, but for one issue. Consistently, when I wake the laptop from sleep, or change WiFi networks, I lose the Internet connection. The route ...
0
votes
1answer
63 views

OpenVPN config and Network Manager - Key file contains line 'ca ca.crt'

I'm trying to import my OpenVPN configuration to Network Manager via GUI. I am aware that it does not process configurations with inline certificates, so I separated them via script, and CA ...
0
votes
0answers
14 views

Unable to access VPM from the outside to a server that works from inside

I have a VPN in a raspberry pi mounted with "pivpn" which works fabulously from any device. The problem is that I have a web server which works locally and I have no problem if I access without the ...
0
votes
1answer
17 views

OpenVPN does not work with Gateway, but does with bridge

i want use openvpn on Linux Mint. When i tries the VPN connection (i am client) i writes these commands : sudo openvpn --config file.tcp.ovpn then my authorization Enter Auth Username: user_xy ...
0
votes
0answers
36 views

Forwarding ports from OpenVPN server on VPS to OpenVPN client

I have running OpenVPN on my VPS which have static ip address. OpenVPN works as expected but I am not able to forward ports to OpenVPN client. I have tried few iptables rules but no luck. These are ...
0
votes
0answers
14 views

Forwarding port from VPS to local with OpenVPN

My ISP has me double-NAT'ed me so I can't open any ports. I want to forward all connections via port 9292 through VPS's IP to OpenVPN so I can listen port 9292 from my local network when I connected ...
0
votes
0answers
32 views

Samba shared folder over openvpn very slow - Linux OS

Recently I've installed Ubuntu 18.04 and I've noticed that sharing a samba folder from a Linux server over a openvpn tunnel is very very slow. Tried to avoid using DNS, but still have no results. ...
1
vote
0answers
44 views

OpenVPN bridge gateway stops all traffic

I am not sure if this is a linux or windows issue. I have openvpn set up with a bridge interface that includes tap0 and eth0. I have my client machine (win10) getting its IP through my dhcp server. ...
1
vote
0answers
53 views

Issue using openvpn on Debian [closed]

I am using openvpn. I can connect to the server as a client without hiccups but I can't use the internet. Here's how the config file looks like on the server: **The server is a Raspberry Pi in my ...
0
votes
0answers
19 views

Unprivileged OpenVPN launching

I used the articles at: https://community.openvpn.net/openvpn/wiki/HOWTO#UnprivilegedmodeLinuxonly https://community.openvpn.net/openvpn/wiki/UnprivilegedUser I have some problems when trying to ...
0
votes
0answers
70 views

OpenVPN Server inside VM + VM VPN

How to setup OpenVPN Server inside VirtualboxVM running Debian on Debian Host? At Guest System OpenVPN is running to tunnel all internet Traffic to another VPN-Server. Now I want to setup an OpenVPN ...
0
votes
1answer
45 views

Openvpn's client-connect script is not called

I want OpenVPN to run a script when a client connects, but it seems to ignore my client-connect directive. I am running OpenVPN 2.4.0 on Raspbian. In my server.conf, I have ... script-security 3 # ...
1
vote
0answers
37 views

Unable to add default route via VPN (openvpn)

Initially my routing table looks like this Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG ...
1
vote
1answer
81 views

Client based routing on a gateway

I have a network gateway (Debian) with two interfaces: eth0 and tun0. In general all traffic from all clients is routed through tun0. I would like to change that in the following way: client a‘s ...
0
votes
0answers
12 views

OpenVPN bridging a bridged adapter

I'm running OpenVPN on a virtual server. The virtual server has a bridged adapted from the single physical host adapter. Can I bridge this bridged adapter so VPN clients can get bridged network access?...
0
votes
1answer
63 views

OpenVPN configuring client to use subnet topology results in “inet prefix is expected rather than 10.66.10.6/-1”

Right now whenever I connect to a (commercial) VPN server a tun interface spins up with an inet address assigned to it as well as a peer one (whatever that means). root@mininet-vm:/etc/openvpn# ip -4 ...
-1
votes
1answer
16 views

How to open some port for only OpenVNP clients?

I have a web service on an external server, and an openvpn server on the same machine. I need to open port 80, but only for openvpn clients. In other words, if I do nmap-p 80 server_ip I expect to ...
0
votes
1answer
61 views

Restrict access to 80 port-access only via OpenVPN

Now I have access from outside to 80 port with ownCloud web interface. But I want to get access to it only via OpenVPN connection. I tried to run: # iptables -I INPUT -i eth0 -p tcp --dport 80 -j ...
0
votes
3answers
182 views

UFW is blocking DNS requests through VPN [closed]

I have a very strange behaviour of my UFW on Ubuntu 18.04. I set up basic rules, everything is OK until I connect client to this server through VPN. On the client side ping works fine but nslookup / ...
2
votes
0answers
25 views

Openvpn in docker-not available connection

I run successfully a docker openvpn container: ~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
1
vote
0answers
22 views

Linux Bonding Driver Mode 0 And Fault Tolerance

I've been testing a bonded network based on Ubuntu Server 16.04 LTS. The far end of the bond is a VM also running Ubuntu Server 16.04 LTS. The two servers are tied together by two OpenVPN tunnels in ...
0
votes
1answer
358 views

Port forwarding openvpn server to client [closed]

I have a OpenVPN server that was deployed on Linode server. My computer's running the software that open port 8089 for client side connect. My computer do not have public ip, so the computer connect ...
1
vote
0answers
36 views

Systemd: start/stop service based on networking connectivity

I've been using a VPN heavily recently and would like openvpn to intuitively connect and disconnect based on whether I'm connected to Wi-Fi (or ethernet). Currently, I have a client.conf in /etc/...
0
votes
1answer
314 views

Options error: Parameter ca_file can only be specified in TLS-mode

Im currently trying to setup an OpenVPN Client on my Raspberry Pi. I keep on getting some error messages related to TLS. The syslog gives me this: Nov 23 08:34:56 raspberrypi ovpn-ersterclient[1370]...
0
votes
2answers
252 views

resolv.conf overwritten every time

I got this drwxrwxr-x 3 root tunnel 100 date and time . drwxr-xr-x 33 root root 860 date and time … -rwxrwxr-x 1 root tunnel 0 date and time enable-updates drwxrwxr-x 2 root tunnel 40 date and time ...
1
vote
0answers
73 views

How to make tun0 appear after openvpn installation without rebooting?

I am installing openvpn on Ubuntu 18.04. The installation and setup goes smoothly. I start the systemd service and it succeeds. But, there is no tun0 interface in ip a. If I reboot, then tun0 is ...
1
vote
1answer
58 views

How do you tell OpenVPN to run on startup?

I've done these exact same steps on two Ubuntu computers and it works just fine. I copied the exact same foo.conf file (along with a corresponding auth.txt file) into /etc/openvpn/ and it works if I ...
1
vote
0answers
45 views

Allow a regular use to write in /proc/sys/net/ipv6/conf

I am using a fairly cheap VPN service in my Xubuntu 18.04 (VPN created using OpenVPN) and, as many other VPN services, is leaking my IPv6. I thought that maybe, since OpenVPN can run a script when it ...
0
votes
0answers
13 views

Show the openvpn client setup incl. the pushed options

I've an openvpn client connected to a server. Within the local config files I can see most of the setup. But some of the setup is pushed from the server How can I output the full setup of the running ...
3
votes
0answers
116 views

Why IPv6 connectivity on OpenVPN network failed after short time?

I use OpenVPN TUN network. IPv4 works fine. But I have added support for IPv6. I have a problem with IPv6 connections. IPv6 works fine only for short time. When I ping tun0 IPv6 address on my VPN ...
0
votes
1answer
206 views

OpenVPN how to add route to AWS Load balancer

I have a load balancer in AWS, I want to restrict access in its security group to be accesible only from my OpenVPN server. Now, I would like to use push "route a.b.c.d 255.255.255.255" in server....
0
votes
1answer
58 views

OPENVPN: Problem for setup a VPN supporting IPv6 on linux

I have a problem for setup my VPN on OrangePi(This is a micro-computer same as Raspberry Pi) My project is to configure a VPN with ipv6 on him. So, i have find a project on github, which proposes to ...
1
vote
1answer
291 views

Porting openVPN config to Alpine Linux

I got an openVPN config file from my vpn provider. It worked great on Ubuntu, but on alpine, I got an error. The following lines fail: up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-...
0
votes
1answer
339 views

How to route Client OpenVPN in LAN on Mac OS X OpenVPN Server

I have configured an OpenVPN Server on my Mac OS X High Sierra. I did that using Easy RSA 3.04 which I had downloaded from github, and Tunnelblick to start and stop the server. My LAN network is: ...
3
votes
2answers
981 views

IP packet with unknown IP version=15 seen

I have a gentoo router with two openvpn instances (v2.4.6, udp and tcp) and every minute I always see this log messages: Sep 12 15:42:50 lowpower2 openvpn[6505]: IP packet with unknown IP version=15 ...
0
votes
1answer
293 views

Remove redundant openvpn config service from Systemd

I used to have a config for openvpn. After upgrading to 18.04 it started behaving differently in relation to systemd, my syslog gets continuously spammed with connection attempts: ovpn-login[5191]: ...
0
votes
2answers
18 views

Configure VPS so only authenticated VPN users can access web server

I am setting up an intentionally vulnerable website to show some security stuff, but I don't want unauthorized people exploiting it. How would I be able to configure my VPS so that only people ...
1
vote
0answers
142 views

How to route traffic from ethernet to a tun device (create a VPNed ethernet port)

I have a Network Video Recorder which is connected to a raspberry pi directly through ethernet, and the raspberry pi is connected to internet through wlan0. I want to route all the traffic from the ...
0
votes
0answers
8 views

need openvpn client configuration suitable for troubleshooting

I'm running an openvpn client and connecting to a commercial VPN provider (PIA). Every so often, that connection stops working. I can resolve the problem by manually restarting my client. However, I ...