Subject: Re: ipf or ipnat
To: None <netbsd-users@netbsd.org>
From: Thomas Michael Wanka <Tom@Wanka.at>
List: netbsd-users
Date: 03/19/2001 06:57:44
On 18 Mar 2001, at 21:02, Andrei Zaitsau wrote:
> Is there is a way I can redirect websites?
> For example user on 192.168.0.16 tries to open www.microsoft.com
> But I want to open www.netbsd.org on his computer instead
> www.microsoft.com Can anyone tell me how would I do that? Thanks.
>
Hi,
if you use your own DNS server, you could add entries for the
domains you want to redirect (make shure not to publish them, eg
allow only access to the dns server for your internal IPs). That
would affect all programs that use DNS like e-mail, ftp and
whatever.
You could also set these names in the clients host file and make
shure it is used before dns.
There are shurely other ways to this too.
HTH
mike