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

    IP redirection to local machine

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 608 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.
    • B Offline
      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 Offline
        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
        • johnpozJ Online
          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
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • KOMK Offline
            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
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.