Page 1 of 1

Hide my ass vpn client and Voip.

Posted: Mon Aug 12, 2013 8:46 pm
by Siciliano698
Hi

I configured my Mikrotik router to connect pptp vpn client and the provider is hide my ass for the vpn, I have a voip ata adapter connected to my mikrotik port 2 however I do not want my voip traffic to be managed by the vpn client I want it to be connected to my isp wha twould be the settings I would need to do this?

Re: Hide my ass vpn client and Voip.

Posted: Tue Aug 13, 2013 3:06 pm
by nakashi19
Is there an option where you can specify what kind of traffic will go through Hide my ass?

Re: Hide my ass vpn client and Voip.

Posted: Mon Sep 09, 2013 4:48 pm
by Siciliano698
Hi,

My RB gateway ip is 192.168.88.1

My Ata Voip Adapter 192.168.88.177

My ata voip adapter is connected into ethernet port 2 of my routerboard.

What I need is my ata voip adapter to connect/register with my real public wan ip and not the vpn I setup in the RB, I just want my computers and other devices to connect to the vpn.

What rule do I setup so my ATA Voip adapter connects to my real public ip and not the vpn?

Re: Hide my ass vpn client and Voip.

Posted: Mon Sep 09, 2013 11:23 pm
by ohara
What rule do I setup so my ATA Voip adapter connects to my real public ip and not the vpn?

ros code

/ ip firewall mangle add chain=prerouting action=mark-routing new-routing-mark=tunnel passthrough=no src-address=!192.168.88.177
Try adding the above routing mark. The exclamation mark is used on purpose.

Then replace your dynamic VPN route in IP>ROUTES with a static route to your VPN gateway and set the routing mark, like this: