Short version:
What is the best way to get SMB access to a NAS on a different subnet? I have discovered a way to do this using hosts file edits and Windows Firewall rule modifications, but this creates ongoing labor, so I want to know if there is a better way.
Long version:
I have 2 networks on my Asus RT-BE88U router: the main network, and the ad-blocking network created in Guest Network Pro.
I have installed ASUSWRT-Merlin 3006.102.3 to maximize the number of features available to me.
I want all networks to be able to access the NAS that is wired to the router.
Currently, devices on the ad-blocking network do not have SMB access to the NAS. They can access the NAS using its IP address on a web browser.
With many hours of googling and trying to accomplish this, I have discovered the following:
What is the best way to get SMB access to a NAS on a different subnet? I have discovered a way to do this using hosts file edits and Windows Firewall rule modifications, but this creates ongoing labor, so I want to know if there is a better way.
Long version:
I have 2 networks on my Asus RT-BE88U router: the main network, and the ad-blocking network created in Guest Network Pro.
I have installed ASUSWRT-Merlin 3006.102.3 to maximize the number of features available to me.
I want all networks to be able to access the NAS that is wired to the router.
Currently, devices on the ad-blocking network do not have SMB access to the NAS. They can access the NAS using its IP address on a web browser.
With many hours of googling and trying to accomplish this, I have discovered the following:
- I have to edit the hosts file to add the NAS IP address AND adjust the Windows Firewall SMB rules on all devices outside the main subnet that want SMB access to the NAS. This method is SUCCESSFUL, but I am UNSATISFIED with the lack of auto-magic or simplicity, as well as the fact that it creates ongoing labor for any future devices, or existing devices that get their OS reset.
- Just using the same subnet would be the easiest way to solve my problem, but I can't do that, because independent DNS settings per-network (for ad-blocking) requires different subnets.
- There's something called "DNS multicast" that might be able to prevent the need to edit hosts files, but I'm not sure how to enable it or troubleshoot it.
- It might be possible to prevent the need to edit hosts files by adding the NAS IP/hostname to "/jffs/configs/dnsmasq.conf.add" on the router, but I tried that to no effect, so I might have done something wrong or misunderstood the purpose of "dnsmasq.conf.add". The documentation also mentions "dnsmasq-INDEX.conf.add" so I'm not sure if I need to use that file instead (also not sure where I would get the necessary index number).
- The ASUSWRT-Merlin website mentions some SMB-related features, but I'm not sure if they apply to my situation. I would love to know if there's a checkbox somewhere to "make SMB work auto-magically across subnets".
Last edited: