Unifi Security Gateway USG Setup Guide
Setting up a Unifi Security Gateway (USG) is a crucial step in securing your network. This comprehensive guide will walk you through the process, ensuring your USG is configured correctly to protect your network from potential threats.
The USG serves as a firewall, providing features like IPsec VPN, content filtering, and Quality of Service (QoS). Here's how to set it up for optimal performance.
Initial USG Setup
Before you begin, ensure you have the USG, an Ethernet cable, and a computer connected to the USG's management interface.
Upon powering on the USG, it will self-boot into the setup mode. Open a web browser and navigate to the setup page at http://192.168.1.1.
Login and Initial Configuration
Log in with the default credentials (Username: ubnt, Password: ubnt). You'll be prompted to change the password, set your time zone, and choose your language.
Afterward, select your deployment type. If you're replacing an existing router, choose 'Replace Existing Router'. If it's a new installation, select ' Bridge Mode' (if you have an existing router) or 'New Network' (if you're starting from scratch).
Network Settings
Next, configure your network settings. Enter a unique Network Name (SSID) and set up both 2.4GHz and 5GHz networks. Define your network passwords and whether to enable or disable each network.
For better security, use unique, complex passwords, enable 802.1x for all networks, and consider using a different SSID for your guest network.
USG as a Firewall
Now that the USG is set up, let's configure it as a firewall. The USG uses a stateful inspection firewall to monitor and control incoming and outgoing traffic.
Navigate to the Firewall section and ensure 'Enable Firewall' is checked.
Network Profiles
Create network profiles to define rules for your trusted and untrusted networks. Go to Firewall > Network Profiles, and click Add New to create a new profile. Name it 'Trusted' and add your trusted network's IP range.
For the 'Untrusted' profile, add a different IP range, preferably not overlapping with the trusted range.
Firewall Rules
Now, configure firewall rules based on your network's needs. Go to Firewall > Rules and click Add New. Set the source and destination networks and the action (Allow/Deny).
For example, allow trusted network traffic and deny everything else. You can also create rules for specific services (like port forwarding).
Content Filtering and QoS
The USG also provides content filtering and Quality of Service (QoS) to manage bandwidth and restrict access to inappropriate content.
Navigate to the Content Filtering section. Choose the filtering mode (Safe Profiles, Custom, or None) and select the categories you want to block.
Traffic Shaping & QoS
Go to QoS > Traffic Shaping to configure bandwidth limits for each network. Assign a LAN IP and랐 ապր a bandwidth limit for each type of traffic (like HTTP, HTTPS, etc.).
Customize your QoS settings by defining how traffic is prioritized on your network. This is crucial for ensuring critical applications have enough bandwidth.
Regularly review and update your USG settings to maintain optimal performance and security. Consider having a professional IT service provider help with setup and maintenance to ensure your network is always secure and running smoothly.