Forum

redirect url based on origin ip

Kjartan
26 January 2017, 15:11
Is there a way to redirect a client to another url based on the clients IP adress?

I have a stalker.. Currently I'm using
# iptables -A INPUT -s xx.xx.xx.xx -j REJECT
and that works for blocking access, but it would be better to be able to redirect to another site.

Kind regards
Kjartan
Hugo Leisink
27 January 2017, 15:29
That's not possible with Hiawatha. But why waste resources on a stalker? Just keep blocking the IP and put your energy in the more important things of life.
Kjartan
29 January 2017, 21:48
Indeed :-)
This topic has been closed.