Route traffic only for processes that bind to tun0 (Linux)
Posted: Thu Aug 18, 2022 2:21 pm
Hi all,
I would need to use OpenVPN for a few processes only, not for all my Linux system.
These processes can bind to tun0 directly, forcing them to use VPN only.
I thought I could accomplish that with 2 steps :
Or do I have to use a more optimized solution ?
Thanks in advance and best regards
I would need to use OpenVPN for a few processes only, not for all my Linux system.
These processes can bind to tun0 directly, forcing them to use VPN only.
I thought I could accomplish that with 2 steps :
- include "route-nopull" in my client config file
- bind my processes to tun0
Or do I have to use a more optimized solution ?
Thanks in advance and best regards
