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

    Accessing a subnet restricted device from different subnet

    NAT
    3
    3
    352
    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.

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        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, the community will thank you.
        Edit : and where are the logs ??

        johnpozJ 1 Reply Last reply Reply Quote 0
        • johnpozJ
          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 24.11 | Lab VMs 2.7.2, 24.11

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