We probably don't need port 9999 for irc

This commit is contained in:
Bob Mottram 2016-01-06 14:52:34 +00:00
parent ed095283f4
commit 34a576923b
4 changed files with 3 additions and 11 deletions

View File

@ -181,7 +181,6 @@ On your internet router, typically under firewall settings, open the following p
| XMPP | 5269 |
| XMPP | 5280..5281 |
| IRC | 6697 |
| IRC | 9999 |
| Git | 9418 |
| Email | 25 |
| Email | 587 |

Binary file not shown.

View File

@ -4080,7 +4080,6 @@ function configure_firewall_for_irc {
fi
iptables -A INPUT -p tcp --dport $IRC_PORT -j ACCEPT
iptables -I INPUT -p tcp --dport 1024:65535 --sport $IRC_PORT -j ACCEPT
iptables -A INPUT -p tcp --dport 9999 -j ACCEPT
save_firewall_settings
echo 'configure_firewall_for_irc' >> $COMPLETION_FILE
}
@ -7148,7 +7147,7 @@ function install_irc_server {
sed -i 's|;CertFile = /etc/ssl/certs/server.crt|CertFile = /etc/ssl/certs/ngircd.crt|g' /etc/ngircd/ngircd.conf
sed -i 's|;DHFile = /etc/ngircd/dhparams.pem|DHFile = /etc/ssl/certs/ngircd.dhparam|g' /etc/ngircd/ngircd.conf
sed -i 's|;KeyFile = /etc/ssl/private/server.key|KeyFile = /etc/ssl/private/ngircd.key|g' /etc/ngircd/ngircd.conf
sed -i "s/;Ports =.*/Ports = $IRC_PORT, 9999, $IRC_ONION_PORT/g" /etc/ngircd/ngircd.conf
sed -i "s/;Ports =.*/Ports = $IRC_PORT, $IRC_ONION_PORT/g" /etc/ngircd/ngircd.conf
sed -i "s/;Name = #ngircd/Name = #${PROJECT_NAME}/g" /etc/ngircd/ngircd.conf
sed -i "s/;Topic = Our ngircd testing channel/Topic = ${PROJECT_NAME} chat channel/g" /etc/ngircd/ngircd.conf
sed -i 's/;MaxUsers = 23/MaxUsers = 23/g' /etc/ngircd/ngircd.conf
@ -7181,7 +7180,7 @@ function install_irc_server {
IRC_ONION_HOSTNAME=
if [[ $ONION_ONLY != "no" ]]; then
sed -i "s/;Ports =.*/Ports = $IRC_PORT, 9999/g" /etc/ngircd/ngircd.conf
sed -i "s/;Ports =.*/Ports = $IRC_PORT/g" /etc/ngircd/ngircd.conf
IRC_ONION_HOSTNAME=$(add_onion_service irc ${IRC_PORT} ${IRC_PORT})
else
IRC_ONION_HOSTNAME=$(add_onion_service irc ${IRC_PORT} ${IRC_ONION_PORT})
@ -9667,7 +9666,6 @@ function install_final {
XMPP 5269
XMPP 5280-5281
IRC 6697
IRC 9999
Git 9418
Email 25
Email 587

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2016-01-05 Tue 15:59 -->
<!-- 2016-01-06 Wed 14:52 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -541,11 +541,6 @@ On your internet router, typically under firewall settings, open the following p
<td class="org-right">6697</td>
</tr>
<tr>
<td class="org-left">IRC</td>
<td class="org-right">9999</td>
</tr>
<tr>
<td class="org-left">Git</td>
<td class="org-right">9418</td>