peer2peer (torrents) and NONdefault gateway...

In case one could ‘catch’ all (or some) p2p trafic, would it be possible to route it thru a nondefault gatway? (while others like www, voip, messengers, games, use default gw)

// I tried to find the post (a year ago maybe) where someone wrote that p2p have to go thru default gateway and that all other trafic could be mangled/routed/nated … is that so? :slight_smile:


Dejan

from the manual:

Usually routing-mark is not used for P2P, since P2P traffic always is routed over a default getaway.

but i guess you can catch other important traffic, set routing marks and router THAT one

Do you sure the end user download file all by P2P software?

As we known, lots download tools use the fix model connection to the destination.

Such as flashget (http://www.flashget.com/index_en.htm)

I means that P2P software also use the normal http + p2p protocol downloading, so you can not limited it by p2p protocol.

I suggest you use the simple queue to limit it

Yeah right, it’s gonna be that way… still I wouldn’t like to “loose” some of the trafic I’d like to go thru the other gw… Is there a “list” of protocols/ports for known apps or should I go and “torch around” :slight_smile: to find out what’s what?

D.

http:80
ftp:20 21
imap:143 993
smtp:25
ssh:22
telnet:23

etc.

use google to find out what standard protocol uses which ports