I'm having trouble with an OpenVPN configuration.
The goal is a remote connection to our office, primarily for access to network shares.
Configuration;
Code: Select all
Router: 192.168.178.1
VPN-Server (Raspberry 4, Bullseye): 192.168.178.42
VPN IP: 10.10.76.0
UFW installed, but disabled
Code: Select all
dev tun
proto udp
port 9930
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/vpnbox_270b144c-336c-4a25-84d9-820d787aa738.crt
key /etc/openvpn/easy-rsa/pki/private/vpnbox_270b144c-336c-4a25-84d9-820d787aa738.key
dh none
ecdh-curve secp521r1
topology subnet
server 10.10.76.0 255.255.255.0
client-to-client
client-config-dir /etc/openvpn/ccd
push "route 192.168.178.0 255.255.255.0"
route 10.10.76.0 255.255.255.0
keepalive 15 30
remote-cert-tls client
tls-version-min 1.2
tls-crypt /etc/openvpn/easy-rsa/pki/ta.key
cipher AES-256-CBC
auth SHA256
user openvpn
group openvpn
persist-key
persist-tun
crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
status-version 3
syslog
verb 3
Code: Select all
ifconfig-push 10.10.76.200 255.255.255.0
However, if I try to ping the router via the VPN, for example, I only get a timeout.
I suspect that a route is missing on the VPN server and therefore does not forward it to the LAN.
Happy about tips
Many greetings
Jan