Skip to content
Shellbay

Networking & Firewall · about 1 min · 2 steps

Open a port

Lets connections from anywhere reach a port, for example a web server or a game server.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported
  • Alpine: supported

What it changes on your server

  • Adds an allow rule for the port to ufw or firewalld, whichever is on, and keeps it after reboots.
  • Removes an earlier Shellbay rule that closed the same port, if there is one.
  • Anyone on the internet can then connect to whatever listens on that port.

What Shellbay asks you

  1. Which port should be opened?

    Use the port your program listens on, such as 80 and 443 for websites. Most programs use TCP; choose UDP or both only if the program's instructions say so.

    Port
    A port number from 1 to 65535. Default: 8080
    Protocol
    One of: tcp, udp, both. Default: tcp

    Example: 8080

Steps

  1. Add the allow rule
  2. Check the port is allowed

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • Port ‹port› is open in the server's firewall. If your hosting provider has its own firewall, open it there too.