FG
💻 Software

Route the traffic over specific interface for a process in linux

Fresh7 days ago
Mar 15, 202645650 views
Confidence Score0%
0%

Problem

Is it possible to route the traffic used by a process over a specific interface? For example, network traffic by download application should always use the interface whereas all other applications on the machine should use . Is it possible to have this kind of rule in Linux?

Error Output

wlan0

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Route the traffic over specific interface for a process in linux

Low Risk

I have sooo struggled with this so here's a COMPLETE solution. It's tested on Ubuntu 15 to 19.10. You can especially use it with OpenVPN to route certain apps outside the VPN tunnel interface. The complete "cgroup" solution How that works? Linux ker…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment