Questions tagged [openvpn]
OpenVPN is a free and open source software application that implements virtual private network (VPN)
1,158
questions
0
votes
0
answers
15
views
open vpn connection error after traveling to another country
I have been trying to connect to an open VPN server that was working fine before until I traveled to another country last week and now the VPN isn't connecting
VPN logs:
Sep 15 12:38:38 fawrama nm-...
-2
votes
0
answers
33
views
Configuration OpenVPN Client
I would like to know if any of you would be so kind as to check whether my ovpn configuration file (for OpenVPN Connect) is correctly configured as I find that it works but in a random manner (it ...
-1
votes
0
answers
22
views
Unable to load VPN connection editor in Ubuntu 20.04 LTS and dependency issue [duplicate]
For some reason, my Ubuntu 20.04.6 LTS can no longer establish a vpn connection to my university (it used to work fine). When I go to Network Settings -> settings of my vpn -> identity, I get ...
0
votes
0
answers
19
views
client cant connect to openVPN with static_ip
I configure vpn server base on this tutorial, my server has a static ip v4 and i set in client.conf, but user cant connect to vpn in windows app and error :
trasmitting bypass route to STATIC_IP
{
&...
0
votes
0
answers
52
views
Block internet access in openVPN when connect to vpn
I install and config openVPN in my Ubuntu server using this tutorial and everything is work, but i want to block internet access when user active vpn
i use this configuration base on some search in ...
0
votes
0
answers
129
views
Problem during Ubuntu 22.04 shutdown
I am facing problem during shutdown of Ubuntu. I use Ubuntu 22.04 with Windows 11. I've been facing this problem for a few days:
[FAILED] Failed to start Hide. me CLI connection to SERVER.
[FAILED] ...
0
votes
0
answers
48
views
iptables & ip_forward issue
I am having a very annoying issue and I don't know what's wrong. I also feel like I am very close to having it working, so there must be something obvious I'm doing wrong.
I am trying to connect to my ...
0
votes
0
answers
23
views
How do I auto start openvpn (client) on bootup in Ubuntu?
Im a beginner and need help with step by step instructions please
0
votes
0
answers
44
views
Openvpn as nobody fails: Options error: --status fails with '/var/log/openvpn/openvpn-status.log': Permission denied (errno=13)
Openvpn on Ubuntu 22.04
I can run successfully openvpn as superuser. Now I want to run it as user nobody before making it a service.
sudo -u nobody openvpn /etc/openvpn/server/server.conf
However I ...
-1
votes
1
answer
53
views
Vopono setup with Proton VPN
Pretty new with Linux and have been trying to use Vopono to split tunnel my VPN connections with Proton VPN as my provider
Currently I am going through the steps to setup the configuration files and ...
1
vote
1
answer
79
views
Ubuntu Server, connected to third-party VPN, cannot be accessed by an external client connected via another VPN
Setup
Ubiquiti UDM Pro w/Network 7.4.162
10.2.2.0/24
Server: Ubuntu 20.04 connected to AirPVN
eno2 10.2.2.99/32
eno1 10.2.2.101/32 (enabled temporarily to test if adding a 2nd network connection ...
0
votes
0
answers
35
views
OpenVPN connection in Ubuntu not allowing internet access with new broadband router
I am currently facing a strange issue with my OpenVPN setup on Ubuntu, and I'm hoping someone can help shed some light on the problem. I have an OpenVPN (.ovpn) configuration file that I use to ...
1
vote
1
answer
47
views
Is there a way to audit who is changing the system time?
I've got an openvpn client running which seems to be causing a problem on my system by changing the system time for my machine.
How do you prevent openvpn clients from changing the system clock?
Is ...
0
votes
0
answers
80
views
openvpn server is unable to run
I have an openvpn server configuration but for some reason it is unable to run.
The service is at this status:
gateway@gateway:/etc/openvpn$ sudo systemctl status openvpn@VPN_server.service
● openvpn@...
0
votes
0
answers
56
views
How do you prevent openvpn clients from changing the system clock?
I'm using state based routing using iptables and a single user on a shared machine sometimes uses a VPN to get resources not available in our physical location. However, this is very annoying because, ...
1
vote
0
answers
442
views
openconnect fails with "No SSO handler"
Previously I could connect to my office Windows machine remotely from Ubuntu using:
sudo openvpn --mktun --dev tun1
sudo ifconfig tun1 up
sudo openconnect ${VPN_SERVER_ADDRESS} --authgroup=${...
0
votes
0
answers
111
views
Manually configuring openvpn uing ovpn-init tool
I'm trying to install openvpn on Ubuntu.
Following these steps, I ran the following commands as root user in my terminal:
apt update
apt upgrade
apt install ca-certificates wget net-tools gnupg
wget -...
0
votes
0
answers
112
views
Openfortivpn ERROR: connect: Connection timed out
Always get error like this after accidentally unplug power source laptop (and no battery) while openfortivpn was running.
┌──(user@laptop)-[~]
└─$ sudo openfortivpn
[sudo] password for ...
0
votes
1
answer
60
views
Why i am get error trying install openvpn
I'm trying to install openVPN on Ubuntu, but I'm facing difficulties.
I confirm that the system is up to date:
apt update && apt upgrade
Install the necessary packages:
apt install ca-...
0
votes
0
answers
316
views
Connect to VPN with only username and password, no certificate, is this possible?
I need to upload files to a remote server at a client site through SSH, so I ask the client's IT firm to setup a VPN for me to connect. He comes back to me with the host, the username, and a password, ...
0
votes
0
answers
176
views
openvpn VERIFY OK: depth=0, CN=OpenVPN Server
im trying to get an openvpn server working. i used the official instructions for installing and using the web ui. but when a client tries to connect the output is:
2023-05-17 23:12:49 Note: Kernel ...
0
votes
0
answers
232
views
Call for tail to read /var/log/syslog in a script results in "Permission Denied" in syslog
This script runs when a user connects to my openvpn server using client-connect. When ran, it should check the most recent 50 log lines in syslog to grab the name of the profile that connected.
The ...
0
votes
0
answers
22
views
On VPS, How do i assign a configured Static IPv4 address via subnets of the VPS network on OpenVPN?
I have a Ubuntu VPS with a static Native IP address 211.xx.xxx.205. I have setup an OpenVPN to route traffic network from the VPS to my Ubuntu local computer.
It is working fine. However, my problem ...
1
vote
0
answers
95
views
upgrading ubuntu from 22.04 to 22.10 unable install some update for upgrade
I have tried these commands to upgrade from 22.04 to 22.10
sudo apt update
sudo apt upgrade
sudo apt upgrade fix-missing
sudo apt dist-upgrade
While this sudo do-release-upgrade the following is ...
0
votes
1
answer
123
views
Terminal issues with SSH via VPN
I try to access a Linux Ubuntu server via SSH from a Linux Ubuntu client machine.
When the client and the server are in the same network everything works fine, when I try to access the server remotely ...
0
votes
0
answers
344
views
Cannot pre-load keyfile (ta.key)
I tried this tutorial on my VB and when i run sudo systemctl status openvpn-server@server.service I got the following error instead
openvpn-server@server.service - OpenVPN service for server
...
0
votes
0
answers
227
views
Ubuntu Sever 22.04. OpenVPN cannot connect as a client
I use Ubuntu Server 22.04 and OpenVPN 2.5.5. Openvpn cannot connect to the server as a client. Error:
2023-04-26 10:24:45 [63f5fa33cce5bccbc9d69630] Inactivity timeout (--ping-restart), restarting
...
-1
votes
3
answers
3k
views
openvpn3 not working after upgrading to ubuntu 23.04
here is the output of session-start command.
openvpn3 session-start --config config.ovpn
Using configuration profile from file: config.ovpn
Session path: /net/openvpn/v3/sessions/...
0
votes
1
answer
453
views
How to forward all or part of openvpn server traffic to another server through SSH tunnel?
I need to route all OpenVPN client traffic from Server A to Server B via SSH tunnel.
Client Server A Server B
------------------- ------...
0
votes
0
answers
46
views
20.04 client vpn connects successfully but times out when connecting to vpn required website
I have an OpenVPN .conf file to connect to a company vpn. I need to be connected to this VPN so that I can access domains that are not searchable by default DNS.
After successfully connecting to the ...
0
votes
1
answer
368
views
OpenVPN stuck in Connecting
I recently installed openVPN3 on a Oracle Linux Server for an auto-login profile. I imported the profiles successfully to the server, however, it is stucked on Session path.
[root@jump openvpn3]# ...
1
vote
1
answer
2k
views
How to enable OpenVPN's BF-CBC in Ubuntu 22.04?
I recently upgraded from Ubuntu 20.04 (which ships OpenVPN 2.4.7) to Ubuntu 22.04 (which ships OpenVPN 2.5.5), and in OpenVPN 2.5.0 changelog i find
Removal of BF-CBC support in default configuration:...
0
votes
0
answers
163
views
OpenVPN clinet cannot connect after re install OpenVPN server
I was forced to re-install the Ubuntu openvpn server I have many users who were connected to the server.
Before reinstall OS and installing the new OpenVPN I copy all the OpenVPN folders from etc and ...
0
votes
0
answers
43
views
Route incoming traffic through VPN
I'd like to use NordVPN services on my Apple TV; since the device does not support VPN apps; I am left with two choices, use a "Smart" DNS - or add VPN at the router.
Unfortunately, my Unify ...
0
votes
0
answers
62
views
OpenVPN connection issues, traceroute to other client
I have a Asus ac86u router with OpenVPN enabled. (192.168.3.1, 10.8.0.1)
The network behind the router is 192.168.3.0. The OpenVpn network is 10.8.0.0.
I have several Windows machines (both physical ...
0
votes
1
answer
1k
views
Ubuntu 22.04 OpenVPN config
I have .ovpn file, exported from OpenVPN server:
dev tun
persist-tun
persist-key
cipher AES-256-CBC
auth SHA512
client
resolv-retry infinite
remote xxx.xxx.xxx.xxx 1194 udp
lport 0
verify-x509-name &...
1
vote
1
answer
163
views
How to tunnel all the traffic for one interface through another interface
I have two working interfaces on my ubuntu machine:
tun0 - OpenVPN server with the internal address of: 10.8.0.0/24
wg0 - WireGuard peer interface with the internal address of: 10.7.0.0/24 which is ...
0
votes
0
answers
264
views
How to route up/down VPN to network in 22.04
I am working from the following article:
https://www.linode.com/community/questions/22397/how-do-i-use-vlan-as-a-private-vpc-with-openvpn
Which advises amending /etc/network/if-up.d/ and /etc/network/...
0
votes
0
answers
215
views
Static Key OpenVPN
I am trying to configure my server using this guide https://openvpn.net/community-resources/static-key-mini-howto/ also here https://blog.eldernode.com/setup-an-ope ... ntu-22-04/
Everything works ...
2
votes
2
answers
3k
views
How to upgrade OpenSSL to the latest version in Ubuntu 20.04.5 LTS
I was wondering if someone could help with the below:
I am trying to install OpenVPN in mu Ubuntu 20.04 laptop but I get the error: openssl version too old. I run openssl version it says is OpenSSL 1....
0
votes
0
answers
36
views
Give access outside of LAN for Ubuntu 20.04 server with OpenVPN
I've downloaded OpenVPN in Ubuntu 20.04 and connecting to server via ssh. If I connect in LAN, everything is fine, if I try outside LAN, then it does not connect to server.
Can you please help me in ...
1
vote
0
answers
162
views
VPN "Kill Switch" Without Hard-Coded IPs
I'm using a popular VPN provider, and I downloaded their OpenVPN configs. In total there's probably >100 different server IPs specified in these configs. Is there a way to configure Ubuntu 22.04 ...
0
votes
1
answer
364
views
Ubuntu 22.04 Network Manager removes OpenVPN connection TLS certificate
Network Manager on Ubuntu 22.04 removes the OpenVPN connection TLS certificate after viewing the configuration. In Settings → Network → VPN settings → Identity → Advanced → TLS Authentication,
after ...
0
votes
1
answer
101
views
How to grep on a file owned by nobody?
I have a /etc/openvpn/test.txt file with the following status and a single word content "test":
-rw-r--r-- 1 nobody root 173 Jan 25 21:48 test.txt
When I try to grep on it I get a ...
0
votes
0
answers
54
views
What is the format of the OpenVPN Client file in Ubuntu?
I'm trying to connect to the OpenVPN in Ubuntu, I have followed this manual https://tecadmin.net/install-openvpn-client-on-ubuntu. But, at the second step, I cannot find the example or format that ...
0
votes
0
answers
38
views
PortForwarding with IP
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 5000 -j DNAT --to-destination 10.8.0.2
iptables -t filter -A INPUT -p tcp -d 10.8.0.2 --dport 5000 -j ACCEPT
I used the code above to forward port ...
0
votes
0
answers
135
views
How to route all network traffic back and forth to an external computer on the internet?
Due to our restricted internet in Iran, I need to establish an internet connection through an OpenVPN server-which is located in Iran- and then route all network packets from the VPN clients to ...
0
votes
2
answers
456
views
Generate iptables rules while connecting to VPN Server
I'm building a virtual Ubuntu Server(LXC on Proxmox) that shall act as router and tunnel some devices(e.g. AppleTV) of my local network through a VPN (expressVPN).
Connecting and routing to different ...
0
votes
0
answers
117
views
Ubuntu 22.04 lts problem with openvpn client not work
i have a problem with openvpn client. After installed Ubuntu 22.04 on my pc i can't connect with openvpn cliente from pc. After few minutes i get message that the connection not work.
The same ...
0
votes
0
answers
29
views
Assigning 2 IPs to Ubuntu Server
I have a server with ethernet being the primary source of internet. I have a plex server running and I can access it locally. I can't port forward coz I'm on CGNAT however I do have a cloud flare Zero ...