AsusWRT, allowing single applications to bypass VPN client?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

lbnp

New Around Here
Hi, I have my current AsusWRT configuration (on an RT-AS86u router) set to route all traffic through a VPN service using an OpenVPN client.

I want Zoiper Pro to not be routed through the VPN client. Is it possible to exclude a single application? I have searched the settings but come up short so far.

PS: I would prefer to stay with the stock firmware instead of Merlin if possible.
 

Butterfly Bones

Very Senior Member
I don't think you can with stock AsusWRT, sorry I missed that is your preference.

Yes, you can with Policy Based Routing. See this article on the RMerlin AsusWRT wiki. Note it has great examples near the bottom.
 

lbnp

New Around Here
Thanks, that is unfortunate to hear. Looks like I'll need a new device for phone calls then.
 

eibgrad

Very Senior Member
You can't route a specific application through the VPN, because the only criteria available to PBR (policy based routing) is based on the source IP. So wrt that source IP, it's all or nothing in terms of what gets routed over the WAN vs. VPN.

However, if it happens that a given application is *known* to use specific public destination IPs, you could add static routes for those IPs to the OpenVPN client config and bind them to the WAN.
Code:
route 199.199.199.199 255.255.255.255 net_gateway


Of course, this affects *all* clients that use that destination IP, not just that one app on that one device.

If there are multiple destination IPs, and they belong to a common class (e.g., class C, 199.199.199.0/24), you could treat the class as a single route.
Code:
route 199.199.199.0 255.255.255.0 net_gateway
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top