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.

-1
votes
1answer
17 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
74 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 ...
1
vote
3answers
409 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
32 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
40 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
554 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
43 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
644 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
569 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
120 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
95 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
57 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
21 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
132 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
269 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
87 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
414 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
485 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: ...
4
votes
2answers
1k 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
495 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
21 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
180 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 ...
1
vote
1answer
392 views

systemd unit for openvpn: how to use config files that end with .ovpn?

By default, the systemd openvpn client unit file assumes all config files end with .conf. Many of my config files end with .ovpn. Changing file name extensions is undesirable in my environment. The ...
1
vote
0answers
42 views

No internet or LAN on VPN [closed]

I have a home VPN running on a Raspberry Pi 3, it works fine when used with Windows OpenVPN client. On Linux Mint 19 Tara it fails to work. Connection is fine but pinging fails on everything, my local ...
0
votes
1answer
153 views

OpenVPN client: “systmctl stop” timeout, leftover processes

I set up an openvpn client on Ubuntu 18.04 by creating a work.conf file under /etc/openvpn/ I start it with: sudo systemctl start openvpn@work.service When I stop it, sudo systemctl stop openvpn@...
0
votes
2answers
125 views

How to make routing changes permanent

I have the below routing rules to apply once tun0 comes up (which is a openvpn tunnel). These rules help push some clients on my network outside the VPN and direct to the internet. What is the best ...
1
vote
1answer
1k views

Access LAN computers via VPN connection

I am wanting to put a VPN server on one of machines on my LAN and expose this VPN service to the internet. Once a client (laptop) is connected to my VPN service from outside my LAN I want to be able ...
0
votes
1answer
179 views

Network interface routing when using VPN

I want to connect to a VPN but not send all traffic through it. Here is how my network is setup with the VPN redirecting all traffic. This is the default with the vpn config not changed. $ ip rule ...
1
vote
1answer
269 views

OpenVPN or IPtables for split tunnel control?

I have been plugging away but not luck, but from what I understand what I am trying to split tunnel. I have a VPN in place (and working) where all traffic from my LAN heads out to the internet via ...
2
votes
1answer
47 views

How to link a tunX interface to a specific OpenVPN instance?

I known that I can give a specific name to the TUN interface using --dev option, but I didn't and I have now on a router machine something like a hundred client configs. with less clients I was able ...
-3
votes
1answer
32 views

How can I automate inputting text into a prompt?

I was trying to automate the launch of OpenVPN, by placing this code into a .sh file and then launching it. openvpn --config vpnbook-us1-tcp443.ovpn After executing this command, I am brought to a ...
0
votes
1answer
152 views

Unable to generate keys for openvpn using easy-rsa

I've been following a tutorial to set up my Raspberry Pi to run OpenVPN (I'm quite new to the Pi and networking, and this seemed to be a fun intro project). However, I've run into a road block when ...
0
votes
1answer
2k views

OpenVPN: 'Private key password verification failed' with verified config

I installed OpenVPN with: $ sudo apt-get install openvpn I then run the client with the config file I received from my company. $ sudo openvpn --config myconfig.ovpn The config has been verified ...
1
vote
1answer
564 views

Difference between openvpn-client@.service and openvpn@.service?

I want to run my openvpn as systemd service. This tutorial tells me to use openvpn@.service template for that: https://fedoraproject.org/wiki/Openvpn#Setting_up_a_Linux_OpenVPN_client ln -s /lib/...
0
votes
1answer
313 views

How does an OpenVPN tune in all the traffic going into tun0?

First of all, I understand that the kernel routing table makes all the outbound traffic forwarded to tun0. However, they're NOT going to the IP address that the local tun0 interface has (e.g., 10.13....
0
votes
0answers
53 views

Trouble with OpenVPN tunnel

Just reloaded my OS (Linux Mint 19) and I am attempting to get my VPN connection running. I am using the same .ovpn configuration file I used with my previous OS (which worked fine) but now I can't ...
0
votes
0answers
40 views

How can I set up openVPN on Ubuntu 16.04 and which app do I need to connect to it on Android?

I tried this but I was unable to start NetworkManager after setting up the new interface. How can I set up openVPN on a GUI-less Ubuntu 16.04 and which app do I need to connect to it on Android?
0
votes
1answer
1k views

route traffic on certain port through certain interface?

I am currently running a system in which I need to be able to send and recieve HTTP and HTTPS traffic directly, however all other traffic must go via a VPN. My setup is : x2 interfaces : eth0 (...
1
vote
0answers
263 views

How can I whitelist (blacklist?) destinations on a global OpenVPN connection?

I have imported a vendor-provided OVPN file into Network Manager. It acts globally, routing all requests through the VPN connection. This can be a problem with: geoblocked websites that also block ...
0
votes
0answers
106 views

openvpn on chrome os / crouton

I am writing as I am trying to connect to OpenVpn with xubuntu installed with crouton on a chromebook (asus c302) Before running Ubuntu I did: crosh> shell chronos@localhost / $ cd chronos@...
0
votes
0answers
28 views

span OpenVPN network (from one VPC) to another VPC

Here is the scenario: VPC1 has OpenVPN: OpenVPN is connected to home network. EC2 instances in VPC2 need to connect to home network via OpenVPN in VPC1. EC2 instances in VPC3 need to connect to home ...
1
vote
2answers
317 views

OpenVPN riddling syslog with errors, but otherwise seems to work flawlessly

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and systemctl status openvpn gives me green. However, my syslog is being riddled with errors which ...
0
votes
2answers
547 views

OpenVPN - How to debug DNS leaks

I'm using minimal Antergos linux with i3wm, with all packages being up to date and the laptop rebooted. Using Firefox as a browser, I'm experiencing DNS leaks when visiting websites such as ipleaks....
0
votes
1answer
237 views

Network Manager killing vpn connection

I will start by providing some info: System: Host: arthur-desktop Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint ...
3
votes
2answers
2k views

Port forwarding using OpenVPN client

I ran into the same problem described Port forwarding using VPN client, but unsuccessfully. I have a OpenVPN access server version 2.5 and a client configured with a site-to-site routing. Both client ...
2
votes
0answers
339 views

iptables network address translation from lan to vpn [closed]

June 13, 2018: I found a solution and have edited this post in case it is useful to someone. First, the original post: I have a portal where I want to do network address translation from its public ...
0
votes
3answers
360 views

OpenVPN start script does not execute a command

Background: I'm configuring Transmission (v2.93) and OpenVPN (v2.4.6) in a jail (a FreeNAS 11.1 plugin jail) and want to add an --up script to OpenVPN which will request Transmission to change its ...
1
vote
1answer
652 views

How to route specific VPN traffic via specific VPN client?

I have VPN network based on OpenVPN software. I need route all network traffic in VPN network where destination IP is from specific country via one specific client on this VPN network (VPN client IP ...
4
votes
1answer
969 views

systemd-ask-password prompt not displayed for vpn

I have a working OpenVPN client config that uses a passphrase-protected private key. If I run openvpn directly, I'm prompted for the passphrase and the client starts successfully. But if I start it ...