Warum Samba in Internet?
Hallo,
wo kann ich noch suchen, damit Samba nur im internen Netz angeboten
wird?
netstat zeigt:
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 6245/smbd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 6245/smbd
/etc/samba/smb.conf:
[global]
interfaces = 192.168.1.10
workgroup = XP
server string = %h server (Samba %v)
hosts allow = 192.168.1. 127.
in /etc/xinetd.conf:
service netbios-ssn
{
flags = REUSE NAMEINARGS
socket_type = stream
protocol = tcp
bind = 192.168.1.10
only_from = 192.168.1.0/24 127.0.0.0/8
wait = no
user = root
server = /usr/sbin/tcpd
server_args = /usr/sbin/smbd
}
ervice netbios-ns
{
flags = REUSE NAMEINARGS
socket_type = dgram
protocol = udp
bind = 192.168.1.10
only_from = 192.168.1.0/24 127.0.0.0/8
wait = yes
user = root
server = /usr/sbin/tcpd
server_args = /usr/sbin/nmbd -a
}
Gruß
Uli
--
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
Reply to: