You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Asterisk logolás szintjének megemelése

- On the command prompt type: asterisk -r
- In the asterisk command line interface type: core set verbose 128
- Additionally, you can also type: core set debug 128

Trixbox tűzfal mögött

Megoldás

Tűzfalbeállítások Asterisk-hez

http://www.voip-info.org/wiki/view/Asterisk+firewall+rules

Beállítások iptables esetén
# SIP on UDP port 5060. Other SIP servers may need TCP port 5060 as well
iptables -A INPUT -p udp -m udp --dport 5060 -j ACCEPT

# IAX2- the IAX protocol
iptables -A INPUT -p udp -m udp --dport 4569 -j ACCEPT

# IAX - most have switched to IAX v2, or ought to
iptables -A INPUT -p udp -m udp --dport 5036 -j ACCEPT

# RTP - the media stream
iptables -A INPUT -p udp -m udp --dport 10000:20000 -j ACCEPT

# MGCP - if you use media gateway control protocol in your configuration
iptables -A INPUT -p udp -m udp --dport 2727 -j ACCEPT

Portech MV-372

Mobile to Lan szabályt a következők szerint kell beállítani

Paraméter

Érték

CID

*

URL

Mellék@Asterisk IP

Egyéb beállítási segédletek

http://www.powermediasrl.it/fsn/portech-mv-372-con-asterisktrixboxelastix.html

Linksys SPA3102

Az eszköz trixbox rendszerhez történő illesztését az itt található leírás alapján végezhetjük el egyszerűen

fail2ban telepítése Trixbox alá

First we are going to install the rpmforge repository and use the fail2ban package from there -

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
sed -i 's/enabled = 0/enabled = 1/' /etc/yum.repos.d/rpmforge.repo
yum install -y fail2ban jwhois
Now disable the rpmforge repo do that it doesn't interfere with any of the CentOS/Asterisk packages -

sed -i 's/enabled = 1/enabled = 0/' /etc/yum.repos.d/rpmforge.repo
Next we are going to create the fail2ban configuration file for Asterisk. This tells fail2ban what text to monitor the logs for -

  • No labels