Allow Selected IP to Register SIP

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Allow Selected IP to Register SIP

Postby zenithbsolutions » Wed Feb 28, 2018 2:31 am

Hi,

How can we allow only selected IPs to register SIP phone and reject rest of them. Cause we see many wrong password alerts on the asterisk. We have tried the latest firewall on 8.0.1 with method2 from viewtopic.php?f=8&t=37716 but it crashed the system and we are now getting only 2 sockets on server, also the dialplan or any carrier changes on the server are not being applied.

We've also tried blocking the IPs using ipset add badips xxx.xxx.xxx.xxx

But the above one doesn't store the IPs and will clear the blocked IP list on server restart.

So it would be great if someone can help me on how to block the IPs permanently and allow only whitelist IPs.

Thank you.
zenithbsolutions
 
Posts: 124
Joined: Tue Aug 25, 2015 2:17 am

Re: Allow Selected IP to Register SIP

Postby uselessinfoguru » Wed Feb 28, 2018 2:42 pm

You said what you need at the end of that, Whitelisted IPs... follow the installing Dynamic Good Guys guide... if you only want a whitelisted firewall, and do not want the remote access portal capability or the web interface to manage IPs you can follow just the first steps of the guide. Here's a link.

http://viciwiki.com/index.php/DGG
VERSION: 2.14-736a | BUILD: 200204-2336| Cluster Setup
uselessinfoguru
 
Posts: 74
Joined: Tue Jul 25, 2017 10:27 pm

Re: Allow Selected IP to Register SIP

Postby uselessinfoguru » Wed Feb 28, 2018 2:44 pm

Also make sure you turn off Ping, that is most likely your main culprit for hacker attacks. If they can not ping your server, they can not use most of their hacking programs to find your server.
VERSION: 2.14-736a | BUILD: 200204-2336| Cluster Setup
uselessinfoguru
 
Posts: 74
Joined: Tue Jul 25, 2017 10:27 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 99 guests