是否可以通过不同的网络接口路由不同的应用程序?


4

是否可以通过不同的网络接口路由不同的应用程序?

让我们说(假设)我想/usr/bin/thunderbird通过vlan0/usr/bin/firefox通过eth0

有办法吗?如果是这样,它还有一个图形工具吗?

Answers:


1

一个更简单的解决方案是自定义路由到特定主机(在您的示例中)到您的邮件服务器。


1

路由在IP级别完成,它对生成流量的应用程序一无所知。所以我不认为这是可能的。


1
那么使用netstat -p你怎么可能看到特定网络连接背后的程序?
mydoghasworms 2011年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.