From df18c4761abadb1dafebc360da1c84c2f4bb8182 Mon Sep 17 00:00:00 2001 From: DigiDaz Date: Thu, 5 May 2016 22:55:59 +0100 Subject: [PATCH 1/2] Add some essential rules --- debian/resources/iptables.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/resources/iptables.sh b/debian/resources/iptables.sh index 9f70728..5d3e6cb 100644 --- a/debian/resources/iptables.sh +++ b/debian/resources/iptables.sh @@ -4,6 +4,14 @@ echo "Configure IPTables" #run iptables commands +iptables -A INPUT -j DROP -p udp --dport 5060 -m string --string "friendly-scanner" --algo bm +iptables -A INPUT -j DROP -p udp --dport 5060 -m string --string "sipcli/" --algo bm +iptables -A INPUT -j DROP -p tcp --dport 5060 -m string --string "friendly-scanner" --algo bm +iptables -A INPUT -j DROP -p tcp --dport 5060 -m string --string "sipcli/" --algo bm +iptables -A INPUT -j DROP -p udp --dport 5080 -m string --string "friendly-scanner" --algo bm +iptables -A INPUT -j DROP -p udp --dport 5080 -m string --string "sipcli/" --algo bm +iptables -A INPUT -j DROP -p tcp --dport 5080 -m string --string "friendly-scanner" --algo bm +iptables -A INPUT -j DROP -p tcp --dport 5080 -m string --string "sipcli/" --algo bm iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -p tcp --dport 22 -j ACCEPT @@ -23,4 +31,4 @@ iptables -P OUTPUT ACCEPT #answer the questions for iptables persistent echo iptables-persistent iptables-persistent/autosave_v4 boolean true | debconf-set-selections echo iptables-persistent iptables-persistent/autosave_v6 boolean true | debconf-set-selections -apt-get install -y --force-yes iptables-persistent \ No newline at end of file +apt-get install -y --force-yes iptables-persistent From b9856aca61be4db1353cfcc6a76d2256b7f7b2d5 Mon Sep 17 00:00:00 2001 From: DigiDaz Date: Thu, 5 May 2016 23:07:00 +0100 Subject: [PATCH 2/2] Memcached module needs starting Add instructions to start mod_memcached --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3090cc..1e3705d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ cd /usr/src/fusionpbx-install.sh/debian At the end of the install it will instruct you to go to the ip address of the server in your web browser to finish the install. It will also provide a random database password for you to use during the web based phase of the install. The install script builds the fusionpbx database so you will not need to use the create database username and password on the last page of the web based install. -After you have completed the install you can login with the username and password you chose during the install. After you login go to them menu then Advanced -> Upgrade select the checkbox for App defaults. Then go to Status -> SIP Status and start the SIP profiles. +After you have completed the install you can login with the username and password you chose during the install. After you login go to them menu then Advanced -> Upgrade select the checkbox for App defaults. Then go to Status -> SIP Status and start the SIP profiles, after this, go to Advanced -> Modules and find the module Memcached and click start. For additional information to get started go to http://docs.fusionpbx.com/en/latest/getting_started.html