Port forwarding, TCP,UDP, or both?

Online flights and compettion chat

Moderators: Uros, Tom, OXO

Post Reply
n98Bk9-NT3
Posts: 153
Joined: Sat Jun 17, 2017 6:27 am
Location: Tokyo, Japan

Port forwarding, TCP,UDP, or both?

Post by n98Bk9-NT3 » Fri Nov 15, 2024 2:07 am

I am preparing for task server for C3.
I heard there are three ports should be forwarded through the router.
The one is defined in the C3 setting, and the others are two more upper ports for voice channels.

Are these TCP or UDP? or should I open both?

Naoki
Image

User avatar
Paul_UK
Posts: 881
Joined: Sat Aug 29, 2009 1:05 pm
Location: Southampton, UK

Re: Port forwarding, TCP,UDP, or both?

Post by Paul_UK » Fri Nov 15, 2024 7:00 am

Have you heard what three ports need to be open for Condor 3?

For Condor 2 I have 2, these are:

56278
56400

Is it these two plus an extra one for C3?

I only have them set as UDP for Condor 2 as that was what we were told to use. I'm unsure whether the new push to talk feature will require TCP as well.
Image
2018 - Silver Badge complete - Forgot I could claim for the 100km diploma flying an out and return :oops:
2019 - Get up to speed and aim for a 300km task?! maybe.....

6266
Posts: 1465
Joined: Tue Aug 25, 2020 7:07 am

Re: Port forwarding, TCP,UDP, or both?

Post by 6266 » Fri Nov 15, 2024 7:41 am

n98Bk9-NT3 wrote:
Fri Nov 15, 2024 2:07 am
I heard there are three ports should be forwarded through the router.
Where have you seen that? When I installed my first C3 server, I saw a short time a message (wherever, I don't know) about 2 ports to open for voice, in and out, but these ports where the same I use for other servers. So I haven't done anything, but I don't find information or a setting about that

Sorry for not answering but adding a question ;-)
Visit https://www.baleit.no

Events: Vintage Series 24, Vi(rtual)Glide, The Journey
Landscapes, tools, panels, discussion forum ...

User avatar
wickid
Posts: 3338
Joined: Mon Dec 04, 2006 7:32 pm
Location: Venlo, NL
Contact:

Re: Port forwarding, TCP,UDP, or both?

Post by wickid » Fri Nov 15, 2024 7:43 am

If you use 56278, you need to open 56279 and 56280 as well for the voice server. It is always the 2 ports directly above the main port.
PH-1504, KOE
Condor beta team/Plane developer

n98Bk9-NT3
Posts: 153
Joined: Sat Jun 17, 2017 6:27 am
Location: Tokyo, Japan

Re: Port forwarding, TCP,UDP, or both?

Post by n98Bk9-NT3 » Fri Nov 15, 2024 8:28 am

Thanks all,

I have had some try-and-error and finally found a solution: activating UPnP-IGD. I don't know why, but manual port forwarding would not work with my router and ISP.

Anyway, when I need to open ports for C3 manually, I will open three ports with TCP/UDP for each server.

By the way, do voice channels of C3 use much more power of the CPU than flight data, or no need to worry about?

Naoki
Image

6266
Posts: 1465
Joined: Tue Aug 25, 2020 7:07 am

Re: Port forwarding, TCP,UDP, or both?

Post by 6266 » Fri Nov 15, 2024 9:06 am

wickid wrote:
Fri Nov 15, 2024 7:43 am
If you use 56278, you need to open 56279 and 56280 as well for the voice server. It is always the 2 ports directly above the main port.
Is this not possible to configure? My 6 Condor servers use ports 56281 - 56286, that means the server with port 56284 should use 56285 and 56286 for voice, but they are used for other servers. I'm not sure if voice on that server disturbs the other servers. So I have to reconfigure all?
Visit https://www.baleit.no

Events: Vintage Series 24, Vi(rtual)Glide, The Journey
Landscapes, tools, panels, discussion forum ...

User avatar
wickid
Posts: 3338
Joined: Mon Dec 04, 2006 7:32 pm
Location: Venlo, NL
Contact:

Re: Port forwarding, TCP,UDP, or both?

Post by wickid » Fri Nov 15, 2024 9:48 am

6266 wrote:
Fri Nov 15, 2024 9:06 am
wickid wrote:
Fri Nov 15, 2024 7:43 am
If you use 56278, you need to open 56279 and 56280 as well for the voice server. It is always the 2 ports directly above the main port.
Is this not possible to configure? My 6 Condor servers use ports 56281 - 56286, that means the server with port 56284 should use 56285 and 56286 for voice, but they are used for other servers. I'm not sure if voice on that server disturbs the other servers. So I have to reconfigure all?
Yes, they have to be consecutive ports. And you will have trouble with either the radio or the other server if you try to use the same ports for multiple servers.
PH-1504, KOE
Condor beta team/Plane developer

User avatar
wickid
Posts: 3338
Joined: Mon Dec 04, 2006 7:32 pm
Location: Venlo, NL
Contact:

Re: Port forwarding, TCP,UDP, or both?

Post by wickid » Fri Nov 15, 2024 9:50 am

n98Bk9-NT3 wrote:
Fri Nov 15, 2024 2:07 am
Are these TCP or UDP? or should I open both?
To answer this question. I've opened both as that is what it shows in the manual. I have 56278, 56279 and 56280 all set up with portforwarding both UDP and TCP. And that works well.
PH-1504, KOE
Condor beta team/Plane developer

n98Bk9-NT3
Posts: 153
Joined: Sat Jun 17, 2017 6:27 am
Location: Tokyo, Japan

Re: Port forwarding, TCP,UDP, or both?

Post by n98Bk9-NT3 » Fri Nov 15, 2024 10:47 am

Thanks, all

Naoki
Image

6266
Posts: 1465
Joined: Tue Aug 25, 2020 7:07 am

Re: Port forwarding, TCP,UDP, or both?

Post by 6266 » Fri Nov 15, 2024 12:02 pm

From the manual ;-)
There are many different routers used across the world, and we can only show one example here. For further help
please ask the community in the Condor forum
Condor 2 manual said, UDP is required, Condor 3 shows a picture with "TCP or UDP". On my router I can't set "TCP or UDP", I have to choose one. I have 6 voice ports to open, and don't want to do that with 12 forwardings, each 1 for UDP and 1 for TCP. Two questions:

1. Is UDP included when I choose TCP?

2. If not, what is really needed for voice, UDP or TCP?

Thanks
Visit https://www.baleit.no

Events: Vintage Series 24, Vi(rtual)Glide, The Journey
Landscapes, tools, panels, discussion forum ...

folken
Posts: 50
Joined: Fri Nov 27, 2009 6:02 pm

Re: Port forwarding, TCP,UDP, or both?

Post by folken » Fri Nov 15, 2024 4:50 pm

> 1. Is UDP included when I choose TCP?
Nope. Separate Protocol from TCP.

> 2. If not, what is really needed for voice, UDP or TCP?
I suspect UDP.
----
XCSoar Test Builds: https://download.xcsoar.org/testing/
XCSoar Dev Docs: https://xcsoar.readthedocs.io

6266
Posts: 1465
Joined: Tue Aug 25, 2020 7:07 am

Re: Port forwarding, TCP,UDP, or both?

Post by 6266 » Fri Nov 15, 2024 5:36 pm

Thanks, then I will open UDP, and when I first use it, it will work, or not ... ;-)
Visit https://www.baleit.no

Events: Vintage Series 24, Vi(rtual)Glide, The Journey
Landscapes, tools, panels, discussion forum ...

Post Reply

Who is online

Users browsing this forum: No registered users