Questions tagged [openvpn]

OpenVPN is a free and open source software VPN solution. It allows secure point-to-point or site-to-site connections with routed or bridged configurations and remote access facilities.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
11 views

Linux based OpenVPN vm in Azure allows only one way traffic

I have linux based OpenVPN vm in AZ with public IP. It's set up to be client gateway for clients connecting to AZ network from internet. AZ provided VPN does not suit my needs. It worked fine until I'...
  • 1
0 votes
1 answer
28 views

Limiting specific process to OpenVPN connection?

Is there any way to force a specific process to use an OpenVPN connection, but allow all other processes on a system use the default network connection on Ubuntu Linux? I have a custom Python ...
  • 3,518
-1 votes
0 answers
13 views

Webserver/gameserver wont work through openvpn [closed]

just as the title says, I am currently trying to run my webserver and gameserver through OpenVPN(via the router so all devices on the network are connected to it). Since then it no longer let's me ...
0 votes
1 answer
18 views

How to place resolvectl commands in ovpn profile?

I've got an ovpn config to connect to private network from Ubuntu 20.04 LTS. But every time after starting the vpn I have to run those commands resolvectl dns tun0 10.0.0.255 resolvectl domain tun0 &...
  • 101
0 votes
1 answer
13 views

How do I avoid IPV6 errors when trying to use kylemanna/openvpn image

I am trying to run the following deploy command... docker run -v $OVPN_DATA:/etc/openvpn -d -p 1194:1194/udp --cap-add=NET_ADMIN kylemanna/openvpn I get Sysctl error for disable_ipv6, please run ...
  • 111
1 vote
0 answers
41 views

Forwarded port is Closed / Filtered outside the network and Open inside the network

I'm trying to forward a VPN port to the open internet to create remote office network. My VPN connects properly when I'm inside the Office network, however the VPN does not properly connect outside of ...
  • 11
0 votes
1 answer
18 views

Route some clients through router openvpn client file

I have added a openvpn client to my router. This works but all my devices are using the vpn. I want some devices to use the vpn and others not to. To illustrate A (phone) => no vpn regular traffic ...
0 votes
0 answers
14 views

OpenVPN over PPPoE with DDNS

I have a router (tp-link AX5400 with vpn support) that is connected to internet over PPPoE. The server has a built in open vpn server. I linked a DDNS to the router and enabled openvpn server but ...
0 votes
0 answers
21 views

Openvpn comunity setup ldap

I have got installed openvpn server on my debian virtual machine. Evrything it's OK,but now I want conenct this server to the windows active directory. I not found any working manual for this task. ...
  • 1
0 votes
1 answer
22 views

openvpn: Monitoring gateway usage

all Is there any way to determine if the openvpn server is being used "as intended" by everyone? Company rule is to only allow the local network through the vpn, not the "full" ...
  • 115
1 vote
0 answers
23 views

OpenVPN restart systemd service if TLS error occured

I have a systemctl service which starts openvpn command with given config file. openvpn *filename* But if somebody uses same certificate to open VPN from another device - service logs TLS errors and ...
  • 11
0 votes
0 answers
23 views

OpenVPN TLS Error after few hours of normal working

I'm connecting to remote device through VPN. I use OpenVPN Config: client dev tun proto udp port *port* remote *ip* persist-key persist-tun <ca> -----BEGIN CERTIFICATE----- *cert* -----END ...
  • 11
0 votes
0 answers
22 views

Squid + OpenVPN : 403 Forbidden

I need to have a proxy server for an already configured and working OpenVPN server. So I install Squid 5.2 on Ubuntu 20.04. To test, I changed the following line in the /etc/squid/squid.conf file and ...
0 votes
0 answers
26 views

OpenVPN error circle:TLS Error: TLS key negotiation failed to occur within 60 seconds

In ubuntu 20.04, i am trying to use OpenVPN, and i get this error feedback every 60 second: Mon Nov 14 13:37:09 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]211.20.7.120:1194 Mon ...
0 votes
0 answers
21 views

force ovpn user to request for non public DNS Server

I need to force users for request to alasghar.com for connect to openvpn server, as alasghar.com is not public dns and not resolve by dns server. Can I change clients ovpn file to force request ...
3 votes
1 answer
82 views

How to restrict openvpn route at server side even if client side using no-pull

I know that client side openvpn configuration can use route-nopull and write theirselves route. But this may cause some secure problem, for example when you don't want to let vpn user visit some node ...
0 votes
0 answers
10 views

ufw data direction switched?

So I'm configuring a new OpenVPN server; the VPN is tun0. I want VPN clients to be able to resolve names from dnsmasq on the VPN server. I use this command: ufw allow in on tun0 to any port 53 proto ...
0 votes
0 answers
12 views

openvpn access server cluster cannot create a unique ovpn file for all server

i install multiple openvpn access server 2.11 on ubuntu 20 and install mysql for cluster it now i have 5 openvpn server in 1 cluster openvpn_as 2.11 ubuntu 20 1.my problem is ovpn file that download ...
0 votes
0 answers
51 views

Not allow all traffic through openvpn

I have installed the OpenVpn server in my Ubuntu 22.04. When i connect to my openvpn server then all traffic start going through it however, i don't want it. My server.conf is following: port 1194 ...
0 votes
1 answer
33 views

OpenVPN clients' DNS, unwanted ip routes added by dhclient

I've set up an OpenVPN gateway that provides access to a large cloud of IoT devices. Each device has a unique certificate, and upon connection, I grab the "common name" from the cert to ...
0 votes
1 answer
25 views

How to ensure OpenVPN ccd uniqueness when use TLS in multi-client server mode

Many user client use TLS certificates in ccd, but how to ensure generated certificates is unique. Suppose I know your ccd name, I might generate a new certificate under your name. How to avoid this ...
  • 1
1 vote
0 answers
22 views

how can i reroute incoming connection without passing it from my server

here is whats happening i ran a openvpn server on a server outside my coutry and tunneled it using stunnel from a server inside country(because of vpn restrictions i cant connect to it directly) but ...
  • 11
1 vote
0 answers
90 views

Linux openvpn server/client configuration troubleshooting

I'm new to openvpn. I have tried 7,8 Linux openvpn server/client configuration tutorials. with none of them I couldnt make the connection. btw I'm living in iran and maybe due to internet ban some of ...
0 votes
0 answers
9 views

pfSense nat a port to a site-to-site openvpn host

I have 2 pfsense linked via a openvpn site-to-site configuration. I have this : Site A with public IP : pubA, and a Site B that have a non-public-rootable ip, on site B I have a host hostB that I want ...
  • 111
0 votes
0 answers
22 views

Tunnel two server's traffic to access Internet

Is there a solution to config VPN access between two hop's (server's)? I want to use openVPN in my Internal server that has no Internet access Thanks
0 votes
0 answers
42 views

squid proxy with openvpn config return HTTP proxy returned Fobidden status code

I have installed squid proxy on server1(OS=centos7 & IP=y.y.y.y & PROXY_PORT=3333) and openvpn server on server2(OS=centos7 & IP=x.x.x.x ).when client wants to connect to openvpn through ...
0 votes
0 answers
21 views

Route OpenVPN traffic via vNIC

I'm cracking my brains on the following, and I hope you guys can help me out. I'm trying to setup an OpenVPN server on a Raspbian distro. Since I'm also using this server as a DNS server in multiple ...
0 votes
0 answers
35 views

Connect clients of two different OpenVPN servers

I'm trying to connect clients that belong to two different OpenVPN servers. These servers share a network on eth0:0. Both servers can ping each other. The first thing that is not working is that I can'...
0 votes
1 answer
127 views

OpenVPN - Can client certificates and keys be created if you only have ca.crt

All servers are debian 9 linux. I have 200 servers with openvpn installed, each with three to four clients (tunnel 2) clients ---> server1 (1 of 200) (also client for jumpserver) ---> jumpserver ...
  • 61
0 votes
0 answers
35 views

OpenVPN server starts but not listen on the port and cannot connect to

Today using this blog post, I set up an openvpn server. When I check the service status using systemctl status openvpn-server@server.service everything's seemed to be fine. This is the log of the ...
0 votes
0 answers
70 views

pritunl-client (cli): create the tar from ovpn

I want to add a vpn configuration using the CLI: pritunl-client add foo.tar Unfortunately I do not have foo.tar, but only foo.ovpn. Adding foo.ovpn using the gui (pritunl-client-electron) works. tar -...
0 votes
0 answers
69 views

VPN connection to OpenVPN server container doesn't have Internet connection

I tried to build an OpenVPN container with Docker. You could see the configuration files below. Dockerfile: FROM ubuntu:20.04 RUN apt update \ && apt install openvpn iptables -y \ &...
0 votes
0 answers
56 views

How to check if a host is able to establish a ssl connection to another host?

I have an OpenVPN server on port 443. I can not connect to this OpenVPN server: Thu Oct 13 10:11:39 2022 TLS Error: TLS handshake failed Thu Oct 13 10:11:39 2022 Fatal TLS error (check_tls_errors_co), ...
  • 105
0 votes
0 answers
24 views

Can't Reach Private Subnet Over Bridged OpenVPN

I have a VPC in AWS with OpenVPN server in a public subnet. I'm trying to reach a server running in a private subnet. I cannot. I have two ENI running on the public machine. One with a public IP ...
1 vote
1 answer
33 views

Openvpn Server Windows need to prevent client from using defualt gateway on server

I'm running OpenVPN server on Windows. I have multiple clients in the 10.24.1.0/254 range. I host a TCP service on port 80 on the server that I want the clients to connect to. I don't want clients to ...
0 votes
0 answers
43 views

How to route internet traffic trough multiple remote servers to bypass internet censorship?

I have 2 ubuntu 20.04 VPS running in different locations with root privileges. in my location internet access is available only for specific hours per day and it become intranet for rest of the day. ...
0 votes
1 answer
110 views

OpenVPN TLS key negotiation failed to occur within 60 seconds

OpenVPN version is: OpenVPN 2.4.8 x86_64-w64-mingw32 Topology is: Machines at VirtualBox, server and client I know there are many posts about this question, but so far, I could not find the answer. ...
-3 votes
1 answer
294 views

How can I convert a wireguard vpn config file to openvpn? [closed]

I have a working vpn connection but it's imported in WireGuard and I need to use that same config on a OpenVPN client and import it there . Is there anyway to convert wireguard .conf files into .ovpn ...
0 votes
0 answers
22 views

OVPN not working on client

Sat Oct 8 00:53:03 2022 Unrecognized option or missing or extra parameter(s) in desktop.ovpn:19: block-outside-dns (2.4.7) Sat Oct 8 00:53:03 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [...
  • 13
-1 votes
1 answer
69 views

OpenVPN speed tweaks for VPS(Windows)

Background: I have an OpenVPN server running on my Windows 10 VPS. The Internet connection of VPS is ~750 Mbps for Download and ~450 Mbps for upload (Obtained by multiple speedtest.net tests). The VPS ...
  • 5
0 votes
0 answers
101 views

Why can't I connect to the OpenVPN server from Windows client to Centos VPS even though the VPN server is running?

I set up a OpenVPN Server on Centos 7 and it is running perfectly. However, I could not connect to it from Windows 10 client and receive errors below: Fri Oct 7 21:10:32 2022 TLS Error: TLS key ...
  • 103
0 votes
1 answer
72 views

Getting OpenVPN server status failed after fully configuration on Centos 7 VPS

I am going to setup a VPN Server on Centos 7 VPS, running as Docker container. However, after installing OpenVPN and configuring it, I see the server status failed: This is my server.conf file: port ...
  • 103
5 votes
1 answer
2k views

VPN Server protocol or trick work in iran

I hope this question is consistent with the rules of the forum. Our access to the international internet from Iran has become very difficult. Only some specific VPNs work. Do you have any suggestions ...
1 vote
1 answer
86 views

OPENvpn server traffic not use sshuttle

I have 2 server (server A and server B). I installed Openvpn on server A and use OPENVPN CONNECT on my laptop and iphone (iOS) and all thing is ok. now when i check my ip in laptop and iOS show SERVER ...
  • 11
0 votes
0 answers
85 views

Bypassing openvpn block for tryhackme

when i try to connect to tryhackme network the connection just stalls and won't connect here is the log 2022-10-05 18:56:26 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-...
  • 1
0 votes
0 answers
94 views

Authentication using a script in openconnect OCSERV like auth-user-pass-verify in OpenVPN

I'm wondering if openconnect OCSERV, in any way, can support authentication using a script like OpenVPN auth-user-pass-verify configuration?
  • 79
0 votes
0 answers
44 views

How to config openvpn or squid for chaining?

hi guys I am not professional in devops and network. What I need is that connect to internet through two vps. Imagine I have client and first vps in italy and second vps in german. client can connect ...
0 votes
0 answers
34 views

tunnel vpn connection from middle server to openvpn

for special usecase we need to tunnel a middle server to openvpn so when we need to connect to vpn we would call a middle server and from there we make a tunnel to the vpn server we used iptables role ...
1 vote
1 answer
53 views

Routing HTTP/HTTPS traffic from one Linux server to another Linux server

The DNS for the domain.com is pointing at Server1 (it has a public ip address). The webserver is running on Server 2 (no public IP address, but connected to Server1 via OVPN). Is it possible to route ...
  • 11
0 votes
1 answer
116 views

Is it possible to host a vpn on a website server running on nginx?

I have a vps with one ip address and I am running a website with a domain on it through nginx. Now I want to use the same vps as a personal vpn while having my website up and running. How can I ...
  • 1

1
2 3 4 5
64