Allow Tor to listen on a specific interface for ORPort
I have a use case where my Tor has a dynamic IP on one interface and only one interface. The device in question has three interfaces and two of them should will not offer an ORPort.
It is possible to offer specific Tor services by interface only if the interface has a static ip. This means that I have to hard code ip addresses into my torrc and this doesn't scale very well. It would be nice to listen on whatever ip address is bound to a given interface. Here is an example stanza:
ORPort eth0:auto by-interface
It would also be nice if it was possible to do this for other things like the TransPort, etc.
Any thoughts on this would be most appreciated.