Files
PatchBay/examples/patchbay.conf.target
mueller_minki 8e83a98ef4 Initial Awawawa
2026-10-04 09:08:27 +02:00

40 lines
1.2 KiB
SYSTEMD

# PatchBay target (exit gateway). Install as /etc/patchbay/patchbay.conf, mode 600.
Role = target
# Port of the dedicated PatchBay sshd that clients connect to.
TargetPort = 2222
# Loopback port the sshd forwards data channels to (never exposed).
HubPort = 7701
# Web interface (HTTPS). A self-signed certificate is created if missing.
WebBind = 0.0.0.0
WebPort = 8443
TLSCert = /etc/patchbay/tls.crt
TLSKey = /etc/patchbay/tls.key
SessionHours = 12
# Sysop: the only account that manages users and server settings.
# A plaintext password is replaced by its hash on the first web start.
SysopUser = admin
SysopEmail = admin@example.org
SysopPassword = change-me-please
# Mail server for login codes. MailSecurity: ssl, starttls or none.
# MailHost = log prints mails to the web log (testing only).
MailHost = smtp.example.org
MailPort = 587
MailSecurity = starttls
MailUser = patchbay@example.org
MailPassword = secret
MailFrom = patchbay@example.org
# Optional overrides:
# Database = /etc/patchbay/patchbay.db
# RunDir = /run/patchbay
# SSHUser = patchbay
# SSHHostKey = /etc/patchbay/ssh_host_ed25519_key
# AuthorizedKeys = /etc/patchbay/authorized_keys
# DaemonPath = /usr/local/sbin/patchbayd
# ServicesInterval = 30
# LogLevel = info