
Jag har en Samba utdelning men vill att endast 2 specifika IP-adresser ska få åtkomst till min utdelning. Hur ordnar man detta?
Går det även att gömma utdelningen? Så att den inte blir sökbar och man måste ange adressen till den.
Hittade det här>;'Using host based protection
In many installations of Samba the greatest threat comes for outside your immediate network. By default Samba will accept connections from any host, which means that if you run an insecure version of Samba on a host that is directly connected to the Internet you can be especially vulnerable.
One of the simplest fixes in this case is to use the 'hosts allow' and 'hosts deny' options in the Samba smb.conf configuration file to only allow access to your server from a specific range of hosts. An example might be:
hosts allow = 127.0.0.1 192.168.2.0/24 192.168.3.0/24
hosts deny = 0.0.0.0/0
1. Måste "127.0.0.1" vara med? Och isf varför?hosts allow = 127.0.0.1 192.168.2.0/24 192.168.3.0/24
hosts deny = 0.0.0.0/0