Jump to content

restrict IP-range for operators

3 replies to this topic

#1 netviewer_ps


  • Members
  • Pip
  • 6 posts

Posted 03 January 2011 - 03:00 PM

I couldn't find an answer to this question yet. We have multiple chat operators in our company. Those operators will always work from within our LAN. Since we know their IP range we'd like all operator chat clients to be restricted to this range. Respectivly to forbid any chat client outside of this range to receive/answer chat requests. How to achieve this?


#2 Derek Punzova

    Support Team Member

  • Moderators
  • 6181 posts

Posted 03 January 2011 - 03:15 PM

This is something you would need to code yourself.

My approach would be something like this:
1.) logon to your webserver using FTP
2.) edit intern.php
3.) add something like
in first line while 123.123.123 must be replaced by the first 3 octets of your operators IP range.
- If you like to suggest a new feature, please click here.
Kind Regards,

#3 Guest__*

  • Guests

Posted 26 January 2011 - 07:48 AM

What if i need to add multiple ip ranges ?

#4 Guest__*

  • Guests

Posted 27 January 2011 - 12:35 PM

I've Solved my problem using this command:

if(strpos($_SERVER["REMOTE_ADDR"],"172.16.")===false && strpos($_SERVER["REMOTE_ADDR"],"192.168.1.")===false && strpos($_SERVER["REMOTE_ADDR"],"192.168.20.")===false)exit();


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users