Changing DPT ports

For now when syncthing works it changes DPT ports (which it adresses to) after every switch on. Is it possible to set it to one or several ports?

Whats DPT?

networking - What is DPT in the context of a firewall log? - Server Fault

The destination port is usually always the same, as thats the address on which the other syncthing listens (assuming there is no NAT, if there is, the NAT device picks the port, not us) is the same, usually 22000.

The outgoing port is always different, but this is pretty standard, we just tell the kernel to connect to xyz, and it picks the outgoing port itself from the ephemeral port range.

Today we had this stack of ports from Syncthing:

PROTO=TCP DPT=10006
PROTO=TCP DPT=10007
PROTO=TCP DPT=10922
PROTO=TCP DPT=12301
PROTO=TCP DPT=12616
PROTO=TCP DPT=12663
PROTO=TCP DPT=12892
PROTO=TCP DPT=13747
PROTO=TCP DPT=14680
PROTO=TCP DPT=15079
PROTO=TCP DPT=15624
PROTO=TCP DPT=1635
PROTO=TCP DPT=18633
PROTO=TCP DPT=18656
PROTO=TCP DPT=19380
PROTO=TCP DPT=21100
PROTO=TCP DPT=22067
PROTO=TCP DPT=22068
PROTO=TCP DPT=22080
PROTO=TCP DPT=22130
PROTO=TCP DPT=2238
PROTO=TCP DPT=22443
PROTO=TCP DPT=22608
PROTO=TCP DPT=23068
PROTO=TCP DPT=24100
PROTO=TCP DPT=27040
PROTO=TCP DPT=27671
PROTO=TCP DPT=27672
PROTO=TCP DPT=28676
PROTO=TCP DPT=30474
PROTO=TCP DPT=31561
PROTO=TCP DPT=31764
PROTO=TCP DPT=33312
PROTO=TCP DPT=33829
PROTO=TCP DPT=34532
PROTO=TCP DPT=36561
PROTO=TCP DPT=36678
PROTO=TCP DPT=37239
PROTO=TCP DPT=37667
PROTO=TCP DPT=39051
PROTO=TCP DPT=39490
PROTO=TCP DPT=45297
PROTO=TCP DPT=45917
PROTO=TCP DPT=4985
PROTO=TCP DPT=50006
PROTO=TCP DPT=50332
PROTO=TCP DPT=51393
PROTO=TCP DPT=51974
PROTO=TCP DPT=52016
PROTO=TCP DPT=5228
PROTO=TCP DPT=54534
PROTO=TCP DPT=55347
PROTO=TCP DPT=56771
PROTO=TCP DPT=57074
PROTO=TCP DPT=57899
PROTO=TCP DPT=58202
PROTO=TCP DPT=60077
PROTO=TCP DPT=62191
PROTO=TCP DPT=63986
PROTO=TCP DPT=65054
PROTO=TCP DPT=7370

Sure, that doesn’t change what I said.

this is impossible for organization, we can’t give it possibility to choose from all ports, we want to fix some or better one

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.