Add udp port forward

Add udp port forward, which can be useful for windows rdp udp acceleration.
This commit is contained in:
Deihim Poornader 2022-08-07 11:49:07 +04:30 committed by Martin Wimpress
parent 6474505dc2
commit 309057f984

View file

@ -808,6 +808,7 @@ function vm_boot() {
GUEST_PORT=$(echo "${FORWARD}" | cut -d':' -f2)
echo " - ${HOST_PORT} => ${GUEST_PORT}"
NET="${NET},hostfwd=tcp::${HOST_PORT}-:${GUEST_PORT}"
NET="${NET},hostfwd=udp::${HOST_PORT}-:${GUEST_PORT}"
done
fi