Specifying network device used by software (or port) (in Terminal)
Could you just create a local web proxy to run it through? You could create one using
something like this command in the terminal: 

networksetup -setwebproxy "Network Service 1 Name" proxy2.domain.com 3000