All Questions
114
questions
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
...
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 ...
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?
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 ...
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, ...
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.
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 ...
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 ...
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 ...
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 : ...
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....
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 ...
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, ...
-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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
...
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 ...
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:
...
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 ...
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 ...
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 ...
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 ...
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: ...
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:/...
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.
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 ...
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 ...
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 |
| --------------- ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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. (...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...