Make ngirc certificates

This commit is contained in:
Bob Mottram 2014-10-06 19:01:50 +01:00
parent 5c102d5bd7
commit d763568663
1 changed files with 2 additions and 1 deletions

View File

@ -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