You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB

  1. config znc
  2. # If using SSL sockets, use the following certificate:
  3. # option znc_ssl_cert '/etc/znc.cert'
  4. # load global modules (You need to install them first):
  5. # list module 'fail2ban'
  6. # remove this to enable the service
  7. option disabled 1
  8. config listener 'sampleListener'
  9. option allowirc 'true'
  10. option allowweb 'false'
  11. option host '192.168.1.1'
  12. option port '1234'
  13. option ipv4 'true'
  14. option ipv6 'false'
  15. # you must set option_ssl_cert in znc section before change
  16. option ssl 'false'
  17. config user 'sampleUser'
  18. # Use either a plain text password or use the full sha256#... line.
  19. # You can generate one with 'znc -s'.
  20. option password 'changeme'
  21. option nick 'sampleUser'
  22. option altnick 'userSample'
  23. option ident 'openwrt'
  24. option realname 'John Doe'
  25. # This adds support for channels in znc configuration:
  26. # list channel '#chan optional_password'
  27. # list of allowed servers:
  28. # list server 'chat.freenode.net 6667'
  29. # load user modules ('<module> [params...]'):
  30. # list module 'simple_away -timer 10 disconnected'