summaryrefslogtreecommitdiff
path: root/net/znc/files/znc.conf
blob: 1b0d842a53e596e66d8518a615c646478ac522e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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'