Open VPN no ping to 192.168.0.240

Hi,

in case they should be reached via that OpenVPN connection: Yes.

192.168.2.0/24 covers 192.168.2.0 through 192.168.2.255, so anything outside that range won’t be routed through the OpenVPN connection.

In case of more complex CIDR calculations, I recommend sipcalc:

user@machine:~$ sipcalc 192.168.2.0/24
-[ipv4 : 192.168.2.0/24] - 0

[CIDR]
Host address			- 192.168.2.0
Host address (decimal)	- 3232236032
Host address (hex)		- C0A80200
Network address			- 192.168.2.0
Network mask			- 255.255.255.0
Network mask (bits)		- 24
Network mask (hex)		- FFFFFF00
Broadcast address		- 192.168.2.255
Cisco wildcard			- 0.0.0.255
Addresses in network	- 256
Network range			- 192.168.2.0 - 192.168.2.255
Usable range			- 192.168.2.1 - 192.168.2.254

-

Thanks, and best regards,
Peter Müller