Pepetops 0 Posted ... Hi all.If I have two nics in the same PC is possible connect Eddie only to one of them and use the other for Internet without VPN? Thanks Share this post Link to post
OpenSourcerer 1435 Posted ... I was confronted with the same problem on one of my servers and found out that with iproute2 on GNU/Linux it's possible to create additional routing tables and assign them to different interfaces. The complication I see is that OpenVPN only ever writes to the default/first one. My research did not reveal any ways to make it do otherwise by means of configuration, but I'm open for any hints in docs and code. 1 Pepetops reacted to this Hide OpenSourcerer's signature Hide all signatures NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT. LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too! Want to contact me directly? All relevant methods are on my About me page. Share this post Link to post
zhang888 1066 Posted ... Technically it's possible, and even quite easy, it's called policy based routing:https://community.openvpn.net/openvpn/wiki/Concepts-PolicyRouting-Linuxhttps://github.com/RMerl/asuswrt-merlin/wiki/Policy-based-routing The more important question is, how are you going to decide which apps would usewhich interface, if they don't natively support it.One of the common ways to do it is by using Linux Namespaces or cgroups, and instructingeach app to be using a different interface by making specific rules for it.Some more info:https://superuser.com/questions/271915/route-the-traffic-over-specific-interface-for-a-process-in-linux 2 iampd and Pepetops reacted to this Hide zhang888's signature Hide all signatures Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees. Share this post Link to post