how can I redirect?

Juhani Tali juhani at kernel.ee
Thu Sep 23 11:24:36 PDT 2004


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


More information about the freebsd-isp mailing list