Article View: news.admin.peering
Article #528Re: Configuration change for news.albasani.net
From: Alexander Bartolich
Date: Sun, 13 Mar 2011 14:51
Date: Sun, 13 Mar 2011 14:51
36 lines
2507 bytes
2507 bytes
Thomas Hochstein wrote:
> Alexander Bartolich schrieb:
>
>> On 2011-03-01 news.albasani.net moved to a new machine.
>> IP address and feeding port changed.
>
> You still accept the old port, 119, don't you?
Yes, indeed. I use iptables to redirect traffic from peers. [1]
iptables -t nat -N REDIRECT_nntp
iptables -t nat -F REDIRECT_nntp
iptables -t nat -A PREROUTING -p tcp -d 178.63.61.145 --dport 119 -j REDIRECT_nntp
iptables -t nat -A REDIRECT_nntp -p tcp -s 87.106.167.149 -j REDIRECT --to-ports 433
Unfortunately this works only for IPv4, as the IPv6 port of iptables
does not provide table "nat". Consequently all peers that automatically
switched to IPv6 once the AAAA records became available are stranded
with a dumb NNRPD that refuses "MODE STREAM".
> [...]
> There is
>| port-number: 433
> missing in that example, I think.
Oh, thank you.
Ciao
Alexander.
--
[1] The script that reads incoming.conf and generates these iptables
rules is called bin/make-iptables-redirect.pl and is available at
the usual place, http://svn.schnuerpel.eu/
--
Technical Details
Message-ID:
<ilillf$106$1@news.albasani.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.peering.20140428.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!weretis.net!feeder4.news.weretis.net!news.albasani.net!.POSTED!not-for-mailReferences:
<ilh4ji$3jc$1@news.albasani.net> <nap.1103131501.993@thorondor.akallabeth.de>Show Full Headers
Complete Article Headers
Message-ID: <ilillf$106$1@news.albasani.net> Subject: Re: Configuration change for news.albasani.net Date: Sun, 13 Mar 2011 14:51:27 +0000 From: Alexander Bartolich <alexander.bartolich@gmx.at> References: <ilh4ji$3jc$1@news.albasani.net> <nap.1103131501.993@thorondor.akallabeth.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.peering.20140428.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!weretis.net!feeder4.news.weretis.net!news.albasani.net!.POSTED!not-for-mail Newsgroups: news.admin.peering Organization: albasani.net Lines: 36 X-Trace: news.albasani.net fSQLOeqF5atoiAzULnELG0ueqnnH5ybm6nBpgs7+SOpWac5lIH/zlCm79AA6cQNNth8phIFN/MMBUXo9df6elQ== NNTP-Posting-Date: Sun, 13 Mar 2011 14:51:27 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="TCd4Sbd+6G3mZFfxacdqjzUO3lA425TJ5JmwXzbYTH248IC9QgCKg1mCadKIHaUYR4Pff9wCWrsbdc1N0oxelaLIj2+3foO+7oEw/goLaHvp+NTb10TiZJOIvmnUz98i"; mail-complaints-to="abuse@albasani.net" User-Agent: slrn/pre1.0.0-16 (Linux) Cancel-Lock: sha1:WP05EGPqCljbBKx1jnujf8N+aTw= X-Original-Bytes: 2305