OpenVPN issue - cannot reach local network

jmaitra

Member
Oct 4, 2020
24
7
23
Hi @all,

i successfully set up a openvpn lxc container in my 8.1.10 pve using this documentation

https://pve.proxmox.com/wiki/OpenVPN_in_LXC

Remote dial in via Windows 11 as well as macOS OpenVPN-Client works perfect. My problem is, that thru this vpn connection i am only able to reach the lxc container. I am not able to reach the other machines in the remote network.

A "ping 192.168.2.1" on the windows 11 machine fails but works well from lxc container. No firewall setup neither on the container vm nor on the pve.

local network 192.168.2.0

/etc/openvpn/server/server.conf
local 192.168.2.84
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 192.168.2.90"
push "dhcp-option DNS 192.168.1.38"
push "block-outside-dns"
keepalive 10 120
# remove for AD authentication
# user nobody
# group nogroup
persist-key
persist-tun
verb 4
crl-verify crl.pem
explicit-exit-notify
plugin /usr/lib/openvpn/openvpn-auth-ldap.so /etc/openvpn/auth/auth-ldap.conf
# client-cert-not-required
verify-client-cert require


Any help would highly appreciated.

Best regards
Jens
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!