No se puede acceder al servidor samba

No se puede acceder al servidor samba

No puedo conectarme a mi servidor Samba ejecutando CentOS 6.4 (instalación mínima), es decirnoubicado dentro de mi red.

Cuando intento conectarme con mi cliente de Windows 7, la conexión falla y aparece el cuadro de diálogo predeterminado "no se puede acceder".

Lo que he probado hasta ahora:

  • Puertos abiertos 137, 138, 139, 445 en mi servidor samba
  • Verificó que los puertos estén abiertos usando nmap (en el servidor samba)
  • Intenté hacer telnet en los puertos mencionados anteriormente desde mi cliente pero la conexión también falló
  • Reinstalé samba y reconfigure el servicio.
  • Apagué SELinux temporalmente

iptables

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:https
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-ns
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-dgm
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-ssn
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:microsoft-ds
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited

nmapa

#nmap -sTU -O localhost

Starting Nmap 5.51 ( http://nmap.org ) at 2014-05-16 17:29 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000042s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 1994 closed ports
PORT    STATE         SERVICE
22/tcp  open          ssh
25/tcp  open          smtp
80/tcp  open          http
139/tcp open          netbios-ssn
445/tcp open          microsoft-ds
68/udp  open|filtered dhcpc

versión samba

#smbd --version
Version 3.6.9-168.el6_5

El grupo de trabajo está configurado correctamente en smb.conf, nmb se está ejecutando.

Respuesta1

La mayoría de los ISP filtran los puertos netbios. Si realiza nmap desde su cliente de Windows, probablemente verá que el puerto aparece como filteredporque su ISP lo está bloqueando.

Intente configurar un protocolo de túnel como openvpne intente utilizar esta configuración en su lugar.

información relacionada