
CentOS 6.4(최소 설치)를 실행하는 삼바 서버에 연결할 수 없습니다.~ 아니다내 네트워크 내에 위치합니다.
Windows 7 클라이언트에 연결하려고 하면 연결이 실패하고 기본 "액세스할 수 없음" 대화 상자가 표시됩니다.
내가 지금까지 시도한 것 :
- 내 삼바 서버에서 포트 137, 138, 139, 445를 열었습니다.
- nmap을 사용하여 포트가 열려 있는지 확인했습니다(삼바 서버에서).
- 내 클라이언트에서 위에 언급된 포트에서 텔넷을 시도했지만 연결도 실패했습니다.
- 삼바를 다시 설치하고 서비스를 재구성했습니다.
- SELinux를 임시로 껐습니다.
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
nmap
#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
삼바 버전
#smbd --version
Version 3.6.9-168.el6_5
작업 그룹이 smb.conf에 올바르게 설정되어 있고 nmb가 실행 중입니다.
답변1
대부분의 ISP는 netbios 포트를 필터링합니다. Windows 클라이언트에서 nmap을 수행하면 filtered
ISP가 포트를 차단하고 있기 때문에 해당 포트가 로 표시되는 것을 볼 수 있습니다.
다음과 같은 터널링 프로토콜을 구성하고 openvpn
대신 이 설정을 사용해 보십시오.