• [^] # Re: n

    Posté par . En réponse au message Serveur linux qui ne communique plus : no route to host. Évalué à 1.

    Ci-dessous, les résultats.

    Je précise que j'ai toujours laissé la configuration de base pour cela, je n'utilise pas ce serveur comme firewall, d'ailleurs, je ne connais pas vraiment les commandes d'iptables, est-ce que quelque chose bloque ici?

    Merci beaucoup.

    >route -n

    Table de routage IP du noyau
    Destination Passerelle Genmask Indic Metric Ref Use Iface
    192.168.1.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
    0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 0 eth0

    >iptables --list

    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    RH-Firewall-1-INPUT all -- anywhere anywhere

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    RH-Firewall-1-INPUT all -- anywhere anywhere

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain RH-Firewall-1-INPUT (2 references)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere
    ACCEPT icmp -- anywhere anywhere icmp any
    ACCEPT ipv6-crypt-- anywhere anywhere
    ACCEPT ipv6-auth-- anywhere anywhere
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    REJECT all -- anywhere anywhere reject-with icmp-host-prohibited