|
config znc
|
|
# where to listen for connections
|
|
list listener '192.168.1.1 1234'
|
|
# If using SSL sockets, use the following certifcate:
|
|
# 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 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'
|