Navigation

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

    Accessing a subnet restricted device from different subnet

    NAT
    3
    3
    149
    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
      bpostaci last edited by

      Hello,

      I have an IOT device that i can not change its firmware that only way to connect to this device from same subnet because of security restriction of the device. I am searching a way to access this device from my laptop where it is in my local LAN subnet. I don't want to change my laptop network configuration when i need to access that IOT device.

      Basically IOT devices are in
      192.168.10.0/24 subnet
      102.168.10.20 the IOT device (Only accepts connection on same subnet)

      My Local Network is:
      192.168.5.0/24
      192.168.5.22 -> my laptop

      What could be the best way to do this ? Thanks in advance.

      Gertjan 1 Reply Last reply Reply Quote 0
      • Gertjan
        Gertjan @bpostaci last edited by

        Connect to any other device on that LAN accepts RDP.
        Now, use that device to connect to your IOT.

        Or, if you already use OpenVPN, learn what 'tap' can does for you.

        No "help me" PM's please. Use the forum.

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

          simple solution would to just be a source nat.

          Outbound nat on your iot interface that nats traffic to your pfsense iot interface IP.

          Now this devices thinks any traffic be it coming from an openvpn connection, or even your lan thinks its coming from pfsense iot IP which is in your iot network.

          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 23.01 | Lab VMs CE 2.6, 2.7

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