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

    Forward Port to different subnet

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 297 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.
    • P
      pankerman
      last edited by

      Hi,

      this might be a stupid question, but I haven't figured out a good way to reolve this without a VPN.

      I have a machine interface running on the machines subnet in 192.168.95.0/24 and a client computer running on the LAN subnet 192.168.65.0/24.
      I have a software to display machine data by accessing the machine IP on port 5141. If machine and client are in the same subnet this works. The software scans the subnet for an open port 5141. But obviously it will not find the machine if the client is not in the same subnet. There is no way to tell the crap software on which IP to look for the machine.

      Is there a way to provide the machine with a virtual IP with an open Port 5141 in the LAN subnet so the software on the client can find it? As service technicians from the manufaturer of the machine will access the machine from outside I am not willing to give the machine access to my LAN Network, so firewalling would be important, too.

      Any help would be appreciated. Thank you!

      Ben

      1 Reply Last reply Reply Quote 0
      • B
        bartkowski
        last edited by bartkowski

        Hmm...you cannot set the machine's IP in the software?
        Maybe try setting up a Port Forward on the software subnet to the IP of machine/port.

        edit: you may need https://docs.netgate.com/pfsense/en/latest/nat/accessing-port-forwards-from-local-networks.html

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