[Tetaneutral] Partage connexion internet, pb iptables, dnsmasq??

Laurent GUERBY laurent at guerby.net
Tue Sep 6 22:30:54 CEST 2011


Bonsoir,

La liste technique at lists.tetaneutral.net est plus adaptée pour ce genre
de question :

http://lists.tetaneutral.net/listinfo/technique

Parmis les 135 abonnés de cette liste un grand nombre ne sont pas
orientés vers les geekeries :).

Merci a tous,

Laurent
http://tetaneutral.net/
http://lists.tetalab.org/cgi-bin/mailman/listinfo/tetaneutral
http://lists.tetaneutral.net/
irc.freenode.net #tetaneutral.net 

On Tue, 2011-09-06 at 19:51 +0200, Ivan Mercier wrote:
> Bonjour à tous,
> j'aimerais avoir un peu de votre aide pour relier ma 9box(sous
> OpenWrt) ...
> 
> 9box(br-lan)----------->(eth1)PC (debian 6 wheezy)
> 
> (eth0)---------------------------------->routeur-------------->WWW
> 
> Voila ma config:
> PC(relié au web)
> firewall desactivé
> ifconfig eth1 192.168.1.123
> iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE
> echo 1> /proc/sys/net/ipv4/ip_forward
> 
> cat /etc/dnsmasq.conf 
> dhcp-option=3,192.168.1.123
> dhcp-range=192.168.1.1,192.168.1.4,24h
> 
> 9BOX:
> route add default gw 192.168.1.123
> echo "nameserver 192.168.1.123" > /etc/resolv.conf
> 
> Résultat:
> DNS ok
> le reste est bloqué par ???
> 
> merci beaucoup!
> Ivan
> _______________________________________________
> Tetaneutral mailing list
> Tetaneutral at lists.tetalab.org
> http://lists.tetalab.org/cgi-bin/mailman/listinfo/tetaneutral




More information about the Tetaneutral mailing list