netstat -lntu
Proto Recv-Q Send-Q Local Address Foreign Address State Program
tcp 0 0 - - listen 1150/sshd
tcp 0 0 *:22 *:* listen 1150/sshd
However I would like to open port 27960 for a server to be recognized on my local network : how to do so ?
I can see iptables or ufw is not recognized to do such setup
Not clear to me what the issue is. sshd opened 22 in your listing. It’s up to the server to do this.
Try this, just for example:
$ python3
Python 3.10.13 (main, Feb 13 2024, 17:17:00) [GCC 13.2.0] on haiku1
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> x = socket.create_server(('', 27960))
On Haiku you don’t need to open the port because currently it doesn’t have any firewall.
Just start your game server and you’re done.
You’ll instantly be able to connect to it from another device.
I’ve tested with another program (TCP server) and the corresponding port is open once the server is up.
netstat -lntu
Proto Recv-Q Send-Q Local Address Foreign Address State Program
tcp 0 0 - - listen 1150/sshd
tcp 0 0 *:22 *:* listen 1150/sshd
tcp 0 0 *:8080 *:* listen 1429/QTCPServer
So I guess it’s an issue with the generated binary where the server is running (bots, logs, etc visible in the logs) but the network layer is failing somewhere (but no error indicated in the logs)
I didn’t get any chance to have a running server for OpenArena_dedicated as well.