summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2007-11-23 16:26:03 +0000
committerFlorian Westphal <fw@strlen.de>2007-11-23 16:26:03 +0000
commit82d32ffb28262b302fb435739e4c81bd3c1a1b85 (patch)
tree2949b21f9691c7f3bd5718a5dd20341a83a555ce /doc
parent024588dbe72e25b49439602670be7d8164183a74 (diff)
downloadngircd-82d32ffb28262b302fb435739e4c81bd3c1a1b85.tar.gz
ngircd-82d32ffb28262b302fb435739e4c81bd3c1a1b85.zip
bind ListenAddress for outgoing connections
ngircd would always use INADDR_ANY for outgoing connections;
which might not be desirable. Added new [Server] option
"Bind" to set source ip.
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index 924f0595..973c6803 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf
@@ -1,4 +1,4 @@
-# $Id: sample-ngircd.conf,v 1.42 2007/11/21 12:16:35 alex Exp $
+# $Id: sample-ngircd.conf,v 1.43 2007/11/23 16:26:03 fw Exp $
 
 #
 # This is a sample configuration file for the ngIRCd, which must be adepted
@@ -154,6 +154,10 @@
 	# this server should establish the connection).
 	;Host = connect-to-host.the.net
 
+	# IP address to use as _source_ address for the connection. if unspecified,
+	# ngircd will let the operating system pick an address.
+	;Bind = 10.0.0.1
+
 	# Port of the server to which the ngIRCd should connect. If you
 	# assign no port the ngIRCd waits for incoming connections.
 	;Port = 6667