Neews to accomodate multiple news servers from uu.net
Miroslaw Luc
mirecki at nask.pl
Sat Nov 10 22:40:29 UTC 2007
On Fri, 9 Nov 2007, The Doctor wrote:
> Question:
> >From uu.net, I need to permit
> newsXXXX.news.uu.net
> with 198.6.0.o/24 .
> What do I need to do to get this correct for incoming.comf?
You need 254(6?) entries in your incoming.conf file.
Or do some magic in your firewall or nameserver setup.
You can configure iptables/SNAT, ipfilter/map, pf/nat etc to map
all of 198.6.0.0/24 source addresses to 1 address that your news server
will accept. It needs a firewall / NAT box *before* your server.
You can also use some BIND's features. See BIND's `view' statement.
In incoming.conf:
peer uunet {
hostname: newsXXXX.news.uu.net.FAKE
}
In named.conf:
view uunet_for_doctor_inn {
match-clients { IP-address_doctor_newsserver; };
zone "newsXXXX.news.uu.net.FAKE" {
type master;
file "zone-file";
...
};
};
In zone-file:
[... SOA and NS records ...]
$GENERATE 1-254 @ A 198.6.0.$
And so on.
I never tested such config but I think it could be working:)
-Mirek
More information about the inn-workers
mailing list