powered by Jive Software

How to block clients from some networks

Hello!

How I can block some networks at my Openfire server?

Like 192.168.15.0/255.255.255.0

Thanks!

Hi,

Openfire has no such function. You may want to use a firewall or set up a special route for networks you want to be unreachable for Openfire.

LG

Hi Logo,

On the admin console, there is something called:

Restrict Login

Use the form below to define the IP

addresses or IP address ranges that are allowed to login. E.g.:

200.120.90.10, 200.125.80.*. Leaving the form empty means that clients

will be able to connect from any IP address.

You can find this under “Server Settings” -> “Registration & Login”.

While it doesn’t do exactly what you want, it does the opposite which may be a workaround?

daryl

Hi.
What is the syntax for setting a range in this field?

It says it can be done, but only gives single address and wild card options; neither of these are actually ranges.

I see how to do a single address (such as 10.0.0.1) and/or a wild card address (such as 10.0.0.*), but none of the ways I’ve tried it (such as 10.0.0.1-45 or 10.0.0.1-10.0.0.45 or 10.0.0.0/255.255.255.# or 10.0.0.0/##) work. Oh, these numbers are completely made up on the fly just for examples…so don’t get hung up there).

Any ideas?

Thanks.

steven