about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index 13014d32..9f107a83 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf
@@ -103,6 +103,15 @@
 	# Don't do any DNS lookups when a client connects to the server.
 	;NoDNS = no
 
+	# allow both ipv4 and ipv6 clients to connect by opening both
+	# ipv4 and ipv6 sockets
+	;ListenIPv6 = yes
+	;ListenIPv4 = yes
+
+	# try to connect to other irc servers using ipv4 and ipv6, if possible
+	;ConnectIPv6 = yes
+	;ConnectIPv4 = yes
+
 	# Maximum number of simultaneous connection the server is allowed
 	# to accept (0: unlimited):
 	;MaxConnections = 0