Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 21:24:22 +0300
From:      Juhani Tali <juhani@kernel.ee>
To:        freebsd-isp@freebsd.org
Subject:   how can I redirect?
Message-ID:  <415314D6.3070803@kernel.ee>

next in thread | raw e-mail | index | archive | help
Hi

The idea is to redirect all "unknown" clients attempts to visit web to a 
local web servers page.
So I made a small test setup on my own box

natd -reverse -proxy_only -redirect_port tcp x.x.x.17:80 194.106.96.98:80
ipfw add 400 divert natd all from any to 194.106.96.98

where the x.x.x.17:80 hosts a "you are closed" web page and 
194.106.96.98 is just a popular web page.

Without -reverse I can see the "popular web page", with it nothing.

Juhani



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415314D6.3070803>