LAN(http, smb)에서 내 컴퓨터를 연결할 수 없습니다.

LAN(http, smb)에서 내 컴퓨터를 연결할 수 없습니다.

우분투 10.04, Apache, PHP, mysql, smb를 설치했습니다. 내 IP에서는 로컬로 모든 것이 잘 작동합니다. LAN(다른 컴퓨터)에서 내 컴퓨터에 액세스하려고 하면 연결할 수 없다고 표시됩니다. 원격 컴퓨터에서 내 IP를 핑하면 핑이 정상입니다. 인터넷과 기타 모든 시스템(http, smb)에 액세스할 수 있습니다. 하지만 문제는 누구도 내 LAN 네트워크에서 내 컴퓨터에 원격으로 액세스할 수 없다는 것입니다.

내 IP는 192.168.85.105이고 192.168.85.10에서 액세스(Appaceh,SMB)를 원합니다.

프록시 방화벽 설정이 있나요?

시스템을 다시 시작해도 동일한 문제가 여전히 존재합니다. 시스템은 원격 호스트에서 올바르게 핑합니다. 위의 명령을 실행했습니다. 처음에는 "sudo iptables -F" 명령을 처음 실행했습니다. 지금은 작동하지 않습니다. 도와주세요.

[iptables --list의 출력이 제공됨]**

    ashok@ashok-desktop:~$ sudo iptables --list
    [sudo] password for ashok: 
    Chain INPUT (policy DROP)
    target     prot opt source               destination         
    ACCEPT     tcp  --  resolver1.opendns.com  anywhere            tcp flags:!FIN,SYN,RST,ACK/SYN 
    ACCEPT     udp  --  resolver1.opendns.com  anywhere            
    ACCEPT     all  --  anywhere             anywhere            
    ACCEPT     icmp --  anywhere             anywhere            limit: avg 10/sec burst 5 
    DROP       all  --  anywhere             255.255.255.255     
    DROP       all  --  anywhere             192.168.85.255      
    DROP       all  --  base-address.mcast.net/8  anywhere            
    DROP       all  --  anywhere             base-address.mcast.net/8 
    DROP       all  --  255.255.255.255      anywhere            
    DROP       all  --  anywhere             0.0.0.0             
    DROP       all  --  anywhere             anywhere            state INVALID 
    LSI        all  -f  anywhere             anywhere            limit: avg 10/min burst 5 
    INBOUND    all  --  anywhere             anywhere            
    LOG_FILTER  all  --  anywhere             anywhere            
    LOG        all  --  anywhere             anywhere            LOG level info prefix `Unknown Input' 

    Chain FORWARD (policy DROP)
    target     prot opt source               destination         
    ACCEPT     icmp --  anywhere             anywhere            limit: avg 10/sec burst 5 
    LOG_FILTER  all  --  anywhere             anywhere            
    LOG        all  --  anywhere             anywhere            LOG level info prefix `Unknown Forward' 

    Chain OUTPUT (policy DROP)
    target     prot opt source               destination         
    ACCEPT     tcp  --  192.168.85.105       resolver1.opendns.com tcp dpt:domain 
    ACCEPT     udp  --  192.168.85.105       resolver1.opendns.com udp dpt:domain 
    ACCEPT     all  --  anywhere             anywhere            
    DROP       all  --  base-address.mcast.net/8  anywhere            
    DROP       all  --  anywhere             base-address.mcast.net/8 
    DROP       all  --  255.255.255.255      anywhere            
    DROP       all  --  anywhere             0.0.0.0             
    DROP       all  --  anywhere             anywhere            state INVALID 
    OUTBOUND   all  --  anywhere             anywhere            
    LOG_FILTER  all  --  anywhere             anywhere            
    LOG        all  --  anywhere             anywhere            LOG level info prefix `Unknown Output' 

    Chain INBOUND (1 references)
    target     prot opt source               destination         
    ACCEPT     tcp  --  anywhere             anywhere            state RELATED,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            state RELATED,ESTABLISHED 
    LSI        all  --  anywhere             anywhere            

    Chain LOG_FILTER (5 references)
    target     prot opt source               destination         
    DROP       tcp  --  anywhere             anywhere            tcp dpt:hkp 
    DROP       udp  --  anywhere             anywhere            udp dpt:hkp 

    Chain LSI (2 references)
    target     prot opt source               destination         
    LOG_FILTER  all  --  anywhere             anywhere            
    LOG        tcp  --  anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 1/sec burst 5 LOG level info prefix `Inbound ' 
    DROP       tcp  --  anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN 
    LOG        tcp  --  anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5 LOG level info prefix `Inbound ' 
    DROP       tcp  --  anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/RST 
    LOG        icmp --  anywhere             anywhere            icmp echo-request limit: avg 1/sec burst 5 LOG level info prefix `Inbound ' 
    DROP       icmp --  anywhere             anywhere            icmp echo-request 
    LOG        all  --  anywhere             anywhere            limit: avg 5/sec burst 5 LOG level info prefix `Inbound ' 
    DROP       all  --  anywhere             anywhere            

    Chain LSO (0 references)
    target     prot opt source               destination         
    LOG_FILTER  all  --  anywhere             anywhere            
    LOG        all  --  anywhere             anywhere            limit: avg 5/sec burst 5 LOG level info prefix `Outbound ' 
    REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable 

    Chain OUTBOUND (1 references)
    target     prot opt source               destination         
    ACCEPT     icmp --  anywhere             anywhere            
    ACCEPT     tcp  --  anywhere             anywhere            state RELATED,ESTABLISHED 
    ACCEPT     udp  --  anywhere             anywhere            state RELATED,ESTABLISHED 
    ACCEPT     all  --  anywhere             anywhere   

해결책을 알려주십시오.

답변1

IP 테이블 설정을 변경하셨나요? iptables 재설정을 시도해보세요

sudo iptables -F

또는

sudo iptables-restore

[로그아웃 필요] 작동하지 않으면 net-filter를 비활성화해 보십시오.

sudo ufw --disable

관련 정보