From d7635686639eae89728b2a127f38b529ceb77ddd Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 6 Oct 2014 19:01:50 +0100 Subject: [PATCH] Make ngirc certificates --- install-freedombone.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 98857e96..dc6f9b2c 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -1706,6 +1706,7 @@ function configure_firewall_for_irc { return fi iptables -A INPUT -i eth0 -p tcp --dport 6697 -j ACCEPT + iptables -I INPUT -i eth0 -p tcp --dport 1024:65535 --sport 6697 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 9999 -j ACCEPT save_firewall_settings echo 'configure_firewall_for_irc' >> $COMPLETION_FILE @@ -3177,7 +3178,7 @@ function install_irc_server { exit 53 fi - if [ ! "/etc/ssl/private/ngircd.key" ]; then + if [ ! -f /etc/ssl/private/ngircd.key ]; then makecert ngircd fi