Navigation

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

    IP redirection to local machine

    General pfSense Questions
    4
    4
    439
    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.
    • B
      bjohn last edited by

      In my work environment, there is software that connects with a server at a client location to send data. The function performed by the client server planned to be moved to a VM that resides on our local network.

      Is there a way to use IP alias and or NAT rules to redirect traffic sent to this outside IP to an internal IP on our network?

      pfSense is the router/firewall. The sending IP is hard coded in the software and we have no way to contact the original programmer.

      Thanks

      1 Reply Last reply Reply Quote 0
      • V
        viragomann last edited by

        This can be done by NAT 1:1 if the client and the server are connected to different network ports. If that isn't given you can put the VM in a vLAN.

        1 Reply Last reply Reply Quote 0
        • johnpoz
          johnpoz LAYER 8 Global Moderator last edited by

          not sure why you would need 1:1 nat, simple port forward should work for this.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

          1 Reply Last reply Reply Quote 0
          • KOM
            KOM last edited by

            Yes, just a port-forward with LAN as the interface instead of the usual WAN.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post