Bastion tunnel doesn't carry UDP traffic
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
## 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 --port ...`
- Works:
- on the VM: `nc -l `
- on local machine: `echo "hello world" | nc 127.0.0.1 `
- Broken:
- on the VM `nc -ul `
- on local machine: `echo "hello world" | nc -u 127.0.0.1 `
## 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
Contributor guide
Assessment
This issue has not been assessed yet.