Error page when link is down
Is there someway ofhaving all http traffic redirected to an information page?
My link is down due to a fiber problem and instead of everyone trying t use the net and phoning us when it doesnt work, maybe i can have a 4.4 type error page from my pfsense box that they will all see telling what the problem is?
maybe Squid or Captive Portal can do this? I think the Captive portal way will be difficult cause i have hundreds of users on the MAC passthrough list, and dont really want to touch that.
Any ideas of what i can do?
We've hacked in something along those lines for a customer before. Can launch a separate lighttpd instance on the firewall that just serves up the informational page you want, and add a port forward to redirect all HTTP traffic on the internal interface(s) to any destination to that IP and port.
Thanks for the reply cmb.. looks about what i need to do.. dont suppose you could tell me more or less how to do what you just mentioned?
Seeing that i have a webserver on my LAN, could i just do more or less what you just mentioned and with a port forward send all LAN traffic to see a info page on that webserver? Never thought about doing it that way..
yeah you could point it to a web server on your LAN too. Port forward on LAN, any source, any destination, port 80, target of your internal web server, port 80.
Cool, i'll do it that way i think. Thanks for that. I'll report back if it doesnt work out :)