Questions tagged [openvpn]

OpenVPN is a free and open source software application that implements virtual private network (VPN)

Filter by
Sorted by
Tagged with
0 votes
1 answer
650 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-...
smart's user avatar
  • 1
0 votes
0 answers
1k 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, ...
Yanick Rochon's user avatar
0 votes
0 answers
320 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 ...
amiroof's user avatar
  • 45
0 votes
0 answers
917 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 ...
beekeeper's user avatar
0 votes
0 answers
35 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 ...
CodeCraft's user avatar
1 vote
0 answers
290 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 ...
igneous spark's user avatar
0 votes
1 answer
368 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 ...
Mario Bezzi's user avatar
0 votes
0 answers
546 views

Cannot pre-load keyfile (ta.key)

I tried this tutorial on my VB and when i run sudo systemctl status [email protected] I got the following error instead [email protected] - OpenVPN service for server ...
Міша Корнійчук's user avatar
0 votes
0 answers
350 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 ...
Range's user avatar
  • 101
0 votes
3 answers
7k 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/...
Srinivas Dadhapur's user avatar
0 votes
1 answer
798 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 ------------------- ------...
Pejman Ghasemi's user avatar
0 votes
0 answers
71 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 ...
Mrugank Parab's user avatar
0 votes
1 answer
785 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]# ...
akvern's user avatar
  • 1
2 votes
2 answers
4k 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:...
hanshenrik's user avatar
0 votes
0 answers
220 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 ...
M.Yazdian's user avatar
0 votes
0 answers
75 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 ...
Nickolay Meschersky's user avatar
0 votes
1 answer
3k 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 &...
Nickolay Khalaychidi's user avatar
2 votes
1 answer
239 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 ...
Nojan A.'s user avatar
0 votes
0 answers
347 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 ...
mrox's user avatar
  • 1
3 votes
2 answers
6k 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....
Sevim's user avatar
  • 31
1 vote
0 answers
402 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 ...
candida2038's user avatar
0 votes
1 answer
623 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 ...
Yesai Skywalker's user avatar
0 votes
1 answer
182 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 ...
PouJa's user avatar
  • 163
0 votes
2 answers
704 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 ...
Michael's user avatar
0 votes
1 answer
337 views

Launch openvpn SERVER (not client) on startup with no password prompts

I currently have an openvpn server setup on my desktop so that I can use it while traveling. Everything works and I can connect to it from my laptop from different networks. If my house loses power I'...
MaanDoabeDa's user avatar
1 vote
1 answer
1k views

trying to install OpenVPN3 for Linux

When i Install the OpenVPN repository key used by the OpenVPN 3 Linux packages when i try running this command: curl -fsSL https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub | gpg --dearmor &...
Bob Fish's user avatar
0 votes
0 answers
145 views

Replicate settings from one Ubuntu Desktop machine to another

I am setting up my second Ubuntu Desktop machine. I would really like to copy some settings from the existing machine to the new one. The following are the list of settings I've identified: Remmina ...
chribonn's user avatar
  • 291
0 votes
1 answer
452 views

Running OpenVPN client version

I install OpenVPN version 2.5.5. But I can't run its client version. *I am using Ubuntu 22.04
Amir Hamidi's user avatar
2 votes
0 answers
584 views

Does Ubuntu OpenVPN client supports static-challenge?

I have a functional OpenVPN MFA Linux server setup that authenticates user with username/password and TOTP value from tools like Google Authenticator or similar. Client configuration relevant part ...
Marko's user avatar
  • 121
0 votes
1 answer
2k views

Connect to OpenVPN server from Ubuntu 22.04.1 LTS

I have a number of ovpn files that allow me to connect to different OpenVPN servers. These files work well on Windows platform using the OpenVPN community edition utility. Each requires a username, ...
chribonn's user avatar
  • 291
0 votes
1 answer
797 views

Problem with installation of OpenVPN on Ubuntu

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-...
Renan Alexandre Berton's user avatar
0 votes
1 answer
175 views

OpenVPN to SMB mount on Ubuntu extremely slow (10+ seconds to run ls)

I'm trying Linux out as my desktop. I routinely use OpenVPN and from Windows this is no problem. The connection over the VPN sits around 1MB/s which is more than enough for the typical document ...
Grant Curell's user avatar
1 vote
0 answers
125 views

Is there a way for Conky to display the number of incoming OpenVPN connections without invoking superuser powers?

Conky is easy to set up to display incoming tcp connections in a useful way: I would like to also show incoming OpenVPN connections (udp). Is there a way to do this in Conky without using sudo? ...
Organic Marble's user avatar
0 votes
0 answers
805 views

Unable to access the openvpn Access Web Ui

I followed this OpenVPN installation guide, and did all the steps and successfully installed openvpn output: To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool. +++++++++++++++...
0xmemo21's user avatar
0 votes
1 answer
5k views

Can't start OpenVPN server on Linux

I am creating my own OpenVPN server on DigitalOcean using this guideline. I have problem starting from step 10. I just can't start start this server and get error all the time. The guide says, that I ...
dokichan's user avatar
  • 111
0 votes
0 answers
114 views

ssh worked first time but not afterwards on ubuntu 22.04

I started openvpn via sudo openvpn --config myopenvpnfile.ovpn. Then I started ssh via ssh username@host -i ~/.ssh/myFolder. I was asked to enter my password once, which I did. It all worked and then ...
Max Gabriel's user avatar
0 votes
0 answers
346 views

Disable all traffic through OpenVpn

I have installed the OpenVpn server in my Ubuntu 22.04. The issue is while i connect to the openvpn server my all traffic going to the server which causing the internet connectivity issue. I need only ...
Huzaifa khan's user avatar
1 vote
0 answers
127 views

What is the best way to have failover connection for OpenVPN client

I am going to make failover connection for OpenVPN client. What will be the best way to achieve it? I have two ethernet interfaces. I connect eth0 to LAN (with DHCP), and eth1 to GSM router (with ...
hooboe's user avatar
  • 11
1 vote
1 answer
102 views

unable to set the openvpn network to look for a specific subnet behind a specific client

I have an openvpn network I have client with the ip 10.8.0.2 and that client have this subnet 192.168.43.0/24 I want the entire openvpn network to look for the subnet 192.168.43.0/24 in 10.8.0.2 Here'...
yaseen's user avatar
  • 11
0 votes
1 answer
124 views

How to make UBUNTU SERVER a vpn server

I want to setup a Native VPN on an ubuntu server OS. I dont want to use a thirdparty software like OpenVPN. I prefer to have a server which I can have hundreds of users connect remotely and have a ...
Kia Naderi's user avatar
1 vote
0 answers
348 views

connect to openvpn 2.3.10 with AES-128-CBC

I have ubuntu 20.04 with openvpn 2.4.7 client and want to connect to a openvpn 2.3.10 server with AES-128-CBC This is my client.conf port 443 client dev tun proto tcp4-client remote [the.vpnserver.ip] ...
Thomas Aichinger's user avatar
11 votes
9 answers
20k views

Ubuntu 22.10. OpenVPN cannot connect as a client

After updating to Ubuntu 22.10, openvpn cannot connect to the server as a client using the same old working ovpn profile from Ubuntu 22.04 LTS. I constantly get an error: 2022-10-20 20:10:04 ...
dyedfox's user avatar
  • 343
0 votes
0 answers
959 views

apt-key add with wget not working

I am trying to make an openVpn from How to Install OpenVPN on Ubuntu. I have 2 unbuntu servers which I connect to them with putty from windows. both servers are ubuntu-20.04-x86_64. after executing ...
Farhang Amaji's user avatar
0 votes
1 answer
901 views

Save VPN password for all users using nmcli

Is it possible to save a VPN password using nmcli and make it available to all users? nmcli con modify vpnname vpn.secrets "password=mypassword" does the job, but only for current user. The ...
Lendersmark's user avatar
1 vote
0 answers
114 views

OPENvpn server traffic not use sshuttle

I have 2 servers (server A and server B). I installed Openvpn on server A and I use OPENVPN CONNECT on my laptop and iphone (iOS) and everything is OK. Now when I check my IP in the laptop and iOS ...
amin's user avatar
  • 21
0 votes
0 answers
11 views

error in openvpn installation [duplicate]

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created ...
Swetang Krishna's user avatar
0 votes
0 answers
171 views

Lost SSH access after setting up OpenVPN (Possible issue using non default SSH port)

I was setting up OpenVPN using this guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04. I wasn't having luck in getting the keys off the host ...
TheBigL's user avatar
0 votes
1 answer
271 views

Ubuntu/OpenVPN - how to access private network when connection to public interface:

I use Ubuntu 20.04 and OpenVPN. This is my server network interfaces: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:...
Venelin Vasilev's user avatar
0 votes
1 answer
66 views

OpenVPN error in auth.conf

Ubuntu server Jammy (22.04.1) new install, OpenVPN 2.5.5 client.conf has 'auth-user-pass /etc/openvpn/auth.conf' and auth.conf has exactly two lines containing username password It is not happy. ...
bo gusman's user avatar
-1 votes
1 answer
99 views

Use middle server ip address to connect main openvpn server

My main server ip address that i installed openvpn server on, is blocked in my country. that means i cant connect to openvpn directly. so I bought another server. i want to use this second server to ...
Purya's user avatar
  • 1

1
2
3 4 5
24