Article View: news.software.nntp
Article #40821Re: Virtual news servers on INN2.2
From: Ron Schofield
Date: Thu, 14 Oct 1999 00:00
Date: Thu, 14 Oct 1999 00:00
42 lines
1904 bytes
1904 bytes
Ron Schofield wrote:
> Is it possible to setup virtual news servers (i.e. news.server1.com and
> news.server2.com) with INN 2.2? I think it is possible but have not seen
> anything in the man pages on virtual servers. Can anybody say yes or no,
> and if yes how does one go about it?
OK, after getting some pointers on how to do this, I got it to work (with
COL 2.3). Heres how:
news.vserver1.com 192.168.20.201
news.vserver2.com 192.168.20.202
add the following to /etc/hosts
192.168.20.201 news.vserver1.com virtualnews1
192.168.20.202 news.vserver2.com virtualnews2
add the following to /etc/sysconfig/network-scripts/ifcfg-eth0
ifconfig eth0:1 192.168.20.201
route add -host 192.168.20.201 dev eth0:1
ifconfig eth0:2 192.168.20.202
route add -host 192.168.20.202 dev eth0:2
in /etc/news/inn.conf
bindaddress: 192.168.20.201
in /etc/rc.d/local.rc
nnrpd -D -b 192.168.20.202
That should be it....
Technical Details
Message-ID:
<38068066.46D06197@hfx.andara.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<38055966.B729A9E9@hfx.andara.com>Show Full Headers
Complete Article Headers
Message-ID: <38068066.46D06197@hfx.andara.com> Subject: Re: Virtual news servers on INN2.2 Date: Thu, 14 Oct 1999 00:00:00 +0000 From: Ron Schofield <rschofie@hfx.andara.com> References: <38055966.B729A9E9@hfx.andara.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 536892201 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: postmaster@Dal.Ca X-Trace: News.Dal.Ca 939950009 27343 129.173.168.102 (15 Oct 1999 01:13:29 GMT) Organization: ISINet, Nova Scotia Mime-Version: 1.0 NNTP-Posting-Date: 15 Oct 1999 01:13:29 GMT Newsgroups: news.software.nntp