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

    One Device Access Device on Different Interface?

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 419 Views 2 Watching
    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.
    • A Offline
      AnthGood
      last edited by

      Hi, could someone possibly suggest what firewall would be needed for me to allow one device on one Interface, access a device on another interface.

      So I have two interfaces, LAN and WIFI.

      Lan contains a NAS drive at a static address of 192.168.10.15
      On the Wifi interface I have one device, my Oculus headset I want to be able to access the NAS drive on the other interface. The Oculus has a static IP of 192.168.20.20.

      How do I set it so 192.168.20.20 can access the NAS at 192.168.10.15? I do not want anything else on the WIFI interface being able to access the NAS on the LAN interface. Is there a simple firewall entry I can add, and if so what would it be please.

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

        @anthgood Does your headset talk to the other device via directed IP - or does it need to do some sort of discovery via broadcast or multicast?

        But to let wifi IP address to talk to lan IP.. All you need is a rule to allow that on your wifi interface. Then below that block all access wifi net to lan net, then below that your typical any any rule so that devices on wifi can use the internet.

        Here is test network I have setup.. See rule that allow 20.20 to talk to 10.15, and then below that is a rule that blocks access to all other rfc1918.. You could use lan net here as destination if you want to allow wifi to talk to other networks you have, etc..

        Pretend my test interface is your wifi interfac.

        example.jpg

        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 25.07 | Lab VMs 2.8, 25.07

        A 1 Reply Last reply Reply Quote 1
        • A Offline
          AnthGood @johnpoz
          last edited by

          @johnpoz Thanks for this, will give this a try.

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