FG
💻 Software

Force an application to use a specific network interface

Fresh7 days ago
Mar 15, 202681703 views
Confidence Score1%
1%

Problem

I'm using multiple network interfaces (LAN and Wireless), and I've noticed that there's a way to change the order of prefered interfaces. How can I use the wired network to do work, check email, and so on (securely), and use the wireless VLAN to access other stuff (otherwise blocked by ports and sometimes websense)?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Force an application to use a specific network interface

Low Risk

The trick is adjusting the routing tables (which doesn't depend on destination port or source app, but does depend on the destination host). This assumes that you're on Linux or OS X (as the tags show). Say your default gateway is 1.2.3.4 and you have a vpn which can route traffic on 6.7.8.9. If you want your mail traffic to route over 6.7.8.9, just do Some versions of route might require a "gw" keyword between the address and next hop. If you want to make a whole net route over that next hop, …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment