WIP: Remote port forwarding

This commit is contained in:
Aram 🍐 2022-01-08 22:00:36 -05:00
parent def5f22d3c
commit c19af07342
2 changed files with 133 additions and 32 deletions

View file

@ -87,6 +87,10 @@ async fn main() -> anyhow::Result<()> {
.port_forwards
.iter()
.any(|pf| pf.protocol == PortProtocol::Udp)
|| config
.remote_port_forwards
.iter()
.any(|pf| pf.protocol == PortProtocol::Udp)
{
// UDP device
let bus = bus.clone();