Skip to content

Bastion tunnel doesn't carry UDP traffic #25023

@matt-chan

Description

@matt-chan

Describe the bug

Bastion tunnels don't carry UDP traffic. TCP works fine

Command Name
az network bastion tunnel

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Create bastion tunnel to a VM using az network bastion tunnel --resource-port <resource port> --port <port> ...
  • Works:
    • on the VM: nc -l <resource port>
    • on local machine: echo "hello world" | nc 127.0.0.1 <port>
  • Broken:
    • on the VM nc -ul <resource port>
    • on local machine: echo "hello world" | nc -u 127.0.0.1 <port>

Environment Summary

Linux-5.15.79.1-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04 LTS
Python 3.10.8
Installer: DEB

azure-cli 2.43.0

Extensions:
singularity-cli 1.0.20903345
ssh 1.1.3

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botNetworkaz network vnet/lb/nic/dns/etc...Network - BastionService AttentionThis issue is responsible by Azure service team.act-quality-productivity-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions