Skip to main content

All Questions

Tagged with
0 votes
0 answers
66 views

How should I configure OpenVPN from gateway server to private server?

Seeking a bit of guidance on how I should set up my OpenVPN tunnel from client -> gateway server -> home server. Right now I'm running an Ubuntu 20.04 server on my home network. In order to ...
backward forward's user avatar
0 votes
0 answers
64 views

Azure Virtual Network Gateway - OpenVPN Private DNS resolution

I have a Virtual Network Gateway set up using OpenVPN with certificate-based authentication. I am able to connect to the OpenVPN server on my Ubuntu 22.04 machine, and while connected I am able to ...
Attila Szeremi's user avatar
0 votes
1 answer
512 views

OpenVPN disconnect without killing process

I am using OpenVPN on ubuntu like this sudo openvpn --config vpnconfig.ovpn --daemon I am wondering is there a way to stop/disconnet OpenVPN connection I started without killing OpenVPN process?
Node.JS's user avatar
  • 113
0 votes
0 answers
120 views

Port forwarding from VM via OpenVPN

I'm sorry if this problem has already been explained in another thread, but I couldn't find a solution to my problem anywhere. I have a question about the attached network diagram. Can I permanently ...
Vodek's user avatar
  • 1
0 votes
0 answers
127 views

Manage Wireguard VPN Clients

I have a VPN app which uses OpenVPN/WireGuard protocol. I have managed OpenVPN in a way that I use same config for all clients and my users connect very easily. But for WireGuard this is not working, ...
Bilal Yahya's user avatar
0 votes
0 answers
77 views

Ubuntu Vpn client connected network share through single Ethernet

Please assist how to setup open vpn client connected ubuntu pc to share other network devices through ethernet by separating ethernet port through vlan.
Master's user avatar
  • 41
0 votes
0 answers
42 views

I can reach OpenVPN server from inside LAN but not from outside anymore

I configured openvpn server and everything work well, but now i cant connect to openvpn server from outside network with same conf.ovpn Port forwarding and firewall is checked I got this error in ...
md.119's user avatar
  • 1
0 votes
0 answers
194 views

Routing traffic comming to OpenVPN Access Server to the VPN not working

I tried to google almost everything, but I am lost now. I spent about two days of trying to set this up. Can anybody help me? The Problem: I must have the main home router from my ISP. But they are ...
TheMiki525's user avatar
0 votes
1 answer
65 views

Ubuntu 12.04, VirtualBox, and host side VPN

I am trying to get an old version of Ubuntu (12.04) to connect to a VPN, as a guest in VirtualBox. I have to use that old version of Ubuntu to build some software, and want to avoid upgrading as it's ...
user3241's user avatar
  • 385
0 votes
0 answers
682 views

How to set speed limit per IP in IP range in Ubuntu

What I want: I've setup a openvpn-server and want the clients in range of 10.8.0.0/21 limit their speed to 10mbit for each IP as a total limit of 100mbit. wan interface : eth0 openvpn interface : ...
Root's user avatar
  • 65
0 votes
1 answer
4k views

Password entry required for prompts keep appearing in terminal after installing openvpn

I have installed openvpn client in my ubuntu 20.04 machine. I have to connect to an openvpn server with CA password. It keeps on propmpting me for the CA password even if I am not connected to the vpn....
anoncgain's user avatar
  • 101
0 votes
0 answers
542 views

PiHole and OpenVPN not working: tun0 doesn't even exist

I installed OpenVPN and PiHole. It works independently, but not together. I want to block stuff that comes through OpenVPN. I tried the official guide. But in my case (Ubuntu server for Pi), there is ...
User123456789's user avatar
0 votes
0 answers
3k views

Upgrading OpenVPN 2.4.7 to 2.5.6 results in frequent disconnects

When using OpenVPN 2.4.7 on my server (Ubuntu Server 20.04) and connecting from a 2.5.6 client (also Ubuntu 20.04), I can connect with no issue. However, when I try to use OpenVPN 2.5.6 on the server, ...
Letal1s's user avatar
  • 11
-1 votes
1 answer
1k views

ubuntu server temporarily stop all network traffic

I have an ubuntu machine connected to a openvpn server with inbound and outbound connections. In terminal, what is the best/cleanest/safest/least disruptive way to quickly stop/block all network ...
TBAR's user avatar
  • 119
1 vote
1 answer
6k views

Can’t find OpenVPN config file in Ubuntu 19.10

I have a problem locating OpenVPN config files on both Ubuntu 20.04 and 19.10. It is not in any usual locations I searched through entire disk via this but command but not hits: find / -name I was ...
Jan Janáček's user avatar
1 vote
1 answer
33 views

VPN stops a webapp from being accessible

I am running a WebApp on port 8080. The server running this app also needs to have an outbound VPN connected at all times. I am using OpenVPN on Ubuntu 20. Once the VPN is connected I can no longer ...
roog's user avatar
  • 11
0 votes
1 answer
104 views

Command at ExecStart in Ubuntu service fails, but works when maually executed

I a'm trying to execute the following /usr/local/sbin/namespaced-openvpn --config /home/sb/vpn/static2.ovpn --writepid /var/run/openvpn-protected-foo-sb.pid --log /var/log/openvpn-protected-foo-sb.log ...
MichaelJorgensenDK's user avatar
0 votes
1 answer
234 views

Openvpn dosn't work under Aws EC2 | connects but no sending or receiving any real data

So I had this problem a while ago on AWS EC2 - I'm still learning about networking and VPS's - and sysadmin in general My setup process: AWS Dashboard > EC2 ( Ohio )> AMI > Selecting Openvpn ...
winpriv's user avatar
  • 25
0 votes
1 answer
2k views

UDP remote port forwarding the most efficient way?

I have OpenVPN Server on a Raspberry Pi connected to my home broadband but it's behind a carrier-grade NAT. What's the best way of remote UDP port forwarding to get UDP working on OpenVPN when the ...
Aenfa's user avatar
  • 559
0 votes
1 answer
204 views

Routing traffic through VPN

I'm trying to route traffic through a VPN. I want to run OPENVPN on both my home server and my VPS. I want to redirect any traffic sent to one of the IP's on my VPS directly to my home server. I also ...
DaAdmin217's user avatar
0 votes
0 answers
167 views

How to connect to internet through Ubuntu VM

I don't know if this is simple or possible (if this is solved by openvpn or something). I have an Ubuntu VM, that is connected to a proxy, so I can access some webpages that I cannot outside the VM. ...
Tiberio's user avatar
1 vote
1 answer
174 views

VPN sever not reachable through local gateway after connecting to PIA VPN service

I have the following situation: UDM pro 192.168.20.1 default LAN gateway port 6000 forwarded to the server running Docker OpenVPN server. Ubuntu 20.04 LTS 192.168.20.2 Server running Docker VPN server ...
user1277918's user avatar
0 votes
0 answers
4k views

Open VPN on Linux: ERROR: Linux route add command failed: external program exited with error status: 2. How do I fix this?

Okay, so I'm running an open vpn client trying to connect to a server that's used by my school, and I'm having to fix errors in the config file to get the vpn to run on my ubuntu machine. Error log: ...
linux.poet's user avatar
2 votes
1 answer
2k views

Why does “medium.com” resolve to localhost IP address of 127.0.0.1?

This is a part of my previous question posted here on Ask Ubuntu. A few days ago, I got blocked from certain sites. At first I thought it was the Government blocked me from using it. So I faked an IP ...
ngdangtu's user avatar
0 votes
1 answer
2k views

How to use ZenMate VPN on linux with OpenVPN

Following the guide for connecting to a ZenMate VPN server through OpenVPN on Ubuntu did not work on the Ubuntu variant Lubuntu; saying "connection lost" after attempting to connect. The ...
ZenPro's user avatar
  • 1
0 votes
1 answer
753 views

Setting up a VPN server for LAN access over the internet using OpenVPN in linux

I want to set up a LAN over the internet VPN server to be able to access my computer, play games with my friends, etc... I have little knowledge about networking. But I have came across a guide for ...
D3F4U1T's user avatar
0 votes
0 answers
60 views

OpenVPN server to access all server via IP Private from local

I have 22 servers, where all servers have IP Private 192.168.0.0/24. I installed OpenVPN on ubuntu server, I want to access all server via IP Private 192.168.0.0/24 from my local laptop. On the ...
Junos's user avatar
  • 1
0 votes
1 answer
1k views

How can I get DNS and VPN to play nicely together?

When I'm at work and connect my laptop with a cable I'm immediately inside our internal network. So I can connect directly to computers inside without domain name like: ssh host1, with domain name: ...
UlfR's user avatar
  • 213
1 vote
1 answer
9k views

OpenVPN How to Create New User

I installed OpenVPN to my own server via GitHub. It is working but I want to run in my Asus Router but I need username and password. How can I create user for OpenVPN on Ubuntu 16.04 terminal? https:/...
Sopsebupse's user avatar
0 votes
1 answer
340 views

Easy way to connect to a VPN in Ubuntu 19.10

I am using Ubuntu 19.10. I am new to Linux OS and it is very hard for me even to install a single program. So, I am finding the easiest way to connect to a VPN which I can implement at my level.
zircon's user avatar
  • 101
0 votes
1 answer
1k views

OpenVPN Routes for User Defined Bridge Docker Network

I'm setting up OpenVPN inside a Docker container so that clients are able to access other Docker containers on the same user defined bridge network. I've setup OpenVPN using this docker image and I've ...
axlshear's user avatar
0 votes
3 answers
4k views

Saving OpenVPN credentials in terminal

I would like to save credentials when using OpenVPN in terminal. Is this possible? I have using Gnome's network manager OpenVPN plugin and it is throwing errors with this particular VPN but using ...
sycoxoje's user avatar
1 vote
1 answer
3k views

Openvpn client cannot access openvpn server side LAN when using 2 same subnet

I have the following setup: -------------------------------------------------------------------------- | Local Area Network 1 (LAN 1) Netmask - 192.168.0.0/24 or 255.255.255.0 | | --------------- ...
LI HO TAN's user avatar
0 votes
1 answer
1k views

OpenVPN client won't autostart ubuntu 18.04 proxmox LXC

I am trying to get OpenVPN to autostart a connection to the server but it does not seem to work. I get the following output in /var/log/syslog May 27 14:13:54 live ovpn-client1[1231]: ROUTE_GATEWAY ...
user1448020's user avatar
1 vote
0 answers
809 views

How to configure openVPN server and client same host (Ubuntu 19.04)?

I am trying to configure an openvpn client and server to run simultaneously on the same host. My issue is that once the host is connected to the paid VPN service the external ip of the host changes ...
mwoolweaver's user avatar
1 vote
0 answers
444 views

Need help getting OTP to work on OpenVPN Ubuntu 18.04

I've searched everywhere and can't find a good answer. Here's my situation: I have Ubuntu 18.04 which comes with OpenVPN. I have a .ovpn file that I will use to connect to the correct server. The ...
Linkfish's user avatar
1 vote
1 answer
4k views

Bad OpenVPN Uninstall

On my Ubuntu 18.04 machine I installed OpenVPN and then later tried to uninstall. Now whenever I try to install anything or do pretty much anything with apt-get I get an error and the package doesnt ...
Addy's user avatar
  • 13
1 vote
0 answers
595 views

OpenVPN can not access shared drives on network

I am having trouble accessing our shared network drives when I am connected through the VPN. When I am physically in the office and connected, I have no problems at all. On everyone's computers, the ...
laxer's user avatar
  • 111
1 vote
1 answer
4k views

What is preventing a DHCP client from getting the default gateway route?

Raspberry PI is connect to OpenVPN server via TAP connection. PI's tap is bridged with the PI's ethernet interface. When the the client in question connects to the pi's ethernet port, isc-dhcp-server ...
ts90's user avatar
  • 165
4 votes
2 answers
14k views

Check Point VPN client alternatives

On Windows I can connect to a VPN with the Check Point Endpoint Security client. However, since my main desktop is Ubuntu 18.04 I found an alternative client (SNX) which worked until some weeks ago. (...
Vincenzo Caselli's user avatar
5 votes
1 answer
9k views

How to forward only torrent traffic through a VPN

I have an computer setup with Ubuntu Server, and I have a few things running on it, like a Plex server, radarr, and deluged. I have an OpenVPN that I pay for, and I want to only route torrent traffic ...
Keith Tweed's user avatar
0 votes
0 answers
65 views

VPN Configuration issue with internet pass through not showing home network

Ok a little history. I am a windows guy and way back in 08 I had a file/VPN server running on Win Server 03. I used it to secure the connection when on say Mcdonaolds WiFi on my iPhones and also to ...
Jerry Hegwood's user avatar
0 votes
1 answer
243 views

Unable to access Ubuntu machine locally running an OpenVPN client

I'm currently running an Ubuntu Server machine that is running an OpenVPN client using a tunnel connection. Even though I want the network data to pass through the VPN tunnel, I also still want to ...
Olliek's user avatar
  • 1
0 votes
1 answer
2k views

KVM: VPN'd Host, Guest Needs VPN & Host Access for NFS

I'm running an Ubuntu guest in KVM, which is in turn running on an Ubuntu host. The host network goes through a VPN (OpenVPN), providing tun0. I need the guest network to also go through the VPN, ...
Diagon's user avatar
  • 724
0 votes
0 answers
113 views

OpenVPN config file not started automatically, works when running manually

On my Ubuntu 16.04 server, I have three different openvpn conf files in /etc/openvpn: server_tcp.conf, server_udp.conf and server_ptp.conf. All work when starting manually, e.g.: sudo openvpn ...
Fela Maslen's user avatar
1 vote
1 answer
2k views

Create Ubuntu Proxy Server with network interface binding

I'm trying to create an Ubuntu server which acts as a proxy. The server has OpenVPN running. The server should route all traffic which comes through the proxy, through this VPN. I've tried using ...
Hespen's user avatar
  • 131
0 votes
0 answers
518 views

Unable to browse internet after connect to OpenVPN

I've tried using this solution because my problem is exactly the same with it, but it does not work. I used this script to construct my OpenVPN server, and it worked normally for a long time. But one ...
yomao's user avatar
  • 1
0 votes
1 answer
2k views

How to set Chrome NOT to use OpenVPN?

I connect to the internet via openvpn. I want all the traffic through the VPN except Google Chrome/Chromium. How can I set the Chrome NOT to use the system proxy?
Googlebot's user avatar
  • 1,052
3 votes
1 answer
3k views

How to configure OpenVPN to access local clients

EDIT2: Per my first edit below, I determined OpenVPN connects just fine in a public environment and routes all traffic through it. The real question is, how do I configure my files so my desktop ...
MrZander's user avatar
  • 145
0 votes
2 answers
874 views

VPN connects from home but not from work or mobile data

I have OpenVPN configured on an Ubuntu 16.04 server. I am able to use this VPN service from one network but not from others and would appreciate any help. Home Network Everything works fine. I am ...
Anomaly211's user avatar

15 30 50 per page