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
8 views

Using openvpn and openconnect, how not to forward one through the other?

I am using an openvpn connection as the default gateway and sometimes I use another openconnect vpn to access a computer cluster (it's not accessible from the internet). When I do so, it seems ...
1
vote
1answer
11 views

Writing logs for openvpn in Ubuntu18

I've installed openvpn on Ubuntu18, and it works. I'd like to have a log containing only the times when users connect and disconnect. Found a hint how to do it at [https://github.com/furlongm/openvpn-...
0
votes
0answers
11 views

How to import multiple OpenVPN files to network manager?

I just subscribed for ProtonVPN, and they provided me with a bunch of ovpn servers list. I downloaded all servers ovpn confg files and now I have like 100 of them in a folder in my system. I ...
0
votes
0answers
5 views

Can't receive email through OpenVpn server [on hold]

System: CentOS7 + OpenVPN (with web admin panel) The problem, after connect, we can navigate on internet but we can't receive any email throught Outlook email client, for example GMAIL ask for a ...
0
votes
0answers
26 views

routing vpn connection via gateway1 but vpn traffic via gateway2

Situation: network via dhcp internet gateway 192.168.x.1 dhcp server 192.168.x.10 dhcp gateway 192.168.x.2 => this gateway has a permanent vpn tunnel via openvpn to vpn provider, so I want to ...
1
vote
1answer
37 views

alias to turn on/off openvpn

I do have a list of *.ovpn configuration inside the directory of /etc/openvpn/ovpn_tcp/ inside that directory i do have a bash script called go include the following code which will pickup random ...
-1
votes
0answers
12 views

PIVPN with one 4G connection (wlan0) and one landline (eth0)

In my current project I am trying to make a "out of bounds" Raspberry PI(Raspbian Strech) for remote troubleshooting of network equipment. To connect to the remote location in case of an outage of ...
0
votes
0answers
22 views

PiVPN and Stunnel

I've been searching online for a tutorial on configuring stunnel with PiVPN but haven't found anything. Wondering if anyone has had any experience?
0
votes
2answers
29 views

OpenVPN configuration

I have a LAN at home. It is behind a NAT and externally uses dynamic IP addresses. Inside my home LAN, I use 192.168.1.x IP addresses. Further, I have a VPS, which has a IP 185.x.x.x address. What I ...
-1
votes
0answers
7 views

obfs4proxy and OpenVPN

I am following instructions on installing obfs4proxy with openvpn here: https://mosin.ca/index.php/2018/09/05/setting-up-openvpn-with-obfs4proxy/ The startup script includes: ExecStart=/usr/bin/...
0
votes
1answer
25 views

Evaluate command based on variable at bash [closed]

I am writing a small script that would choose random file for me from the directory and execute command with this chosen filename as a parameter. It is about choosing random .ovpn file and run sudo ...
0
votes
0answers
34 views

Wireguard server with active OpenVPN client

I need to run a Wireguard server on a machine with an active OpenVPN client. Clients connected to the Wireguard server would be NATed to the OpenVPN client at 'tun0' and access the internet through ...
0
votes
1answer
48 views

How to use nmcli to always connect to vpn when using certain wifi?

So using nm-applet its quite easy to save vpn connection and username+password of the connection and then automatically connect to it when using certain wi-fi connection. So it will always ...
-2
votes
1answer
39 views

OpenVPN doesn't seem to run: active (exited), code=exited, status=0/SUCCESS

I'm trying to run OpenVPN on Ubuntu remote server. I've been following this tutorial. As of now, I'm right before Step 3, trying to get "VPN 'server' is running" message. However, when I run service ...
0
votes
0answers
12 views

Local hostnames not resolved after a VPN connection is established

The context: I have a raspberry pi headless torrent box. It downloads torrents to a local SMB share which is mounted with autofs. As I download torrents I also use a VPN. It is set up with OpenVPN ...
0
votes
0answers
47 views

Ping a network hosted in a server from hosts in different subnet

Setup and Environment Host A is Ubuntu VM (GNS3). All other Servers are RedHat. Network Path [Host A(x.x.y.b) --via-- Host B (x.x.y.a)] ----|---- [Host C (x.x.z.c) & Host D (x.x.z.d)] Host A ...
5
votes
3answers
161 views

How to restrict (open)VPN client connection to single system user?

I have a multi-user setup (Ubuntu) (simultaneously logged in users on different TTYs). When I connect to NordVPN from one account using nordvpn connect, all users are now connected to the internet ...
4
votes
2answers
211 views

How to set up OpenVPN and Transmission to start at boot on CentOS 6?

I'm trying to set up Transmission with OpenVPN on a headless server running a minimal install of CentOS 6.10, and ideally these would start when I boot the system. I'm able to get everything to run ...
0
votes
0answers
21 views

TCP performance for OpenVPN vs delay

I have got some issue in TCP performance depended on delay. My lab schema: CPE --- (p1) Router (p2) --- Server The CPE connects to the Server by OpenVPN using TCP. I know about TCP-over-TCP but ...
0
votes
0answers
10 views

How to access to pc connected through router VPN from outside

In my house I've got this kind of setup: A main router (gateway 192.168.1.1) which is connected through SIM 4g to Internet (Router is TP-Link mr6400) A secondary router (gateway 192.168.8.1) which is ...
1
vote
0answers
36 views

Create own ovpn file from using certificate and key

I installed OpenVPN on a RPi server. For sample certificates I used the command pivpn -a, as suggested by OpenVPN. But now I want to create my own certificates because I need to insert on them an ...
1
vote
0answers
30 views

Fedora 29 VirtualBox will not use DNS from host VPN

I am running a Windows 10 machine for work (required) and so use VirtualBox to get a Fedora 29 machine so I can run code locally before pushing to production. Our github is behind a VPN and we use ...
1
vote
0answers
67 views

Run a simple ExecStartPost in a forking systemd service

I have a systemd service that sets up my openvpn tunnel. I also have a bash script that forwards a port for said tunnel. I want to have the script run after openvpn starts and I have been able to do ...
0
votes
0answers
46 views

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

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 routines:STR_COPY:...
0
votes
1answer
24 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
42 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
42 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
36 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
266 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
53 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
228 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
123 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
41 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
226 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
20 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
51 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
22 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
54 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
51 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
63 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
27 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
105 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
113 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
71 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
83 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
13 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
111 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
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
70 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 ...