VOIP TRUNKS: Liberty - IP TRUNK Answer:
PASO #1 : Via SSH crear ruta para Tarjeta de LAN(Importante: remplazar eth# con el numero de la tarjeta que se utilizara)
nano /etc/sysconfig/network-scripts/route-eth2
24.50.198.0/29 via 10.250.17.1 dev eth2
Guardar "Save"
"Reboot" al Server
PASO ...
VOIP TRUNKS: AT&T - IP TRUNK Answer:
PASO #1 : Via SSH crear ruta para Tarjeta de LAN(Importante: remplazar eth# con el numero de la tarjeta que se utilizara)
nano /etc/sysconfig/network-scripts/route-eth2
24.50.198.0/29 via 10.250.17.1 dev eth2
Guardar "Save"
"Reboot" al Server
PASO ...
PBX SERVER: DNS Cache - Asterisk Answer:
SOURCE: http://www.c2s.co.nz/blog/sc-installing-pdns-recursor-in-elastix/
Install DNS Recursor:
yum -y install pdns-recursor
Edit Config File:
nano -w /etc/pdns-recursor/recursor.conf
#################################
# allow-from If set, only allow these comma separated netmasks to recurse
#
# ...
PBX SERVER: Change default CentOS text editor from VI to Nano Answer:
SOURCE: http://www.khmer365.com/index.php?topic=3791.0
To change default VI Editor to Nano (Temporary)> Type the command as follows:
which nano
export EDITOR=/usr/bin/nano
crontab -e
To change default VI Editor to Nano (Permanent) > ...
PBX SERVER: Hotel - Management System Answer:
http://blogs.elastix.org/en/2010/03/how-to-hotel-management-system/
1) Installing the base systemFirst you’re going to need to ssh in to your Elastix PBX System.Then, run the following:
cd /var/www/htmlwget http://www.kefa.it/hotel.tar.gztar zxvf hotel.tar.gzrm hotel.tar.gzcd ...
PBX SERVER: Call Recordings - Server Maintenance Answer:
1) Create Folder: mkdir /etc/recordingdeletion/2) Create File Inside Folder: nano OldRecordingDeletion.sh
#!/bin/bash
# Change this path to reflect your recording storage
# location
RECORDINGS=/var/spool/asterisk/monitor
# Change this number to reflect ...
ROUTERS & FIREWALLS: Unblock IP from Fail2Ban Answer:
SOURCE: http://help.webcontrolcenter.com/KB/a1023/unblock-ip-from-fail2ban.aspx http://richardjh.org/blog/unblocking-fail2ban-hosts/
https://www.howtoforge.com/how-to-whitelist-an-ip-in-fail2ban-on-debian-wheezy
Login as root user and run command:
#iptables -L -n
Fail2Ban Blocked IP's Results:
Chain fail2ban-SSH (1 ...
ROUTERS & FIREWALLS: Firewall-Iptables Answer:
SOURCE: Seguridad en Servidores 0-8-6.pdf
Login as root user and run command:
iptables -A INPUT -s 192.168.0.0/24 -j ACCEPTiptables -A INPUT -p udp -m udp -i eth0 ...
ROUTERS & FIREWALLS: Change SSH port 22 to another one Answer:
SOURCE: http://www.liquidweb.com/kb/changing-the-ssh-port/
Backup Current Setup:
cp /etc/ssh/sshd_config /etc/ssh/sshd_config_backup
Edit and Change SSH Port from 22 to 20022:
nano /etc/ssh/sshd_config
Firewall - Open New Port and Close Old Port:
Edit Firewall Rules ...