Community discussions

MikroTik App
 
blarre
just joined
Topic Author
Posts: 6
Joined: Tue Jul 05, 2011 3:38 pm

Routing over PPTP tunnel

Thu May 02, 2013 4:57 pm

On my router I have a PPTP client to a work network. This connection works. I have also put in a route for the work network to go over the PPTP tunnel, this works and all my clients behind the router can access those IPs.

I also have two ports opened (21 and 5000), FTP and webpage. I can access this services from any place. But not from the work network (when I have the route rule active).
Note, the work IPs are all public IP addresses.

Can I limit the route in the router to only apply on local clients? I´m not sure what the mikrotik router is trying to do when I come from the work network and trying to access the services on port 21 and 5000.

Anyone who might have a solution? I know it´s a special case, tho I have public addresses on the work.
 
User avatar
joshaven
Member
Member
Posts: 438
Joined: Fri May 06, 2011 1:50 am
Location: USA
Contact:

Re: Routing over PPTP tunnel

Fri May 03, 2013 5:40 am

You could match the packets with a mangle rule and set the action to add a route mark.

Then creat a route entry for all traffic to your normal Internet gateway and set the route mark as a match on the route.

When a packet has the same routing mark as the route then this route will be primary.

Who is online

Users browsing this forum: VirtualEvan and 116 guests