Community discussions

MikroTik App
 
ujemvi
just joined
Topic Author
Posts: 13
Joined: Wed May 16, 2012 9:37 pm

Problem with DNAT... I guess

Wed Sep 12, 2012 6:05 pm

Hi guys! I'm battling with a requirement at my workt, and I'm loosing badly.
Please, I need some help or guidance. Let me explain the scenario.
Image
I've two sites, linked by a Layer 3 VPN, in which I've to declare to the provider the available private subnets per LAN. Every extreme of this link is conected to my routers with a /30 subnet. One IP for my router, one IP for the provider router.
Router B has a very limit internet access. Router A has an excelent ISP, with great bandwidth, latency,...
In router B's LAN there is a streaming server. Right now is sending the stream to a remote server, using the limited internet access. This implementation sucks. So I've been asked to route somehow the streaming via the VPN, to use the good ISP. But only the server's traffic, no the entire LAN.
I'm lost. I don't know how to begin to solve this.
Please, some help.
 
tws101
Member Candidate
Member Candidate
Posts: 283
Joined: Thu Sep 08, 2011 11:25 pm

Re: Problem with DNAT... I guess

Wed Sep 12, 2012 10:59 pm

2 things

1. IP Firewall Mangel
2. IP Routes

(Make these changes in Winbox, this is not exact code)
IP Firewall Mangel
Add Action Routing Mark="Create Name" SRC=192.168.200.172

Ip Routes
Add Route 0.0.0.0/0 DST=192.168.254.16 Routing Mark Required="Same name you created above" Distance=1

So we mark the traffic coming from the streaming server. Then we tell the routing table where to route traffic that has that mark.

Who is online

Users browsing this forum: glueck05 and 60 guests