I am trying to set up routing between an OpenVPN network (10.8.0.0/24) and a LAN network (10.10.10.0/24) on OpenWRT. I have an OpenVPN server with the configuration:
Configuration of the OpenVPN server:
port 1194
proto tcp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.8.0.0 255.255.255.0"
client-to-client
route 10.10.10.0 255.255.255.0 10.8.0.3
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key
crl-verify crl.pem
ca ca.crt
cert server_kRNIy2ZLLbIrA2Yt.crt
key server_kRNIy2ZLLbIrA2Yt.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3
Configuration of the OpenWRT router:
LAN: 10.10.10.0/24, Router IP 10.10.10.1 WAN: 192.168.10.225/16, Gateway 192.168.10.1 OPENVPN CLIENT: 10.8.0.3 The routes on the server and router are configured, but I cannot ping devices on the LAN from the OpenVPN device.
I tried adding routes on the router and server.