Routing table modification for applications to use specified network interface, based on domain name

Hi!


Apologies if this is basic stuff, I do not have any expertise in networking.


I am looking for a way to edit/modify routing tables (preferably via an app and without needing to use Terminal), and to specify routing based on domain names as opposed to IP addresses.


The problem I am trying to solve is being simultaneously connected to ethernet and wifi, with 99% of traffic going through ethernet and only connections to mail servers going through wifi (all outgoing mail access is blocked on my network - incoming is not - don't ask . . . ).


I can achieve what I want just by plugging / unplugging ethernet and toggling proxy settings but it seriously disrupts workflow and is not ideal.


So any advice on how one can set a routing rule based on domain name as opposed to IP address (preferably via an app - but happy to try Terminal if not too convoluted) would be much appreciated.


I would ideally be looking for something simple like the below example, except with the ability to do domains as destination instead of IP.


Any help would be greatly appreciated.

Posted on Aug 30, 2022 4:25 PM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Routing table modification for applications to use specified network interface, based on domain name

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.