Grouping Devices

Background: I am using the Expressvpn firmware on my WRT1200AC. It is a slightly customized build of OpenWRT. There is a function that allows you to select if a device will be:

  1. Direct Connection
  2. VPN Connection
  3. MediaStreamer

If #2 is selected, it will route all traffic on that device through the VPN
If #3 is selected, it will assign a specific DNS

Is there any way to replicate this in vanilla openwrt? On their firmware, you can easily switch devices between functions which leads me to believe it is some sort of grouping.

You need to do Policy Based Routing and you have 3 options:

  1. mwan3 package
  2. pbr package
  3. a set of rules/routes for each internet connection.
    For the specific DNS you can use tags.
1 Like