Browse Source

Change public STUN server used in tests

Rod Hynes 5 months ago
parent
commit
5ba2194702

+ 1 - 1
psiphon/common/inproxy/discovery_test.go

@@ -32,7 +32,7 @@ func TestNATDiscovery(t *testing.T) {
 	// TODO: run local STUN and port mapping servers to test against, along
 	// with iptables rules to simulate NAT conditions
 
-	stunServerAddress := "stun.nextcloud.com:443"
+	stunServerAddress := "stun.voipgate.com:3478"
 
 	var setNATTypeCallCount,
 		setPortMappingTypesCallCount,

+ 1 - 1
psiphon/common/inproxy/inproxy_test.go

@@ -84,7 +84,7 @@ func runTestInproxy(doMustUpgrade bool) error {
 	testNetworkID := "NETWORK-ID-1"
 	testNetworkType := NetworkTypeUnknown
 	testNATType := NATTypeUnknown
-	testSTUNServerAddress := "stun.nextcloud.com:443"
+	testSTUNServerAddress := "stun.voipgate.com:3478"
 	testDisableSTUN := false
 	testDisablePortMapping := false