Community discussions

MikroTik App
 
ialcantara
just joined
Topic Author
Posts: 18
Joined: Tue Apr 16, 2013 6:12 am

how to route specific traffic directly to the WAN bypass VPN

Sun Jan 12, 2014 4:32 am

Hi,

I have a established a PPTP VPN for all outgoing traffic this is the configuration I used for NAT and Mangle http://www.strongvpn.com/setup_mikrotik_pptp.shtml , but I need some traffic to be routed outside the VPN direcly from the WAN , like sling box and USTVNOW servers because this streaming services work better with out the over head of the VPN. how can I do that? I think I can identify the IP addresses that this servers use to connect, I guess I only need to understand the rules that will apply to bypass the VPN.

thank you very much.

Ivan
 
User avatar
c0d3rSh3ll
Long time Member
Long time Member
Posts: 557
Joined: Mon Jul 25, 2011 9:42 pm
Location: [admin@Chile] >

Re: how to route specific traffic directly to the WAN bypass

Sun Jan 12, 2014 5:38 am

First add a mangle rule in the top of your rules like this

/ip firewall mangle add chain=prerouting dst-address-list=bypassed action=accept

Then add the ip of the server in the bypassed address list in the address list tab.

Send from my mobile phone using Tapatalk.
 
ialcantara
just joined
Topic Author
Posts: 18
Joined: Tue Apr 16, 2013 6:12 am

Re: how to route specific traffic directly to the WAN bypass

Sun Jan 12, 2014 7:17 am

Thank you it worked, is there a way I can do it by hostname instead of by IP Address? thank you for your help by the way!.

Ivan.
 
User avatar
c0d3rSh3ll
Long time Member
Long time Member
Posts: 557
Joined: Mon Jul 25, 2011 9:42 pm
Location: [admin@Chile] >

Re: how to route specific traffic directly to the WAN bypass

Sun Jan 12, 2014 5:47 pm

Thank you it worked, is there a way I can do it by hostname instead of by IP Address? thank you for your help by the way!.

Ivan.
Is not possible but with script you can use hostname

http://wiki.mikrotik.com/wiki/Use_host_ ... wall_rules

Send from my mobile phone using Tapatalk.

Who is online

Users browsing this forum: Bing [Bot], dj23, ismel0x, lostb1t, sch, ToTheFull and 49 guests