I'd like to route all Amazon Prime video through my wan interface, not through a wireguard interface that i have VLAN2 devices connecting through.
I have installed PBR and tried checking the custom user file includes box for '/usr/share/pbr/pbr.user.aws'.
Then I tried adding a list of Amazon Prime Domains to route via the WAN interface - also did not work.
To debug I tried routing traffic to ifconfig.me outside of the VPN on VLAN2 - this worked. But I can't get the same results when I try to do this with whatismyip.com or mullvad vpn's connectivity check.
I'm struggling to figure out what the difference is? I have checked the domains connected to by whatismyip.com using PiHole's DNS logging on VLAN 1 (no VPN) and can't see any other domains.
What else should I try?
pbr config
list webui_supported_protocol 'tcp udp'
list webui_supported_protocol 'icmp'
config include
option path '/usr/share/pbr/pbr.user.aws'
option enabled '1'
config include
option path '/usr/share/pbr/pbr.user.netflix'
option enabled '1'
config policy
option name 'Plex/Emby Local Server'
option interface 'wan'
option src_port '8096 8920 32400'
option enabled '0'
config policy
option name 'Plex/Emby Remote Servers'
option interface 'wan'
option dest_addr 'plex.tv my.plexapp.com emby.media app.emby.media tv.emby.media'
option enabled '0'
config policy
option name 'mullvad test'
option dest_addr 'mullvad.net ipinfo.io pv4.am.i.mullvad.net'
option interface 'wan'
config policy
option name 'whatismyip test'
option dest_addr 'mullvad.net prime-video.amazon.dev amazon.com ifconfig.me aiv-cdn.net aiv-delivery.net amazonvideo.com atv-ext.amazon.com atv-ext-eu.amazon.com atv-ext-fe.amazon.com atv-ps.amazon.com atv-ps-eu.amazon.com atv-ps-eu.amazon.co.uk atv-ps-fe.amazon.co.jp atv-ps-fe.amazon.com av-eu.amazon.com av-na.amazon.com primevideo.com pv-cdn.net video.a2z.com amazon.co.uk'
option interface 'wan'
option src_addr '192.168.2.x'
config policy
option name 'wan6 test'
option src_addr '192.168.2.x'
option dest_addr 'mullvad.net prime-video.amazon.dev amazon.com ifconfig.me aiv-cdn.net aiv-delivery.net amazonvideo.com atv-ext.amazon.com atv-ext-eu.amazon.com atv-ext-fe.amazon.com atv-ps.amazon.com atv-ps-eu.amazon.com atv-ps-eu.amazon.co.uk atv-ps-fe.amazon.co.jp atv-ps-fe.amazon.com av-eu.amazon.com av-na.amazon.com primevideo.com pv-cdn.net video.a2z.com amazon.co.uk'
option interface 'wan6'
config policy
option name 'VLAN 2 over wireguard'
option dest_addr '!192.168.0.0/16'
option interface 'wgmvad'
option src_addr '192.168.2.0/24'