ubiquiti unifi security gateway usg setup

Ubiquiti Unifi USG Setup: Secure Your Network

By Richard Smith
AD

The Ubiquiti UniFi Security Gateway (USG) is a power-packed device, designed to secure, control, and optimize your network. Setting up a USG might seem daunting, but this step-by-step guide will walk you through the process, ensuring your network is secure and running smoothly.

Before we dive into the setup, let's ensure you have the necessary tools and hardware. You'll need an active internet connection, a computer with a web browser, and a UniFi device (USG). Also, make sure you have the UniFi controller software installed on your computer. Now, let's get started with the setup process.

Physical Setup

The first step involves physically connecting your USG to your network and powering it up.

AD
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
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
Ubiquiti Networks Unifi Security Gateway Router, White, Ethernet (Rj-45) | Color: Tan/White | Size: Os
Ubiquiti Networks Unifi Security Gateway Router, White, Ethernet (Rj-45) | Color: Tan/White | Size: Os

Connect one end of an Ethernet cable to the WAN ( Wide Area Network) port on the USG and the other end to your modem or gateway. Then, connect your computer to the USG using an Ethernet cable. Finally, plug in the USG and power it on.

Initial Configuration

Now that your USG is powered on, it's time to configure it. Open a web browser on your computer and navigate to the UniFi controller. Log in using your admin credentials.

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
an image of a computer screen with many items on it
an image of a computer screen with many items on it
Ubiquiti UniFi AC LR Dual-Radio Access Point with Security Gateway Router and UniFi Ethernet Switch
Ubiquiti UniFi AC LR Dual-Radio Access Point with Security Gateway Router and UniFi Ethernet Switch

Once logged in, the UniFi controller will discover your USG. Click on it to proceed with the initial configuration. You'll be asked to set up the USG as a new device or adopt it. Choose 'Adopt' if you're replacing an existing USG, and select 'New Device' for a fresh setup.

Basic Settings

After adopting or configuring your USG, you'll be prompted to change the admin password. Ensure you create a strong, secure password to protect your network.

AD

Next, you'll configure the network settings. The WAN subnet should automatically populate based on your modem's settings. For the LAN settings, you can leave the default (192.168.1.1/24), or change it if you prefer a different IP scheme.

2022 Complete Unifi Setup Guide
2022 Complete Unifi Setup Guide
Ubiquiti UniFi Setup at Home 90 Days Later, and Thoughts of Side Hustling
Ubiquiti UniFi Setup at Home 90 Days Later, and Thoughts of Side Hustling
Considerations for Optimal Wireless Mesh Networks
Considerations for Optimal Wireless Mesh Networks
there are many different types of electronic equipment on the shelf in front of the table
there are many different types of electronic equipment on the shelf in front of the table
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
Rack Mount for Ubiquiti Unifi Cloud Gateway Fiber UCG-Fiber UXG-Fiber Server Home Lab Network Cabinet
Rack Mount for Ubiquiti Unifi Cloud Gateway Fiber UCG-Fiber UXG-Fiber Server Home Lab Network Cabinet

UniFi Security Gateway Features

Now that your USG is set up, let's explore some of its key features to maximize network security.

The USG offers a suite of security features, including Intrusion Detection and Prevention, Firewall, and VPN. It also provides QoS (Quality of Service) for bandwidth management and WAN optimization for faster internet speeds.

AD

Intrusion Detection and Prevention

The USG comes with built-in IDP (Intrusion Detection and Prevention) capabilities. This feature can help detect and block potential threats and policy violations in your network.

My Homelab Setup
My Homelab Setup
UniFi Cloud Gateway (Ultra/Max/Fiber) | 10 Inch Rack Mount | 1U Mini server Rack Bracket | UCG Mount
UniFi Cloud Gateway (Ultra/Max/Fiber) | 10 Inch Rack Mount | 1U Mini server Rack Bracket | UCG Mount
Unifi Home Network
Unifi Home Network
Cloud Gateway Fiber - Ubiquiti Store United States
Cloud Gateway Fiber - Ubiquiti Store United States

To enable IDP, log in to your UniFi controller and navigate to your USG. Click on 'Guest Control' and then 'Network Services'. Here, you'll find the 'IDS/IPS' settings. Switch the toggle to 'Enable' to turn on IDP.

Firewall and Access Control

The USG's firewall provides advanced protection against network threats. It allows you to control incoming and outgoing traffic based on various parameters like IP address, protocol, port, and more.

AD

To configure your firewall, go to the 'Security' tab and click on 'Firewall'. Here, you can create rules to accept or deny traffic. You can also enable the 'Inbound' and 'Outbound' filters for added security.

Remote Management and Access

With the USG, you can manage your network remotely, allowing you to keep your network secure and optimized even when you're not at home.

The USG supports remote VPN access, enabling you to connect to your network securely over the internet. It also supports remote web access, allowing you to manage your network settings through a web browser.

Set Up Remote Access

To set up remote access, first, enable the 'Web Access' feature in your UniFi controller. Go to 'Settings' and then 'Site'. Scroll down to the 'Web Access' section and enable it.

Next, configure your router or firewall to forward the appropriate ports to your USG for remote access. The default port for web access is 8443. Once the ports are forwarded, you can access your USG remotely using your public IP address or a dynamic DNS service.

And there you have it! Your Ubiquiti UniFi Security Gateway is now set up and ready to protect and optimize your network. Remember, regular updates and monitoring can help ensure your network's security. Stay proactive, and enjoy your secure, high-performing network!

AD