Community discussions

MikroTik App
 
pulk
just joined
Topic Author
Posts: 2
Joined: Wed Nov 21, 2018 11:29 am

How to route torrents traffic bypassing vpn?

Wed Nov 21, 2018 12:10 pm

Hi.
I have RB591G-2HnD, with RouterOS 6.43.4.
There is a connection to ISP through WiFi, and connection to my openVPN server. Now all packets routes to VPN. It makes a speed limits about 2-3 MiB/s, cause Mikrotik CPU is bottleneck.
I want to route heavy traffic, like torrents or youtube, bypass VPN, directly to my ISP.
I add bittorrent Layer7 protocol with regexp "^(\x13bittorrent protocol|azver\x01$|get /scrape\?info_hash=get /announce\?info_hash=|get /client/bitcomet/|GET /data\?fid=)|d1:ad2:id20:|\x08'7P\)[RP]".
Then I add a mangle rulen prerouting chain, that add a routing mark "novpn" by bittorent layer7 protocol condition. Also I add a route with "novpn" mark to my route list. The route forward 0.0.0.0/0 to ISP gateway through WiFi interface.

It does not work.

I had a lot of tries, and it still does not work. All packets goes to vpn, no one wants to go to ISP directly.
What is my mistake?
 
WeWiNet
Long time Member
Long time Member
Posts: 597
Joined: Thu Sep 27, 2018 4:11 pm

Re: How to route torrents traffic bypassing vpn?

Wed Nov 21, 2018 3:16 pm

Wifi is you only WAN i/f?

Does your mangle L7 rule get hit by traffic (does counter increase?)
What does trace route give you?

More info on your setup would be helpful here with config export.
 
User avatar
m4t7e0
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Tue Jun 09, 2015 12:17 am
Contact:

Re: How to route torrents traffic bypassing vpn?

Wed Nov 21, 2018 7:38 pm

I think you also need to masquerate the the vpn traffic
 
pulk
just joined
Topic Author
Posts: 2
Joined: Wed Nov 21, 2018 11:29 am

Re: How to route torrents traffic bypassing vpn?

Fri Nov 23, 2018 12:45 pm

Image

Image

Image

Image

Image

Who is online

Users browsing this forum: GoogleOther [Bot], mszru, pnhmikvn, yosue111 and 28 guests