da_admin
(DA Admin)
15 December 2020 14:47
1
Hi @ all,
we have an OpenVPN running over ipfire. The login works. We can connect to any server in the school but not to the server with ip IP 192.168.0.210 or 192.168.0.240.
Are the IP addresses out of range?
We use the connection type:
Host-to-Net Virtual Private Network (RoadWarrior)
Where is the error?
Thanks to all who help us
pmueller
(Peter Müller)
15 December 2020 15:16
2
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
jon
(Jon)
15 December 2020 22:45
3
sipcalc seems like a really good add-on for IPFire!
and I really wish I understood more about development and add-ons and builds!
2 Likes
pmueller
(Peter Müller)
16 December 2020 15:52
4
Hi,
yes, I suppose it is. Should not be too hard to package it, I will try to have a look at it within the next weeks…
However, it would be great to hear OP confirming or denying this being the solution to his/her (?) problem.
Thanks, and best regards,
Peter Müller
1 Like
rjschilt
(Robert Schilt)
16 December 2020 19:11
5
A very useful tool indeed but not one I personally would install on our IPFire hardware.