Route specific traffic over VPN?
-
Hi, I am sorry to be posting here, but I didn't couldn't work out if my issue is a routing problem a vpn problem or a NAT problem. I have been running pfsense for a couple of years, but I usually leave it like I would a standard router, so I am a noob.
I have IPTV - formula one is starting again soon! Using smarters, an iptv client which works on Firesticks I can protect snooping using NordVPN. I use split tunnelling and it seems to work fine, though I couldn't find a "kill switch" in that software.
Anyway, I am also using Emby and I added my IPTV accounts into it. Emby is running on Unraid (IP 192.168.0.10)
I have read many ways to route traffic from a certain IP over the VPN, but I don't want to route all Unraid traffic over the VPN, just the IPTV traffic.
If I wanted to route anything going to these urls; line.hdrapid.live, line.fire-4k.cc, line.maintv.live, line.speedhd.live over the VPN I have up and running, how would I go about it? I tried to ping these addresses to get an ip address, but I couldn't get ip addresses for them, (No idea how they work then)
I reckon I want to route any traffic to these urls from any lan address over the VPN.
I tried to add those urls as a network alias, likely the wrong thing to try, but even if it wasn't , when I try to add a rule to transfer traffic to those urls using the alias through the VPN, it won't show up.
So as you may surmise, I am really and truly clueless. I haven't been able to find anything that would work for me - most guides advise using LAN IP addresses, but as I say, it is really just the one lan IP for me - Emby on 192.168.0.10, but I dont want to route everything through there.
Could anyone give me any (simple) pointers?
Thanks.
Ian
-
You can try to resolve those fqdns as an alias and use that in policy routing. However there's a good chance they resolve to numerous IP addresses. Especially for something like that where anonymising the traffic may be important. They may6 not respond to ping but they do resolve. YMMV!