Verified Commit d86311fc authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Only expose the IRC appservice to 127.0.0.1

parent 7a22b1dc
......@@ -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]
......
......@@ -34,11 +34,11 @@ homeserver:
# Which port should the appservice bind to. Takes priority over the one provided in the
# command line! Optional.
# bindPort: 9999
bindPort: 8499
# 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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment