Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
d86311fc
Verified
Commit
d86311fc
authored
Jun 11, 2020
by
Jan Alexander Steffens (heftig)
Browse files
matrix: Only expose the IRC appservice to 127.0.0.1
parent
7a22b1dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/matrix/files/matrix-appservice-irc.service
View file @
d86311fc
...
...
@@ -8,8 +8,7 @@ User=synapse
WorkingDirectory
=
/var/lib/synapse/matrix-appservice-irc
ExecStart
=
/usr/bin/node app.js
\
-c /etc/synapse/irc-bridge.yaml
\
-f /etc/synapse/appservice-registration-irc.yaml
\
-p 8499
-f /etc/synapse/appservice-registration-irc.yaml
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
...
...
roles/matrix/templates/irc-bridge.yaml.j2
View file @
d86311fc
...
...
@@ -34,11 +34,11 @@ homeserver:
# Which port should the appservice bind to. Takes priority over the one provided in the
# command line! Optional.
#
bindPort:
99
99
bindPort:
84
99
# Use this option to force the appservice to listen on another hostname for transactions.
# This is NOT your synapse hostname. E.g. use 127.0.0.1 to only listen locally. Optional.
#
bindHostname:
0
.0.0.
0
bindHostname:
127
.0.0.
1
# Configuration specific to the IRC service
ircService:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment