commit dfedda0d296663197c331025bc1a377bba328141 (patch) parent 3fd339cec705a07b7716ba01997c902c6a74cb41 Author: alex <alex@garbash.com> Date: Fri, 24 Sep 2021 23:52:44 -0400 ngircd: Add ngircd config for localhost-only IRC server I think the plan is to only serve localhost and have people use wireguard to connect to a bouncer that's connected on localhost. Diffstat:
M | Makefile | | | 2 | ++ |
A | etc/ngircd/ngircd.conf | | | 28 | ++++++++++++++++++++++++++++ |
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -10,3 +10,5 @@ pull: for f in $(FILES); do \ cp $$f .$$f; \ done + sed 's/Password =.*/Password = <redacted>/' /etc/ngircd/ngircd.conf > \ + etc/ngircd/ngircd.conf diff --git a/etc/ngircd/ngircd.conf b/etc/ngircd/ngircd.conf @@ -0,0 +1,28 @@ +# See ngircd.conf and /usr/local/share/examples/ngircd/sample-ngircd.conf +# for more info on syntax, etc +[Global] + Name = irc.garbash.com + AdminEMail = alex@garbash.com + HelpFile = /usr/local/share/doc/ngircd/Commands.txt + Info = internal irc + Listen = 127.0.0.1 + MotdPhrase = "Create something worth rewriting" + Ports = 6667 + ServerGID = _ngircd + ServerUID = _ngircd + +[Limits] + MaxJoins = 0 + MaxNickLength = 9 + +[Options] + ChrootDir = /var/ngircd + DefaultUserModes = iw + +[Operator] + Name = root + Password = <redacted> + +[Channel] + Name = #garbash + Topic = for discussions about the tilde