Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Block IP but redirect traffic to internal server.

    NAT
    1
    1
    480
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ribs
      last edited by

      I'm trying to setup a port redirection rule that will send all incoming traffic from a specific IP address to a specific server/port rather than completely blocking the IP address. The reason for is because sometimes our Web Application Firewall will block a genuine customer and we need to tell them they have been blocked rather than just dropping their connections.

      I have added a rule to Firewall / NAT / Port Forward which almost worked and the traffic hit the internal server but didn't seem to be able to get back to the client. On my test client the webpage just wouldn't load but using tcpdump I could see the traffic coming in to the server.

      I have been testing this with success on my home box and it worked but I can't get it to work on our production box. The main difference is the production box is setup in transparent mode and has 3 interfaces: WAN, Bridge and LAN.

      Can anyone give me some pointers on what the problem might be.

      Thanks

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.