This Gist contains my IPTables rules for securing the Asterisk VoIP server. The "string" module is used to identify legitimate users and block attackers.
Learn how to set up your personal VoIP server
↓ ↓ ↓ Scroll down for the IPTables rules ↓ ↓ ↓
#!/usr/bin/php | |
<?php | |
/*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
* | |
* Script: lgaetz-usermandel.php | |
* | |
* Latest version: https://gist.github.com/lgaetz/a6cc6139aefcb711a9de2f634690ceb6 | |
* | |
* Usage: Scipt to delete a FreePBX User Management user. Developed for FreePBX 14 |
#!/usr/bin/env php | |
<?php | |
/***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** | |
* | |
* Script: inroute-del.php | |
* | |
* Latest version: https://gist.github.com/lgaetz/fa550bc8f402df6edafea758da353315 | |
* | |
* Usage: Run script on FreePBX system with no arguments to get a list of inbound routes by index. |
#!/usr/bin/env php | |
<?php | |
if (!isset($argv[1])){ | |
echo " | |
***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** | |
* | |
* Script: extension-del.php | |
* | |
* Latest version: https://gist.github.com/lgaetz/f2d3d717520f8adf2018643473d1f748 |
This Gist contains my IPTables rules for securing the Asterisk VoIP server. The "string" module is used to identify legitimate users and block attackers.
Learn how to set up your personal VoIP server
↓ ↓ ↓ Scroll down for the IPTables rules ↓ ↓ ↓