Is there a way to bind -redir to a specific host interface?
I want to -redir a port from 127.0.0.1 on the host into qemu without also binding to that port on the host's the external interface. Is there a way to specify this?
I checked qemu --help but I can't figure out the syntax for specifying which host address to bind to, and wandering through the source code I can't see where this information is provided to slirp/socket.c:solisten() either...
Rob
Signature · 1 line
Latency is more important than throughput. It's that simple. - Linus Torvalds
Quoted 7 lines · Rob Landley
I want to -redir a port from 127.0.0.1 on the host into qemu without also binding to that port on the host's the external interface. Is there a way to specify this?
I checked qemu --help but I can't figure out the syntax for specifying which host address to bind to, and wandering through the source code I can't see where this information is provided to slirp/socket.c:solisten() either...
Also when looking at the code, at slirp_redir()'s arguments, I cannot find such a feature. But I'm about to refactor this interfaces and will keep your requirement in mind. It makes some sense to add this.
Jan