Hello @DanielGaaA, it may be worthwhile to also report this to Steam Support as a documentation issue.
After your suggestion I contacted steam support and they redirected me back here.
Hi there,
We're sorry you're having issues with Steam on Linux.
Please submit all issues and bugs to the bug database using a GitHub account. This database is regularly reviewed by the Valve developer team.
In the meantime, the best source for further troubleshooting steps and suggestions can be found in the Steam for Linux community discussion.
You can also find current support documentation for the Steam for Linux client here.
Thanks for using Steam,
Alexey
Same issue, the port is different for me - its also 27040
Solution is add that port to the firewalld -
sudo firewall-cmd --zone=public --add-port=27040/tcp --permanent
sudo lsof -i -P -n | grep steam
steam 9591 love 39u IPv4 976329 0t0 TCP 127.0.0.1:57343 (LISTEN)
steam 9591 love 43u IPv4 977418 0t0 TCP 127.0.0.1:37327 (LISTEN)
steam 9591 love 73u IPv6 1027255 0t0 TCP *:27040 (LISTEN)
steam 9591 love 76u IPv4 977425 0t0 TCP 127.0.0.1:27060 (LISTEN)
steam 9591 love 77u IPv4 954151 0t0 TCP 127.0.0.1:38349 (LISTEN)
steam 9591 love 102u IPv6 1002165 0t0 TCP 192.168.1.175:27040->192.168.1.177:49373 (ESTABLISHED)
steam 9591 love 108u IPv4 983205 0t0 TCP 192.168.1.175:40213->146.66.155.54:27038 (ESTABLISHED)
steam 9591 love 117u IPv4 977431 0t0 TCP 127.0.0.1:38349->127.0.0.1:47268 (ESTABLISHED)
steam 9591 love 118u IPv4 973618 0t0 TCP 127.0.0.1:37327->127.0.0.1:35468 (ESTABLISHED)
steam 9591 love 122u IPv4 959355 0t0 UDP *:27036
steam 9591 love 124u IPv4 959356 0t0 TCP *:27036 (LISTEN)
steamwebh 9693 love 30u IPv4 976380 0t0 TCP 127.0.0.1:47268->127.0.0.1:38349 (ESTABLISHED)
steamwebh 9693 love 31u IPv4 982083 0t0 TCP 127.0.0.1:35468->127.0.0.1:37327 (ESTABLISHED)
steamwebh 9693 love 35u IPv4 1002159 0t0 TCP 192.168.1.175:57136->2.18.69.117:443 (ESTABLISHED)
steamwebh 9693 love 37u IPv4 1002162 0t0 TCP 192.168.1.175:52936->79.101.14.16:443 (ESTABLISHED)
steamwebh 9693 love 38u IPv4 1002160 0t0 TCP 192.168.1.175:57144->2.18.69.117:443 (ESTABLISHED)
@koloved Do you know, if the UDP ports listed on the Steam homepage are required, too?
Then this all could be added to Firewalld, so it works OOTB: https://github.com/firewalld/firewalld/pull/1216
@koloved Do you know, if the UDP ports listed on the Steam homepage are required, too?
Then this all could be added to Firewalld, so it works OOTB: firewalld/firewalld#1216
I am not koloved, but I can absolutely say that yes, the UDP ports 27031-270136 are required. Without them, the Steam-for-LINUX client will not be discovered by other Steam hosts on the LAN. I struggled with this for a while until finding that documentation, and as soon as I opened the UDP ports in my firewall, bam, Local Network Transfers started working on my LINUX PC.
Nothing extracted yet.
On FAQ page for "Steam Local Network Game Transfers" wrong port is listed
https://help.steampowered.com/en/faqs/view/46BD-6BA8-B012-CE43
But for me steam is listening on port 27040
Also port is missing from "Required Ports for Steam" FAQ page:
https://help.steampowered.com/en/faqs/view/2EA8-4D75-DA21-31EB