17 May 2020

Installing Ubiquiti Unifi Security Gateway

I just received my new Ubiquiti Unifi Security Gateway and here are the steps that I used to go about installing it.

Update the USG

  1. Downloaded the latest firmware onto my laptop https://www.ui.com/download/unifi-switching-routing/usg
  2. Plugged the USG into power and waited for it to finish booting
  3. Performed a Factory Reset to ensure no hiccups
  4. Attached a Laptop to LAN1 (also disabled laptop wifi)
  5. Copied firmware over to USG (if on windows you can use WinSCP)
    • scp UGW3.v4.4.50.5272448.tar ubnt@192.168.1.1:UGW3.v4.4.50.5272448.tar
    • password: ubnt
  6. SSH into the USG and run the update
    • ssh ubnt@192.168.1.1
    • password: ubnt
    • sudo syswrapper.sh upgrade UGW3.v4.4.50.5272448.tar
    • The system will the print some output and then reboot

Configure the USG

Warning 1: Despite the USG having 2 LAN ports, 1 is disabled out of the box, so you will not be able to have both a laptop and a Unifi controller plugged in at the same time without a switch or hub.

Warning 2: It seems that any change no matter how small seems to trigger a USG reboot. So you will want to have it completely configured before inserting it into your network.

Configuring Dynamic DNS for no-ip.com

  1. Settings Gear on bottom left navigation bar -> Services -> Dynamic DNS
  2. Click: CREATE NEW DYNAMIC DNS
    • Internet: WAN
    • Service: noip
    • Hostname:
    • Username:
    • Password:
    • Server: dynupdate.no-ip.com
  3. Got these settings from: https://www.noip.com/support/knowledgebase/how-to-setup-ddns-ubiquiti-edge-router/

Configuring Networks

You can change various settings for the LAN and WAN under Settings Gear -> Network

Inserting into the Network

Plug your modem into WAN1 and your switch into LAN1 and enjoy!

Results

This allowed me to repurpose the ASUS router as a WiFi bridge to replace the Linksys E2000 which upgraded me from N300 to AC1300, which gave me a real world doubling of speed ~5MB/s to ~10MB/s.