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

How to Forward / Redirect Destination IP

Scheduled Pinned Locked Moved Firewalling
3 Posts 3 Posters 2.0k Views
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.
  • C Offline
    compucoder
    last edited by Feb 4, 2010, 7:16 PM

    Hi everyone,

    I have a puzzling dilemma and can't figure it out. We have a developer who is using a remote client WSDL file and that file is written so it works on the client subnet. It basically has 10.0.0.0 addresses it uses for hitting their servers. What I am trying to do is if the firewall sees a outbound connection from the developer trying to hit a 10.0.0.x IP address to forward it to the clients public IP address. I guess I am trying to do the opposite of port forwarding.

    I think I want a redirect rule but don't know how to do this in PFSense. So something like this:

    LAN->10.0.0.x Redirect or forward so it looks like this LAN->69.x.x.x (client public IP)

    Thanks for any help.

    1 Reply Last reply Reply Quote 0
    • E Offline
      Efonnes
      last edited by Feb 4, 2010, 7:45 PM Feb 4, 2010, 7:30 PM

      It might be possible to do something with virtual IP addresses so that it will allow you to select those addresses as the external address on a LAN port forward.

      1 Reply Last reply Reply Quote 0
      • B Offline
        Bai Shen
        last edited by Feb 12, 2010, 6:59 PM

        @compucoder:

        Hi everyone,

        I have a puzzling dilemma and can't figure it out. We have a developer who is using a remote client WSDL file and that file is written so it works on the client subnet. It basically has 10.0.0.0 addresses it uses for hitting their servers. What I am trying to do is if the firewall sees a outbound connection from the developer trying to hit a 10.0.0.x IP address to forward it to the clients public IP address. I guess I am trying to do the opposite of port forwarding.

        I think I want a redirect rule but don't know how to do this in PFSense. So something like this:

        LAN->10.0.0.x Redirect or forward so it looks like this LAN->69.x.x.x (client public IP)

        Thanks for any help.

        Not quite the answer your looking for, but your developer should be able to just change the address in the WSDL or in his connection code to point to the proper IP.  Much easier than trying to do weirdness with pfSense.

        I've done it before with Java, don't see why it'd be different with other languages.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received