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
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