Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

0
votes
0answers
3 views

OpenVPN connection through other openvpn tunnel [on hold]

I've setup an OpenVPN server on my Raspberry pi at home. However, I do not have a static public IP address. For that reason, I made an OpenVPN tunnel on a custom public VPS server with another OpenVPN ...
0
votes
0answers
15 views

How to forward traffic over a single port via OpenVPN?

I've successfully setup an OpenVPN server on a VPS Debian distro and have been able to connect to it via from my Windows client. My situation is a little unusual in that I don't want to use the ...
0
votes
1answer
27 views

pfSense unable to LDAP bind to Active Directory Server

I've been instructed to setup an OpenVPN Server on our local pfSense VM. I've combed over tutorials and guides, netgate, openvpn documentation and I feel I must be missing something. I've tested the ...
0
votes
3answers
22 views

connect OpenVPN client at Ubuntu startup

I would like to connect OpenVPN on Startup. I've added sudo openvpn /file.ovpn to the crontab, and it doesn't connect at startup. What is the proper procedure?
0
votes
1answer
13 views

save openvpn PKI passphrase

I'm using two servers. VPN Server (A), and Client (B). They are both using Ubuntu. The VPN server was installed using PIVPN: curl -L https://install.pivpn.io | bash How do you save the OpenVPN PKI ...
2
votes
2answers
46 views

remove password prompt openvpn ubuntu client

I'm trying to save the username, and password of my openvpn client in .secret.txt, and I'm receiving errors when attempting to connect, or the password is requested, instead of being read from .secret....
0
votes
1answer
18 views

Unable to connect to openvpn with saved password “auth-users-pass”

I'm trying to save the username, and password of my openvpn client in '.secret.txt', and I'm receiving errors when attempting to connect, or the password is requested, instead of being read from '....
-2
votes
0answers
24 views

Deploy Django Application on Digital Ocean inside a VPN [closed]

I have a Django application that currently runs inside a LAN. It queries some other computers over LAN for specific data (REST API). It queries by directly providing the IP address of the computers on ...
0
votes
0answers
37 views

openssl ca -gencrl is not working at all

Out of the blue, all clients cannot connect because the crl has expired. I am unable to generate a new crl. I currently have OpenVPN configured to ignore it for the time being because clients must be ...
0
votes
1answer
75 views

correctly routed responses to NATed packages via OpenVPN are rejected by client

I have the following setup: Dedicated server S with static public IP address on eth0 running OpenVPN as server on tun0 and performing NAT from tun0 to eth0 Gateway router G that is the OpenVPN client ...
0
votes
1answer
46 views

Kubernetes custom routes

I started OpenVPN on my k8s cluster and now clients can directly connect to the ClusterIP services but i need masquerade for it because pods (except OpenVPN pod) do not know route to clients. Is ...
0
votes
1answer
35 views

OpenVPN is not connecting to services behind it (iptables?)

After connection to openvpn i can not ping even vpn address (172.16.0.1) here is my vpn config: ##protocol port port 1194 proto tcp dev tun ##ip server client server 172.16.0.0 255.255.0.0 ##...
2
votes
1answer
161 views

OpenVPN on Debian is rejecting connections and systemd just runs /bin/true?

I'm extremely confused by this, and it seems completely wrong but I have no idea how so I'll start from the beginning. I configured openvpn on my Debian server using this guide. After I copied the ...
0
votes
1answer
20 views

OpenVPN client change hostname resolving in Windows 2003 Server

I have OpenVPN client at Windows server 2003 and OpenVPN works right. Also I have 1C service there. Also I have stopped and have deleted Routing and Remote Access Role for Windows server 2003 (and ...
0
votes
0answers
18 views

Tcpdump receives packets but they are not delivered to firewall

I am working with Proxmox, OpenVPN and Mikrotik Router. When I try to connect from OpenVPN client (192.168.10.13) to VM (192.168.1.19) hosted on Proxmox I don't get any response. Proxmox host (192....
1
vote
2answers
156 views

Can sslh differentiate between OpenVPN and HTTPS after they've been through STunnel?

Can sslh tell the difference between OpenVPN traffic and HTTPS traffic efter they have both been through STunnel? Like this: .---------. .------.HTTP/TCP.-------------. -->| stunnel |----&...
0
votes
0answers
15 views

OpenVPN treats users as they are already logged in

I'm facing a strange problem and I hope that someone would shed some light on it. I have an OpenVPN installed on a VM on my private network. When I connect to the server from a client using ...
0
votes
0answers
19 views

Correct configuration for Apache, OpenVPN and Stunnel on ports 80 & 443 only?

I have recently set up OpenVPN on port 443 of my server. I chose 443 as I thought it would be able to bypass the strict firewall I am facing. I also run a couple websites on this server so I used the ...
0
votes
0answers
11 views

Unable to start nginx when running OpenVPN

I'm running OpenVPN on an Ubuntu server. When I try to start nginx now, it throws error: 'sudo: unable to resolve host ip-xxx-xx-x-xxx' I realize this is b/c the routing has changed but how can I ...
0
votes
0answers
18 views

How to expand the usable IP range OPENVPN

I'm trying to set up a server that has over 1000 usable IPs, so I could in theory assign a static ip to that many devices. I have been able to set up an OpenVPN server with a /24 (mask 255.255.255.0) ...
0
votes
1answer
42 views

How to allow connections to server while it's running OpenVPN?

I have a Ubuntu 16.04 server running OpenVPN (via UPD). This works great, except once it connects to VPN, I get kicked out of the SSH connection, and the DNS/http connections no longer resolve. This ...
0
votes
1answer
36 views

Redirecting OpenVPN traffic to Burp Suite

I have a Linux Mint VM that I spun up as a transparent proxy for iOS devices. My intention is to tunnel all traffic from the iOS device through the VM and intercept it with Burp Suite, as an ...
0
votes
1answer
35 views

What steps should I take to make sure Synology VPN Server is secure?

We we have a remote office with a Synology NAS and we would like it to connect to the home office Synology NAS. We have setup VPN Server (Synology package) on the home office NAS and enabled OpenVPN. ...
0
votes
1answer
50 views

IP Routing Issues OpenVpn

I have two servers in the same datacentre, running Ubuntu 16 Server A: 10.12.96.5 Server B: 10.12.96.4 Server A, is running OPENVPN Server. When I connect to server A using SSH, I can PING server B....
0
votes
0answers
9 views

OpenVPN Router - Can't access other services on OpenVPN host

I have a VPN server running on IP A.A.A.A. I have a mini-router running an openVPN client and masqurading traffic on my local network with an IP of 192.168.99.1. Everything works perfectly, except if ...
0
votes
0answers
33 views

OpenVpn: unable to accept multiple connection from same user

I'm using OpenVpn Server Access, not the free CE edition; I do not know if they're different in config or in behaviours. In the Admin GUI I see that "Multiple Sessions per User" is turned ON. Server ...
1
vote
0answers
31 views

HAProxy ACL to check if connected to OpenVPN

Suppose I have an HAProxy instance directing traffic to a webserver. I want to block traffic to a target directory, unless the user is connected to OpenVPN. OpenVPN is set to the "Routing" ...
0
votes
1answer
35 views

How to use a OpenVPN network interface without redirecting everything over it?

I am using an OpenVPN server I have no control over that has provided me with a client configuration to use. When I use the provided configuration, everything works as expected - all the network ...
-2
votes
1answer
34 views

OpenVPN server as it's own CA — security concerns?

I was reading the Digital Ocean guide to setting up an OpenVPN server on Ubuntu in anticipation of doing exactly that, and saw this tidbit: Additionally, you will need a separate machine to serve ...
2
votes
1answer
61 views

IPv6 over IPv4 in OpenVPN on a server that has multipe non-consescutive IPv6 addresses

I have a server that has 1 IPv4 public address and 10 public IPv6 addresses (each one /128, not in the same subnet like a /64 or /48) - I know it sounds strange but I have no control over this, it is ...
0
votes
2answers
157 views

Route ONLY specific LAN through VPN

I have ONE PC with two internal LANS. 192.168.10.4 is internal LAN and 192.168.42.2is the ip that get it from my Raspberry. Raspberry connect via wifi from my wifi router, then run tor daemon and give ...
2
votes
0answers
37 views

OpenVPN - Hypervisors and VMs communicating by VPN through the internet

I'm pretty lost with this problem (maybe I say something silly =D )... I have two hypervisors (CentOS 7) connected by a VPN (OpenVNP). In this scheme I have two virtual machines (VMA0 and VMB0) ...
0
votes
1answer
60 views

How to forward network traffic through Docker OpenVPN Client?

My current setup is has a docker image running OpenVPN Client that connects to an Access Server in AWS. If i run the command: docker exec <container-id> bash I can get into the OpenVPN ...
-1
votes
0answers
33 views

VPN to specific websites only

I'm running openvpn on Ubuntu 18.04 LTS. I want to limit the outgoing destinations for a user. He can connect from anywhere but outgoing traffic should be limited to a few specific websites. How/...
1
vote
0answers
27 views

OpenVPN/Iptables: Route wlan0 through tun0, but not traffic from local system

I've got a device running OpenVPN with eth0 (connected to internet), tun0 connected to VPN, and wlan0 running hostapd with clients. I want all the traffic from the clients to go through the VPN, but ...
1
vote
0answers
29 views

Multiple VPN Server form a single local network

Present Status: I have a openVPN server hosted on AWS and nearly 50 client computers connected to the VPN. So as of now, all the client are on same network Problem with the current setup: If I ever ...
0
votes
1answer
45 views

Openvpn --learn-address with nsupdate | SERVFAIL

I've attempted searching just about anywhere I could find to figure out why a seemingly legitimate setup isn't working. I'm trying to archive DDNS with OpenVPN clients utilizing the --learn-address of ...
1
vote
0answers
41 views

how to make Windows 7 have website access through VPN connection

I am still struggle with my Windows 7 VPN client’s internet access. My OpenVPN client-server works great for my Windows 10 laptop and my Android phones. But my Windows 7 laptop cannot gain internet ...
0
votes
1answer
25 views

iptables NAT for Dockerized VPN Server

I want to setup a vpn server on my VPS using Docker. Many VPN servers like OpenVPN need firewall NAT rules and other firewall rules to work. as official documents suggests: You may have heard ...
1
vote
1answer
35 views

OpenVPN CCD file extensions

I've setup an OpenVPN server on Windows, all is working fine. I want to have my OpenVPN clients connect with a predetermined IP address. With reading/research I understand this is pushed out via a ...
0
votes
1answer
25 views

Openvpn (ipfire) net-to-net connection gets wrong IP address from some pool

I try to set up a connection over the internet between two ipfire routers, having OpenVPN installed on both. r3 is the server, r1 the client. It almost works. First, the "server" is started: here are ...
0
votes
1answer
105 views

OpenVPN client on Amazon EC2 can't ping eth IP - Can ping Tun IP

I have along standing openvpn server running locally. It's working fine with many physical clients. I have set up an Amazon EC2 Debian 9 instance and installed openvpn client as I would do normally ...
0
votes
0answers
12 views

OpenVPN log file deleted, no more new logs

Someone on my team deleted the openvpn.log files while the vpn server is still running. Now for some reason no new log file is being created by openvpn and therefor, we have no more logs. Is there ...
0
votes
0answers
21 views

Create a VPN across diffrent public networks

I have a bunch of 10 iDrac servers, distributed globally across different datacenters with public IPs. There are no firewalls for these servers. How can I bring them into a single network, so that all ...
0
votes
0answers
54 views

Port forwarding through VPS with OpenVPN to Client

In an attempt to allocate a public IP to a server inside my network i have the following scenario: VPS running Centos 7 and OpenVPN server with public IP 162.208.11.152 on interface venet0:0 Local ...
0
votes
1answer
118 views

how to force all internet traffic go through my vpn tunnel

I have my OpenVPN server running on my Linksys-E4200 router. The VPN server local ip is 192.168.66.1. Now I am in the public library. My Windows7 OpenVPN client has connected with the OpenVPN server. ...
0
votes
0answers
37 views

Docker cannot route OpenVPN clients to stack containers

I have a docker cluster with an OpenVPN container as an access server and a dns container as a forwarder. All containers are connected to a docker overlay network called vpn, but some run as a docker ...
0
votes
1answer
23 views

Authentication in OpenVpn the way it's done in ProtonVpn for instance. Is it PAM?

I'm trying to add authentication to my VPN server which is accessible via Internet and for browsing Internet. At ProtonVpn, for instance, I'm given a login/password and upon connection OpenVpn ...
0
votes
1answer
41 views

OpenVPN using TAP with a dummy interface

I have a dream compute instance that only has one network adapter and it has a public IP address. I am attempting to run OpenVPN with the TAP interface bridged to a dummy interface in order to access ...
0
votes
1answer
47 views

Connecting to vpn through double nat

I have a pfsense gateway that connects to the ISP and gets a publix address. It takes care of servers and clients without a problem. To that gateway I connected another pfsense to play around and just ...