Hi again,
Sorry, of cause the bridge has a different IP from the nntpcache - it
should read 192.168.0.3 in my drawing below!
Like this:
clients --- router --S------- bridge --- router --- internet
10.x.x.x | 192.168.0.3
nntpcache
192.168.0.2
("S" is a switch I forgot earlier)
Regards,
Kent B. Hansen
On Fri, 21 Feb 2003, Kent B. Hansen wrote:
> Hi list,
>
> I'd like to redirect nntp (usenet) traffic to an internal host running
> nntpcache. How do I do that?
>
> Here's how our network looks (I hope you can read my drawing):
>
> clients --- router ------ bridge --- router --- internet
> 10.x.x.x | 192.168.0.2
> nntpcache
> 192.168.0.2
>
> Our IPS has a newsserver at IP: 111.222.333.444, but I'd like to use
> nntpcache to cache articles from this server, even though the clients use
> the ISP's IP address directly.
>
> I've done this on the bridge:
>
> iptables -t nat -A PREROUTING -s 10.0.0.0/8 -d 111.222.333.444 -j DNAT
> --to-dest 192.168.0.2
>
> If I ping from a client to 111.222.333.444, I get a response from
> 192.168.0.2 (yipee!) :-)
>
> But I cannot do a "telnet 111.222.333.444 nntp" from the clients - there's
> no response what so ever. (bummer!) :-(
>
> I can connect from the bridge to the nntpcache and I can connect from the
> clients directly to the nntpcache.
>
> The routers are Cisco routers which cannot do redirection, so I have to do
> it at the bridge.
>
> Any help would be greatly appreciated!
>
> Thanks,
> Kent B. Hansen
>
> _______________________________________________
> Bridge mailing list
> [EMAIL PROTECTED]
> http://www.math.leidenuniv.nl/mailman/listinfo/bridge
>
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge