Re: ISO Mandrake 10.1

Pàgina inicial

Reply to this message
Autor: Jerome KIEFFER
Data:  
A: guilde
Assumpte: Re: ISO Mandrake 10.1
Le Thu, 4 Nov 2004 18:23:24 +0100
Jerome KIEFFER <Jerome.Kieffer@???> a écrit :

> Le Thu, 4 Nov 2004 18:38:38 +0100
> Heurtaux Vincent <vincent.heurtaux@???> a écrit :
>
> >
> > Est-ce du à mon swich-routeur Dlink-604 ?
>
> probable ... le P2P : si tu donnes rien tu recois rien non plus :(
> faut que ton switch route les ports tcp 6181-6189 vers ta machine qui
> fait du torrent.


avec netfilter cela s'écrit un peu comme ca :

$ grep BT firewall

IP_BT="192.168.3.20"           #IP de la machine BitTorrent
TCP_BT="6881:6889"             #TCP port forwarded 
$IPTABLES -A ext-lan   -p tcp --dport $TCP_BT  -j ACCEPT
$IPTABLES -A PREROUTING -t nat -i $IFACE_EXT -p tcp --dport $TCP_BT -j
DNAT --to-destination $IP_BT


au passage dans mon mail précédent j'ai donné les mauvais ports.
-- 
Jérôme KIEFFER  : http://www.terre-adelie.org
First they ignore you, then they laugh at you,
then they fight you, then you win.
                    Mahatma Gandhi (1869-1948)