Firewall settings

This guide is for opening ports:

Bild von Jan Alexander auf Pixabay

@ubuntu 16.04 x64 (example of Port 9999)

sudo ufw allow OpenSSH

sudo ufw allow 9999

sudo ufw default deny incoming

sudo ufw default allow outgoing

sudo ufw enable


@Windows 10 (example of Port 9999)

  1. Open the Control Panel in the Windows Start menu
  2. Select Windows Firewall
  3. In the left column of Windows Firewall, select Advanced Settings
  4. In the left column of the Windows Firewall Advanced Options, open the Inbound Rules folder.
  5. In the right column, select New Rule
  6. In the new rules creation wizard, select Port and click Next. Do not create a rule for a program, but for a port
  7. As a protocol, select TCP, select Specific Local Ports, enter 9999 as the port number, and click Next.
  8. Select Allow connection and click Next
  9. Select when to apply this rule (select all options here to keep the port open) and click Next
  10. Give the rule a name and click Finish to add the new rule
  11. TCP port 9999 is now open and ready to use

Leave a Reply

Your email address will not be published.