Community discussions

MikroTik App
 
gradash
newbie
Topic Author
Posts: 33
Joined: Mon Apr 20, 2015 11:44 am

How to forward one local PC through VPN ?

Fri Sep 18, 2015 4:04 pm

Hi, i have configured PPTP client interface, it connects, and appears reachable route. Now i need to forward one IP address from local net through this route, to another country, how to do that ? I have idea only about mangle...
 
Van9018
Long time Member
Long time Member
Posts: 558
Joined: Mon Jun 16, 2014 6:26 pm
Location: Canada - Abbotsford

Re: How to forward one local PC through VPN ?

Sat Sep 19, 2015 11:04 pm

Create a mangle rule, when packet is from your host ip, then action: set routing mark. Set the mark as PPTP

Now add a route, when dst-address is 0.0.0.0/0 AND routing mark=PPTP, then route it through your PPTP interface.