Jump to content

Samba SMB securing shares does not work - host deny


knex666

Recommended Posts

Posted (edited)

Hey everyone,

 

I try to secure my share with VLANs.

Not every VLAN should have access to the shares so I append some parameters to the sambas extra config:

 

interfaces = 10.XX.X0.2/16 127.0.0.1
hosts allow = 10.XX.X0. localhost
hosts deny = 10.XX.X.0/24 192.168.XXX.0/24

 

I am trying to overwrite the interfaces and more important to deny other VLAN networks to access the shares.

But these changes dont have any effect to the access.

Am I doing something wrong or is there a bug somewhere?

 

Thanks!

 

 

----

 

Since there is no solution right now I help myself out with an iptable rule but it should not be ignored since it is significant for security

Edited by knex666

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...