mirror of
https://github.com/arampoire/onetun.git
synced 2026-01-16 11:20:24 -05:00
WIP: Remote port forwarding
This commit is contained in:
parent
def5f22d3c
commit
c19af07342
2 changed files with 133 additions and 32 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue