2010-10-25 15:01:08 +00:00
|
|
|
config znc
|
|
|
|
# where to listen for connections
|
|
|
|
list listener '192.168.1.1 1234'
|
2011-04-19 15:11:02 +00:00
|
|
|
# If using SSL sockets, use the following certifcate:
|
|
|
|
# option znc_ssl_cert '/etc/znc.cert'
|
|
|
|
|
2010-12-13 18:36:41 +00:00
|
|
|
# load global modules (You need to install them first):
|
|
|
|
# list module 'fail2ban'
|
2010-10-25 15:01:08 +00:00
|
|
|
|
|
|
|
config user 'sampleUser'
|
2010-12-13 18:36:41 +00:00
|
|
|
# Use either a plain text password or use the full sha256#... line.
|
|
|
|
# You can generate one with 'znc -s'.
|
2010-10-25 15:01:08 +00:00
|
|
|
option password 'changeme'
|
|
|
|
option nick 'sampleUser'
|
|
|
|
option altnick 'userSample'
|
|
|
|
option ident 'openwrt'
|
|
|
|
option realname 'John Doe'
|
2010-12-13 18:36:41 +00:00
|
|
|
|
2010-12-02 22:31:38 +00:00
|
|
|
# This adds support for channels in znc configuration:
|
|
|
|
# list channel '#chan optional_password'
|
2010-10-25 15:01:08 +00:00
|
|
|
|
2010-12-13 18:36:41 +00:00
|
|
|
# list of allowed servers:
|
2010-10-25 15:01:08 +00:00
|
|
|
list server 'chat.freenode.net 6667'
|
2010-12-13 18:36:41 +00:00
|
|
|
|
|
|
|
# load user modules ('<module> [params...]'):
|
|
|
|
# list module 'simple_away -timer 10 disconnected'
|