I set up my OMV 3 pretty straight forward and everything seems to works fine since the beginning.
Smb shares worked fine from the start, then I decided to use iptables rules from the browser interface to make my server more secure.
I followed @tekkb instructions for firewall settings to permit samba shares and other services I need.
To be more specific for samba I added:
- INPUT ACCEPT IPv4 192.168.1.0/24 - 192.168.1.25 137 UDP
- INPUT ACCEPT IPv4 192.168.1.0/24 - 192.168.1.25 138 UDP
- INPUT ACCEPT IPv4 192.168.1.0/24 - 192.168.1.25 139 TCP
- INPUT ACCEPT IPv4 192.168.1.0/24 - 192.168.1.25 445 TCP
and added a couple of my own to allow outbound traffic originated locally from the server.
The equivalent to those two rules:
Everything seemed to work just fine, except then now every time the server reboot samba got disconnected from the network and I cannot access it through my windows machine.
Every other services is working just fine with the firewall rules, so it's just samba acting weird.
As a workaround I have to disable iptables rules and then everything shows up again, then enable them again and everything works fine until next reboot and so on (that's really strange).
I thought those 4 rules where enough for samba to work...am I missing some other ones?
Did anybody have the same problem ever?I would like to solve this problem rather than have iptables disabled.