[Solved]Samba Share for Guest Network

I have a HDD attached to my router and I can access the data through Samba on my LAN network. Now I would also like to grant access to the guest network that I have.

My main network is on 192.168.1.1 subnet and guest network is on 192.168.3.1 subnet. I found another topic here in the forum but being a newbie I couldnt figure out what I had to do to make it work. But anyway I tried and put this in the firewall config, but it doesnt work.

config rule
        option enabled '1'
        option target 'ACCEPT'
        option src 'guestzone'
        option name 'Guest NAS'
        option dest_port '137 138 139 445'
        option dest 'lan'
        option dest_ip '192.168.1.1'

I know for sure something is wrong but dont know how to get it to work. The wiki doesnt have any information regarding this. Thanks

You want an input rule not a forwarding rule since the router is the server.

1 Like

For future issues:

The input rule for this:

config rule
        option target 'ACCEPT'
        option proto 'tcp udp'
        option name 'Guest NAS'
        option src 'guestzone'
        option dest_port '137-138 139 445'
        option dest_ip '192.168.1.1'
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.