Samba4 question

can i separate two sambashares to separate interfaces?
i need one share to lan
and one share to lan/wan

Hi

in traditional smb.conf on linux, there is options to allow / deny specific IP ranges for each share

[public]
        hosts deny = 192.168.2.0/24
        hosts allow = 192.168.0.0/16

according to OpenWRT wiki

Optional config: /etc/samba/smb.conf.template
In addition to the UCI file (/etc/config/samba), modifications can be made to the /etc/samba/smb.conf.template file.

maybe this will help you

thank you!

1 Like

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