• [^] # Re: Et FORWARD ?

    Posté par . En réponse au message Soucis pour partager une connexion réseau.... Évalué à 3.

    Merci pour ta réponse rapide...
    Malheureusement, ça ne donne rien de plus... Tant pis, je crois que je vais abandonner... J'ai un routeur wifi sous la main, je vais m'en servir...
    A toutes fins utiles, la sortie de /etc/rc.d/init.d/iptables status :

    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    ACCEPT all -- 0.0.0.0/0 0.0.0.0/0

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    Chain PREROUTING (policy ACCEPT)
    target prot opt source destination

    Chain POSTROUTING (policy ACCEPT)
    target prot opt source destination
    MASQUERADE all -- 10.127.0.0/24 0.0.0.0/0

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    Chain PREROUTING (policy ACCEPT)
    target prot opt source destination

    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain POSTROUTING (policy ACCEPT)
    target prot opt source destination



    et la sortie d'un route -n :

    Destination Gateway Genmask Flags Metric Ref Use Iface
    10.127.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    192.168.127.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    0.0.0.0 192.168.127.250 0.0.0.0 UG 0 0 0 eth0


    Si jamais ça peut aider...