[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian router config



> ----------------------------------------- (on mail.univ-ouaga.bf)
>
> email-body was scanned and no virus found
> ---------------------------------------------------------
> Pascal Hambourg <pascal.mail@plouf.fr.eu.org> wrote:
> | Salut,
> |
> | mess-mate a écrit :
> | >je viens de quitter mon OBSD router pour en installer un sous debian
| >etch.
> | >J'ai donc configuré eth1 pour le lan interne et eth0 pour l'adsl en |
>dhcp.
> | >Le ifconfig donne lo, eth0 et eth1 up et running.
> | >Le /etc/default/dhcp est mis à eth0.
> |
> | Ce fichier sert plutôt à indiquer au serveur DHCP (dhcpd) sur
quelle(s)
> interface(s) il doit
> | écouter. Par conséquent dans ton cas, si la machine fait serveur DHCP
pour le LAN, il
> | faudrait plutôt spécifier "eth1".
>
> Non, pas pour le lan, pour free.
> |
> | >Le subnet de dhcp est configuré.
> |
> | Quel DHCP ?
> |
>
> dhcpd.conf
>
> | >J'arrive à pinger une machine sur le lan mais pas free
> | >(212.27.32.176) (permission denied).
> | >Et pas de connection non plus.
> |
> | ConneXion.
> | Tu as créé des règles iptables ('iptables-save' pour les lister) ? |
> Là j'y suis pas encore. Le firewall c'est pour après.

Je pense qu'il te faut quelques regles IPTABLES pour avoir accès au net
sans oublier de mettre ton ip_forward à 1.

Koné

>
>
> mess-mate
> --
>
> "What's this?  Trix?  Aunt!  Trix?  You?  You're after the prize!  What
is it?"  He picked up the box and studied the back.  "A glow-in-the-dark
squid!  Have you got it out of there yet?"  He tilted the box, angling
the
> little colored balls of cereal so as to see the bottom, and nearly spilling
> them onto the table top.  "Here it is!"  He hauled out a little
> cream-colored,
> glitter-sprinkled squid, three-inches long and made out of rubbery plastic.
> 		-- James P. Blaylock, "The Last Coin"
>





Reply to: