Community discussions

MikroTik App
 
CenturyG
just joined
Topic Author
Posts: 12
Joined: Tue Nov 29, 2022 4:43 pm

BTest Server & Bandwidth Test

Fri Jan 20, 2023 8:23 pm

Having some issue with firewall rule that supposed to open to port 2000 but from our main company router (mikrotik) its not communication with the client router? Any idea's that can lead me into punching that hole (figuratively) through the firewall so it can communicate with the client router so we can run the bandwidth test.

Is there someone that has documentation as to how to setup this BT Server so I can test this out on client routers?
 
bdk
just joined
Posts: 7
Joined: Fri Jan 08, 2021 12:08 am

Re: BTest Server & Bandwidth Test

Thu Feb 23, 2023 10:46 am

I too can't find any documentation on opening firewall ports but looking through the packet captures and sniffers and the initial btest starts with a TCP connection to port 2000 of the btest server. If the btest is using TCP for the test, everything should work as-is.

If you're testing using UDP, I believe that this is what happens...

After the initial TCP connection is established, and UDP is selected as the testing protocol, the server will tell the client to connect on a port higher then the one you specify in the Tools->BTest Server->Allocate UDP Ports From "XXXX", defaults to 2000. We'll just use port 2000 for this instance.

The client will connect to the server on port 2000 using UDP to start a SEND speed test. If the client requests a RECEIVE speed test, the server connects back to the client on the source port that it used to make initial UDP connect to the server's port 2000. This port on the client seems to be between 2200-2300, but as I was testing further, the client started to use ports higher then 2300 and I keep needing to widen the UDP port allow range to allow the server to send data to the client.

I'm now suspecting that to make UDP work, the firewall needs to be pretty permissive from 2000 through 64000.

Hope that helps.

-bdk

Who is online

Users browsing this forum: No registered users and 66 guests