how can I redirect?
From: Juhani Tali (juhani_at_kernel.ee)
Date: 09/23/04
- Previous message: Jon Simola: "Re: Ipfw accept rule"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 21:24:22 +0300 To: freebsd-isp@freebsd.org
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
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Jon Simola: "Re: Ipfw accept rule"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]