Tunnel listens on all interfaces
This commit is contained in:
parent
ddc838f2f3
commit
e2dae53701
@ -211,7 +211,7 @@ enum ProxyControlMessage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fn add_proxy(in_port: u16, control: Receiver<ProxyControlMessage>) -> anyhow::Result<()> {
|
async fn add_proxy(in_port: u16, control: Receiver<ProxyControlMessage>) -> anyhow::Result<()> {
|
||||||
let listener = TcpListener::bind(("127.0.0.1", in_port)).await?;
|
let listener = TcpListener::bind(("0.0.0.0", in_port)).await?;
|
||||||
|
|
||||||
tracing::info!("proxying port {in_port} to {:?}", *control.borrow());
|
tracing::info!("proxying port {in_port} to {:?}", *control.borrow());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user