config znc
|
|
# If using SSL sockets, use the following certificate:
|
|
# option znc_ssl_cert '/etc/znc.cert'
|
|
|
|
# load global modules (You need to install them first):
|
|
# list module 'fail2ban'
|
|
|
|
# remove this to enable the service
|
|
option disabled 1
|
|
|
|
config listener 'sampleListener'
|
|
option allowirc 'true'
|
|
option allowweb 'false'
|
|
option host '192.168.1.1'
|
|
option port '1234'
|
|
option ipv4 'true'
|
|
option ipv6 'false'
|
|
# you must set option_ssl_cert in znc section before change
|
|
option ssl 'false'
|
|
|
|
config user 'sampleUser'
|
|
# Use either a plain text password or use the full sha256#... line.
|
|
# You can generate one with 'znc -s'.
|
|
option password 'changeme'
|
|
option nick 'sampleUser'
|
|
option altnick 'userSample'
|
|
option ident 'openwrt'
|
|
option realname 'John Doe'
|
|
|
|
# This adds support for channels in znc configuration:
|
|
# list channel '#chan optional_password'
|
|
|
|
# list of allowed servers:
|
|
# list server 'chat.freenode.net 6667'
|
|
|
|
# load user modules ('<module> [params...]'):
|
|
# list module 'simple_away -timer 10 disconnected'
|