Redirecting port 80 requests to local web server with IPFW
Posted
by
Alec Tarasoff
on Server Fault
See other posts from Server Fault
or by Alec Tarasoff
Published on 2012-05-23T10:20:02Z
Indexed on
2012/06/08
10:42 UTC
Read the original article
Hit count: 371
I'm setting up a freebsd router and want certain IPs on my network to be forwarded to our local webserver if they make port 80 requests. An example would be - banned user tries to surf the web, but all his requests are forwarded to the web page which notifies him that he is banned. As I understand I can use IPFW for this and maybe NATD.
I would be grateful if someone could show me a good example on how to do it.
© Server Fault or respective owner