redirect a single ip-adress

Forums Network Management ZeroShell redirect a single ip-adress

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #42621

    hi guys,
    i am using zeroshell in brigde-mode.we have a network with 140 static ips. it works really god.i use level7 layers to match filesharing activity. it would be perfekt if i could redirect a single ip to a local website, where he gets information about why he has been banned.

    i tried to set a firewall rule in the forward chain, match the ip and redirect it with iptables commands. but all i tried wasn’t accepted by iptables or didn’t work.

    thanks in advance for your help,


    Change of destination IP is done in PREROUTING chain of nat table. Try this:

    iptables -t nat -I PREROUTING -s -p tcp --dport 80 -j DNAT --to-destination

    where is the banned IP and is the IP you want to redirect to.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.