Community discussions

MikroTik App
 
nikolas22t
just joined
Topic Author
Posts: 18
Joined: Thu Jan 12, 2012 1:03 pm

Is That possible to pass Torrents from 2nd Gateway ?

Mon Jan 30, 2012 10:28 pm

My mikrotik setup has 2 Wan connections (Two routes distance 1 & 2 ) is there possible to mark all torrents packages (down/up) and pass them through the secondary gateway ?

I tried this and not working:
/ip firewall mangle
add action=accept chain=prerouting disabled=no p2p=all-p2p routing-mark=dsl
/ip route
add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=\
    91.184.xxx.xxx routing-mark=dsl scope=30 target-scope=10
 
nikolas22t
just joined
Topic Author
Posts: 18
Joined: Thu Jan 12, 2012 1:03 pm

Re: Is That possible to pass Torrents from 2nd Gateway ?

Sat Feb 04, 2012 5:36 pm

...anybody ?
 
grantsaicom
just joined
Posts: 2
Joined: Mon Feb 06, 2012 11:05 am

Re: Is That possible to pass Torrents from 2nd Gateway ?

Mon Feb 06, 2012 8:01 pm

I wanna do this as well. anyone?
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: Is That possible to pass Torrents from 2nd Gateway ?

Tue Feb 07, 2012 11:50 pm

No, connection state information cannot be shared between routers, or between routes.
 
scampbell
Trainer
Trainer
Posts: 487
Joined: Thu Jun 22, 2006 5:20 am
Location: Wellington, NZ
Contact:

Re: Is That possible to pass Torrents from 2nd Gateway ?

Wed Feb 08, 2012 2:32 am

There is a good article at Butch Evans on Policy Routing... http://blog.butchevans.com/2008/09/mikr ... n-example/
 
javedshotline
newbie
Posts: 26
Joined: Mon Jan 23, 2012 9:09 pm

Re: Is That possible to pass Torrents from 2nd Gateway ?

Thu Feb 09, 2012 11:10 pm

My mikrotik setup has 2 Wan connections (Two routes distance 1 & 2 ) is there possible to mark all torrents packages (down/up) and pass them through the secondary gateway ?

I tried this and not working:
/ip firewall mangle
add action=accept chain=prerouting disabled=no p2p=all-p2p routing-mark=dsl
/ip route
add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=\
    91.184.xxx.xxx routing-mark=dsl scope=30 target-scope=10

it should be done by these rules. but the problum is mikrotik does'nt understand p2p traffic, torrent works even if u drop all-p2p traffic. i have filter rules to block torrent traffic with keywords.
 
scampbell
Trainer
Trainer
Posts: 487
Joined: Thu Jun 22, 2006 5:20 am
Location: Wellington, NZ
Contact:

Re: Is That possible to pass Torrents from 2nd Gateway ?

Wed Feb 15, 2012 9:11 pm



it should be done by these rules. but the problum is mikrotik does'nt understand p2p traffic, torrent works even if u drop all-p2p traffic. i have filter rules to block torrent traffic with keywords.
You could try L7 rule...

/ip filter layer add name=bittorrent"^(bittorrent protocol|azver$|get /scrape\?info_hash=)|d1:ad2:id20:|'7P\)[RP]"

and use this to mark packets.

I have also had some success specifying P2P in my firewall/mangle rules.

Who is online

Users browsing this forum: voytecky and 16 guests