configure unifi security gateway pro

Configure UniFi Security Gateway Pro: Step-by-Step Guide

By Christopher Robinson
AD

The Ubiquiti UniFi Security Gateway Pro (UniFi USG-Pro-4) is a high-performance, fully managed network security gateway designed for businesses and enterprise deployments. When it comes to configuring this powerful device, you'll find that it offers an extensive feature set, including stateful inspection firewall, VPN, integrations with various UniFi devices, and much more. Let's delve into the process of configuring your UniFi Security Gateway Pro, ensuring a secure and efficient network.

Before diving into the configuration process, make sure your USG-Pro-4 is up-to-date with the latest firmware. This not only ensures you have access to the newest features but also provides essential security patches. You can check for updates within the UniFi Controller or via the web interface on the device itself.

Initial Setup and Configuration

After placing your USG-Pro-4 and connecting it to your network, the initial setup involves adopting the device to your UniFi Controller. This controller-driven platform simplifies management and monitoring of your UniFi devices.

AD
How To: Deploying a Ubiquiti UniFi Home Network including Multiple WiFi Access Points (Part 1) - Free Time
How To: Deploying a Ubiquiti UniFi Home Network including Multiple WiFi Access Points (Part 1) - Free Time
How to backup your Unifi Dream Machine (Pro) config automatically with Synology or any other UNIX device
How to backup your Unifi Dream Machine (Pro) config automatically with Synology or any other UNIX device
the router is white and has four ports on each side, with two green lights
the router is white and has four ports on each side, with two green lights

If you haven't already, install and run the UniFi Controller software on a local machine or a cloud service like Ubiquiti's UniFi Protect.

Adopting the USG-Pro-4 to the UniFi Controller

To adopt the USG-Pro-4 to your UniFi Controller, use the adoption key provided in the device's documentation. Follow these steps:

How To: Ubiquiti UniFi Security Gateway Pro 4 & Intrusion Prevention (IPS) - Free Time
How To: Ubiquiti UniFi Security Gateway Pro 4 & Intrusion Prevention (IPS) - Free Time
2022 Complete Unifi Setup Guide
2022 Complete Unifi Setup Guide
Considerations for Optimal Wireless Mesh Networks
Considerations for Optimal Wireless Mesh Networks
  1. Open the UniFi Controller and go to 'Settings' > 'Network Devices' > 'Adoption Key'.
  2. Enter the adoption key and click 'Adopt Device'.
  3. Once adopted, you'll see the USG-Pro-4 listed under 'Network Devices'.

Configuring LAN and WAN Interfaces

Next, set up your LAN and WAN interfaces according to your network requirements:

  • Define the LAN network (e.g., 192.168.1.0/24) and WAN type (e.g., DHCP, Static IP, PPPoE).
  • Invalidate any existing DHCP leases and configure DHCP settings for your LAN network.

Enabling Essential Security Features

The UniFi Security Gateway Pro offers robust security features right out of the box. Let's enable some crucial ones to secure your network.

AD

Remember, configuring security settings should reflect your organization's unique needs and compliance requirements.

Ubiquiti's UniFi Express: A Review of the Compact Gateway and WiFi 6 AP
Ubiquiti's UniFi Express: A Review of the Compact Gateway and WiFi 6 AP
UniFi Cloud Gateways - Tech Specs
UniFi Cloud Gateways - Tech Specs
2021 Complete Unifi Setup Guide
2021 Complete Unifi Setup Guide
How To: Home Network 4.0 with Ubiquiti Unifi Dream Machine Pro, Switch Pro, Flex Mini, Smart Power Plug & UPS Review & Calibration - Free Time
How To: Home Network 4.0 with Ubiquiti Unifi Dream Machine Pro, Switch Pro, Flex Mini, Smart Power Plug & UPS Review & Calibration - Free Time
Configure VLANs on UniFi Switches for Secure Segmentation
Configure VLANs on UniFi Switches for Secure Segmentation
How to Install and Configure Unifi Controller on Raspberry Pi?
How to Install and Configure Unifi Controller on Raspberry Pi?

Stateful Firewall and Intrusion Detection

Enable the stateful inspection firewall to filter network traffic based on predefined security rules.

Additionally, turn on Intrusion Detection to help identify and mitigate potential attacks like Denial of Service (DoS), Port Scanning, and Protocol Attacks.

AD

VPN Configuration

Configure IPsec or L2TP/IPSec VPNs to provide secure remote access to your network, enabling employees to work remotely while maintaining a high level of data privacy.

HOW TO INSTALL UNIFI CONTROLLER | CARA INSTALL UNIFI CONTROLLER DI WINDOWS PART 1
HOW TO INSTALL UNIFI CONTROLLER | CARA INSTALL UNIFI CONTROLLER DI WINDOWS PART 1
Unifi Home Network
Unifi Home Network
an image of a computer screen with many items on it
an image of a computer screen with many items on it
Review: Ubiquiti UniFi made me realize how terrible consumer Wi-Fi gear is
Review: Ubiquiti UniFi made me realize how terrible consumer Wi-Fi gear is
UniFi Diary: Getting started with Ubiquiti's line of prosumer gear to overhaul your Wi-Fi network
UniFi Diary: Getting started with Ubiquiti's line of prosumer gear to overhaul your Wi-Fi network
Massive UniFi Home Network Upgrade - Part 2: Setup, Configuration and Performance Results
Massive UniFi Home Network Upgrade - Part 2: Setup, Configuration and Performance Results

Follow these steps to set up IPsec VPN:

  1. Go to 'Services' > 'Site-to-site VPN' and configure the local network and peers.
  2. Define IKE and IPsec settings, including preshared keys and encryption algorithms.
  3. Click 'Create' and test the VPN connection.

Setting Up a Guest Network

Create a guest network to isolate visitors' devices from your main network, enhancing security and reducing the risk of unauthorized access.

AD

Create a new network and assign it to your WAN interface. Configure VLAN ID, IP range, and DHCP settings appropriate for guest use.

Managing Network Services

The USG-Pro-4 provides various services to further enhance your network's capabilities. Let's explore some service configurations.

DHCP Reservations

Assign static IPs to essential devices on your network (e.g., servers, printers) through DHCP reservations to maintain consistent IP addresses.

Go to 'Settings' > 'Network Devices' > 'DHCP' and click 'Reserve'. Provide the desired IP address, MAC address, and hostname for the device.

Port Forwarding

Set up port forwarding to expose specific services running on your local network to the internet.

Access 'Applications & Rules' > 'Port Forwarding' and create new rules, defining the external port range, protocol (TCP, UDP), and internal IP with the respective port.

With this comprehensive guide, you're well on your way to configuring your UniFi Security Gateway Pro for optimal performance and security. Regularly review and update your network settings to ensure they continue to align with your organization's evolving needs. Happy configuring!

AD