aboutsummaryrefslogtreecommitdiff
path: root/net/znc/files/znc.conf
blob: 086eb40bcc615542b0eb755b824094dc165c94dd (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
30
31
32
33
34
35
36
37
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'