DopeyD
Hi Guys,
I am not sure if what I want is possible but I am facing a small problem with my setup.
I am running an openvpn server at home on my raspberry pi in bridged mode.
In my office I have a PC and a router, both of them setup as different clients and both are working so no trouble there 🙂
Due to the processing power I prefer my PC to be the main client to connect to the server. Most of the time this works, but sometimes I remote desktop in and accidentally shutdown my connection (sheer stupidity) or something else happens and it falls back to my router (fail-safe)client. As intended.
The problem is that when openvpn switches to the router connection it overrides the client from my PC (even when it is connected again) and thus I am facing lower speeds because of the lower processing power. Is there a setting in Open VPN to always prefer a connection over another?
Kind regards,
DopeyD
TinCanTech
There is nothing in openvpn per se .. what you need is more specific routes.
DopeyD
Hello TinCanTech,
Thank you for your reply. I vaguely understand what you are saying.
How do I go about creating extra routes to acomplish this?
kind regards,
DopeyD
TinCanTech
In your --client-connect-dir file (server) add a host route and --iroute for your client.