2024-07-10, 05:56 PM
Unfortunately, without knowing the specifics of your system, I would not be able to give you anything more than some general direction and some reading resources. For example, the rules I provided are not specific to your system and would not work without being adjusted to the specifics of your system. The iptable rules, for example, can't do anything if your firewall is already wide open, which it sounds like is the case for you
That third link I gave you, Route Traffic for a Specific IP, does a pretty good job of explaining how ip routes work and how you would create one specific to your system. I can't promise this is the solution in your case, but I believe it is. More than likely you have multiple virtual interfaces (one of which is for the VPN) all communicating over a single physical interface (ethernet or wifi). All web traffic gets sent through one of these virtual interfaces. It is the ip routes table that determine which interface to send the traffic through based on the ip address of the traffic.
What you want to do is create an ip route that will rout traffic from the ip address of your external jellyfin user to the virtual interface that is not used by your VPN.
The command to create that rule should look like this:
That third link I gave you, Route Traffic for a Specific IP, does a pretty good job of explaining how ip routes work and how you would create one specific to your system. I can't promise this is the solution in your case, but I believe it is. More than likely you have multiple virtual interfaces (one of which is for the VPN) all communicating over a single physical interface (ethernet or wifi). All web traffic gets sent through one of these virtual interfaces. It is the ip routes table that determine which interface to send the traffic through based on the ip address of the traffic.
What you want to do is create an ip route that will rout traffic from the ip address of your external jellyfin user to the virtual interface that is not used by your VPN.
The command to create that rule should look like this:
Code:
ip route add [JELLYFIN_USER_IP] via [GATEWAY_IP] dev [THE_NON-VPN_DEVICE_NAME]