Work around IGDs that deduplicate entries based on the internal port

This is a violation of the UPnP IGD specification but we can relay through an alternate port as a workaround.
This commit is contained in:
Cameron Gutman
2020-08-10 21:16:21 -07:00
parent 5f015acdaa
commit 05413a554c
5 changed files with 148 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#pragma once
#define RELAY_PORT_OFFSET -10000
int StartUdpRelay(unsigned short Port);