#845·mosh

Allow binding mosh traffic to a specific interface.

Author: axman6Created Jan 9, 2017Updated Sep 22, 2026

I have a situation where my laptop is connected to both a wifi and ethernet network, with the ethernet as the primary interface.

My problem is that (for some unknown reason) I can't connect to mosh over the ethernet network, but I can over the wifi network. I'd like to be able to specify that mosh send its traffic over the wifi interface. The SSH side of things can (hopefully) be handled by using the -b flag and the --ssh mosh command (not ideal, but I can live with it).