How To Configure Firewall Rules On Ubiquiti Unifi 6 Pro

Configuring firewall rules on your Ubiquiti Unifi 6 Pro is essential for securing your network and controlling traffic flow. This guide provides step-by-step instructions to help you set up and manage firewall rules effectively.

Accessing the Unifi Network Controller

To begin, log in to your Unifi Network Controller through your web browser. Ensure you have administrator privileges to make configuration changes.

Navigate to the device list and select your Unifi 6 Pro access point. From the device dashboard, click on the ‘Settings’ menu.

Locating Firewall Settings

Within the Settings menu, find and click on the ‘Firewall’ section. This area allows you to create, modify, and manage firewall rules for your device.

Understanding Firewall Rule Types

  • LAN IN: Rules for inbound traffic from the local network.
  • LAN OUT: Rules for outbound traffic from the local network.
  • WAN IN: Rules for inbound traffic from the internet.
  • WAN OUT: Rules for outbound traffic to the internet.

Creating a New Firewall Rule

Click on ‘Create New Rule’ to start configuring a new firewall rule. You will need to specify the rule’s direction, action, source, destination, and other parameters.

Configuring Rule Details

  • Name: Enter a descriptive name for the rule.
  • Rule Action: Choose whether to ‘Accept’, ‘Reject’, or ‘Drop’ traffic.
  • Source: Specify the source IP address or network.
  • Destination: Specify the destination IP address or network.
  • Protocol: Select the protocol type, such as TCP, UDP, or ICMP.
  • Port: Define the port number if applicable.

Applying and Saving Rules

After configuring the rule, review the settings carefully. Click ‘Save’ or ‘Apply’ to activate the rule on your Unifi 6 Pro device.

Testing Firewall Rules

To ensure your rules work as intended, perform tests by attempting connections that should be allowed or blocked based on your configuration. Use tools like ping, traceroute, or network scanning software.

Best Practices for Firewall Configuration

  • Start with a default deny policy and allow only necessary traffic.
  • Regularly review and update rules to adapt to network changes.
  • Document your firewall rules for future reference.
  • Enable logging to monitor traffic and detect potential threats.

Proper firewall configuration enhances your network security and ensures reliable operation of your Ubiquiti Unifi 6 Pro device. Follow these steps carefully to establish a secure and efficient network environment.