0

I intend on hosting a number of services on a single NAS-like device and so was wondering if there were an easy way to set up a reliable VPN connection for only certain services while leaving others exposed -- like game servers so that users are not bogged down in latency -- all from a router as I am hearing this is the preferred way. However, the stock TP-Link firmware provided by my router (AX6000) seems to only be capable of tunneling entire devices through the VPN as opposed to particular connections. It has led me to think about having multiple network interfaces that I can have the services select, I am running them through Docker after all, but networking is already an arcane subject to me.

What I am asking for is kinda particular, so if it is not at all possible I could focus instead on setting up the VPN client on the server itself with elaborate iptables to tunnel my desired traffic through safer means. I do run a basic Debian 12 installation on it and have no worry about wiping it clean when called for. So, my question instead would be the compromises I am making when not running it on a router level.

3
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Commented Apr 1 at 13:16
  • Is your question how to set such a tunnel up, what compromises you'll accept "when not running it on a router level", or something else? You have multiple possible questions here, which while related are not the same. Also, besides noting that your router has limitations, what research have you done regarding this and what have you tried so far? Commented Apr 1 at 15:16
  • I pitched it in this fashion because I don't really know what I am talking about. So, in part, I am hoping to narrow down what I should be looking for. Most of my research has been surface level and I hope to learn more about networking in general, so it made me come away with vague ideas. I have only tried the router option so far, may end up switching to some on-server solution that I'll integrate with Systemd. I guess what I am hoping to accomplish here is ultimately split tunneling to ensure certain services get VPN while the others don't, if that is the appropriate term.
    – dorkbutt
    Commented Apr 1 at 16:43

0

You must log in to answer this question.

Browse other questions tagged .