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
0
votes
0answers
6 views

Convert one interface to a tunneled interface

I have a server with 2 WAN interfaces, eth1 and eth2. Each one have one router connected which gives them these IPs: 192.168.3.101 and 192.168.1.101. The thing is that I want to completely avoid ...
0
votes
1answer
1k views

Openswan and OpenVPN

I have installed Openswan and have configured IPSec tunnels and they work perfect until i install OpenVPN. Now i can't find out way the ping wont work. When i execute the "service ipsec status" it ...
0
votes
1answer
25 views

Chain two VPN subnets via VPS

I need to chain two subnets via VPS according to this schema: 192.168.1.0/24 -> VPN client -> VPS <- VPN client <- 192.168.2.0/24 So I want to reach, for example, 192.168.2.2 from 192.168.1.0/...
0
votes
0answers
8 views

Apache Require ip and OpenVPN on the same server

I have Apache 2.4 and OpenVPN running on the same machine (Ubuntu 16.04 Server). I have a Virtual Host configuration and I am trying to restrict the access only for the clients connected to the ...
4
votes
1answer
11k views

OpenVPN reconnect after server restart

I am looking for a way to keep a VPN tunnel alive. I have an OpenVPN server and some clients which only have access through the VPN. Sometimes, I need to restart my OpenVPN server. When I do that, all ...
0
votes
1answer
934 views

unable to connect to an openVPN server from a windows client

I set up an openVPN server and it is functional from android devices and linux desktops. However I have a client that is able to connect using the my.ovpn I provided from an android device but when he ...
3
votes
1answer
2k views

how can I give openvpn clients access to a dns server (bind9) that is located on the same machine as the openvpn server

I currently have a debian server that is running an openvpn server. I also have a dns server (bind9) that I would like give allow access to by the connected openvpn clients, but I am unsure as of how ...
1
vote
1answer
1k views

OpenVPN : Working with TCP but not with UDP

I am trying to connect Raspberry Pi as a client to OpenVPN server(Ubuntu 14.04.3). Following is my server and client side configuration # server.conf port 1194 proto udp dev tun ca ca.crt cert server....
0
votes
1answer
1k views

How can I create routes between two separate LANs on the internet over an OpenVPN tunnel?

Diagram I have separate router/OpenVPN appliances at two different sites. The appliances are actually TP Link routers running OpenWRT 12.09, r36088. I would like clients behind these two routers to ...
0
votes
1answer
940 views

Openvpn connects but I cannot ping the gateway or access internet

I have the following in my configuration file: client dev tun proto udp remote xxxx.com 1194 resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server tls-version-min 1.2 verify-...
2
votes
1answer
1k views

Openvpn limit bandwidth

I would like to ask you a question concerning openvpn and the possibility to increase the bandwidth in case I want to transfer files. I have an openvpn server via which I connect to my data center. ...
5
votes
1answer
931 views

Access to service in Docker container connected to VPN

I set up a Linux server (VirtualBox VM for now) In that server I run a Docker container containing two things: An app with web interface on certain port Open VPN Client I can access that app (from ...
0
votes
0answers
30 views

site to site openVpn link aggregation with linux

I'm trying to improve access over VPN for a site office to the head office. Will the following increase single file download speed. Provide 2 WAN (NBN) connection at both sites. Dedicate each WAN ...
0
votes
1answer
21 views

Openvpn: Set specific default gateway for one staticclient

I would like to create a configuration in which one client is a default gateway for another one specific client. I have an openvpn server configured in client-to-client mode.Two clients are ...
1
vote
1answer
78 views

SMA LCS tool through open VPN

I'm trying to make SMA LCS tool work through openVPN. Context The hardware Inverter Manager permits to manage the inverters. The LCS tool, is the only windows application (no other OS) which ...
0
votes
1answer
1k views

force an application to use a given VPN tunnel

trying to have traffic from a specific user on a linux machine run through a vpn tunnel. Have tried without and with the update-resolv-conf / dhcp-options ~$ cat /etc/openvpn/pia.conf client dev tun ...
4
votes
2answers
4k views

SSH X11 forwarding is extremely slow over VPN

I'm using an VPN (with OpenVPN) to keep access between my home and work computers, and today I tried to ssh-forward an app which is GUI-only, and I found this to be terribly slow. I've used SSH X11 ...
0
votes
1answer
400 views

OpenVPN auth-ldap cannot find user in a group, but ldapsearch can find it

I can search for a user without issue: ldapsearch -h ldap.my.server.name -b "cn=vpnusers,ou=groups,dc=example,dc=com" -x "memberUid=myusername" Results: # extended LDIF # # LDAPv3 # base <cn=...
1
vote
2answers
7k views

Autostart openvpn with username/password authentication in ubuntu

I have a server with OpenVPN installed on it, and I also have laptops (clients) running Ubuntu with openvpn installed. On the client, if I manually run the command "sudo openvpn /etc/openvpn/client....
4
votes
1answer
1k views

How to troubleshoot problem with OpenVPN Appliance Server not able to connect

1) I have a Windows Server 2008 Standard SP2 2) I am running Hyper-V and have the OpenVPN Appliance Server virtual running 3) I have configured it as it said, only issue was that the legacy network ...
1
vote
1answer
22 views

Strange routing behavior, Synology combined with OpenVPN

Essentially the setup I've got is WAN <-> OpenVPN running on OpenWRT running on WRT3200ACM <-> LAN -> Gigabit Switch -> RPI and synology The openVPN tun is working fine and dandy. I get an IP ...
0
votes
1answer
37 views

Setup Brand New OpenVPN to allow LAN Connection

So i'm new to openVPN, after setting it up, and connecting between client - server , i need both to allow LAN connection So my setup is as follow (as for now) Client is set on the 192.168.1.X ip ...
0
votes
1answer
29 views

I cannot access the website through the internet when openvpn is enabled

In the same server (windows server 2008 r2) we have dns, web server and openvpn. The server has a static IP address, which is used to access the website through the internet by the domain name. At ...
0
votes
0answers
16 views

OpenVPN vpn chaining

Background I have two networks: Home network Servers network My home's network contains a VPN server. My Servers network contain another VPN server. The only way to my computer to log into the ...
1
vote
1answer
1k views

Port foreword + openVPN + iptables?

I am trying to share vpn connection between my network without any luck. I do have an office with Several PC's and we share the internet connection using iptables and our DNS server we also have Mail ...
0
votes
1answer
1k views

Multiple TAP devices on OpenVPN Server

So we have a number of clients that have their own VPS instances which we host via Proxmox. The clients servers are all behind a NAT firewall and we forward ports per client request to our various ...
0
votes
1answer
958 views

Access web server on VPN client through VPN server public IP

I am trying to access a web server running on a PC, that is behind a firewall not managed by me, using a VPN connection (openvpn). Basically, I want to use the public ip of my VPN server for accessing ...
1
vote
1answer
32 views

openvpn can't sudo within “down” script when shutting down systemd service

OS: Ubuntu 16.04.2 LTS My VPN config has directives: user ovpn group ovpn up "/path/to/my/script" down "/path/to/my/script" My visudo file has the directive: %ovpn ALL=(ALL:ALL) NOPASSWD: /sbin/...
1
vote
1answer
2k views

OpenVPN client cannot connect to the server

I'm trying to configure VPN between two PCs both running Ubuntu 14.04 x64. I have created and configured OpenVPN server on one of them, OpenVPN daemon is online and I can see tun0 interface in ...
0
votes
2answers
2k views

OpenVPN Server subnet addresses conflict

Where I work we have the same subnet pool (192.168.1.x) that I have at home. Hence I can't reach to home's subnet addresses when connected to the OpenVPN Server. What's the best/easiest way to ...
0
votes
0answers
32 views

OpenVPN - high CPU even when cipher is set to none

When sending 125mbit/sec over OpenVPN configured to use cipher none, the openvpn process uses 25% CPU (on an i3-5010U CPU). What would cause it to use so much? Here are the config files: CLIENT....
1
vote
1answer
11k views

OpenVPN TLS handshake failing - what ELSE could it be?

I've got two very different clients on two very different networks, both unable to connect to a newly configured OpenVPN server, both causing log entries on the server like the following: Aug 8 20:...
0
votes
0answers
137 views

Cannot use public DNS to SSH to OpenVPN server when I am connected to the VPN

I have a strange issue with a new OpenVPN server. I've set up am OpenVPN 2.4.7 server on CentOS 7.7.1908, hosted in AWS. This is used to both have a single outbound IP address for various whitelists ...
0
votes
1answer
24 views

What information does an OpenVPN provider store about me [closed]

I was wondering what information is stored about me when I connect to an OpenVPN VPN provider. For example, can the provider know my operating system? I cannot seem to find any docs about this. ...
0
votes
0answers
10 views

Cannot route and connect to server lan through VPN

I have a Teltonika RUT230 that I'm using as a VPN server. So far, I'm able to stablish the VPN connection and talk with server, but I cant ping LAN network. Here are my IP's, note that these are only ...
0
votes
1answer
13 views

Configuring an Site to Site VPN ,open VPN client on Pfsense and Azure will host Open VPN Scess Server

Dears, I am relatively new to Open vpn , by reading through forums i have tried may of the suggestions, but still not able to get it work. I am trying to have a Site To Site VPN , with Open VPn ...
0
votes
1answer
1k views

Can the inet address assigned to P-t-P tun interface be used for a client inet address if the server runs out of all addresses within a subnet?

I have an OpenVPN server with an Inet address 10.8.0.1 serving the subnet 10.8.0.0/24. I have two clients connected to this server and the status log (/etc/openvpn/openvpn-status.log)reads as follows: ...
-1
votes
1answer
48 views

OpenVPN client pings, but will not resolve DNS

long-time lurker, first time poster. I have read almost every post regarding open-vpn on this site, but I cannot get this issue fixed. I can connect without issue to openvpn server and can ping ...
0
votes
0answers
37 views

Host unreachable if eth0 has no IPv4 in ethernet bridge

I am currently attempting to configure an ethernet bridging VPN with the use of OpenVPN. However, whenever I am trying to setup the ethernet bridge, the server (Raspberry Pi) looses connection from ...
9
votes
7answers
24k views

How can I disconnect from openvpn in windows via command line?

I know how to connect to an openvpn via a command line in Windows XP. What I can't figure out is how to end the connection. Any thoughts?
0
votes
0answers
20 views

openvpn server source address wrong?

I'm trying to set up a VPN network on my server to create a tunnel to my Raspberry Pi in my local network. The goal of this was to reach a prometheus metric provider on it. The problem is that the ...
0
votes
1answer
2k 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 ...
1
vote
3answers
3k views

Why does tcpdump see a reply, but not netcat

I'm debugging a OpenVPN site-to-site connection using UDP in netcat. I can get packets to flow in one direction (host A->host B), but not the reverse one. root@hosta:~# nc 10.0.3.2 1234 -u root@...
1
vote
1answer
1k views

Route traffic to some host in Internet via VPN server

I need route traffic to some host in Internet via VPN server. Configuration: Computer: ubuntu-12.04 eth0 - x.x.x.x/24 tun0 - inet addr:10.8.0.6 P-t-P:10.8.0.5 Mask:255.255.255.255 There is ...
5
votes
2answers
4k views

Connect to OpenVPN using Windows 10 built-in VPN

I have an OpenVPN network with a pretty much standard configuration: auth.txt file with user and password ca.crt file with the certificate my-nat.pem file with the identity for my VPC and the ...
0
votes
1answer
1k views

Openvpn and heartbeat

I have several servers connected to openvpn and I want to make simple ip failover with heartbeat, but I can't figure out how to assign virtual openvpn ip. Is it possible to configure heartbeat in ...
-1
votes
1answer
34 views

OpenVPN only redirect traffic that uses the openvpn network interface

I have a standard OpenVPN client setup on Windows 10 with this config (Windscribe VPN): client dev tun proto udp remote nl.windscribe.com 443 nobind auth-user-pass resolv-retry infinite auth ...
0
votes
1answer
24 views

OpenVPN - Cannot ping or ssh through vpn

I've set up OpenVPN 2.7, and can connect to the VPN just fine. When I try to ping or SSH to another server on the private network through the VPN, the connection times out. However, tcpdump on the ...
1
vote
1answer
1k views

Using iroute in OpenVPN server

I am attempting to establish network routing between two machines that always connect from 2 different networks, after consulting both articles: https://community.openvpn.net/openvpn/wiki/RoutedLans ...
0
votes
2answers
35 views

DMZ over OpenVPN

I'm setting up an OpenVPN server. I want it to redirect any incoming connection (except for ports 22 (ssh) and 1194 (the VPN server itself)) to a client connected to the VPN. The VPN server will live ...