I have a RPI4 VPN Client connected to a RPI4 VPN Server over the Internet.
The server is on 172.27.3.100
The client is on 192.168.1.100
The client network also has: 192.168.2.0/24 and 192.168.3.0/24
To the Server config, I added:in the ccd folder, I added a file of the client name of the .opvn file it is using( client). Into that file I added:
iroute 192.168.0.0 255.255.0.0
After rebooting the Server, I can access and ping any device on 192.168.1.0/24 (where the client lives) from the Server side.
But I cannot access or ping any device on 192.168.2.0/24 or 192.168.3.0/24.
However if I log directly in the client (not through VPN), I can ping and access all the devices on the other two networks.
I've gone over the OpenVPN docs for "Including multiple machines on the client side when using a routed VPN (dev tun)":
https://openvpn.net/community-resources ... er-subnet/
It's just one client to one server, so I don't believe I need routing to all clients.
So this appears to not be a VPN issue, but some other routing, iptables, ???, issue.
Any ideas?
Need more info?
The server is on 172.27.3.100
The client is on 192.168.1.100
The client network also has: 192.168.2.0/24 and 192.168.3.0/24
To the Server config, I added:
Code:
route 192.168.0.0 255.255.0.0client-config-dir /etc/openvpn/server/ccd/iroute 192.168.0.0 255.255.0.0
After rebooting the Server, I can access and ping any device on 192.168.1.0/24 (where the client lives) from the Server side.
But I cannot access or ping any device on 192.168.2.0/24 or 192.168.3.0/24.
However if I log directly in the client (not through VPN), I can ping and access all the devices on the other two networks.
I've gone over the OpenVPN docs for "Including multiple machines on the client side when using a routed VPN (dev tun)":
https://openvpn.net/community-resources ... er-subnet/
It's just one client to one server, so I don't believe I need routing to all clients.
So this appears to not be a VPN issue, but some other routing, iptables, ???, issue.
Any ideas?
Need more info?
Statistics: Posted by Prof. R. Myrkr — Thu May 29, 2025 4:12 am