One Device Access Device on Different Interface?
-
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.
-
@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.
-
@johnpoz Thanks for this, will give this a try.