From 82d32ffb28262b302fb435739e4c81bd3c1a1b85 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 23 Nov 2007 16:26:03 +0000 Subject: 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. --- doc/sample-ngircd.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit 1.4.1