How I Adopted a Ubiquiti Unifi Security Gateway on my Existing Home Network

Ubiquity Unifi Security Gateway
Click to Enlarge

Hey Karl here with a quick write up on how I adopted a Ubiquiti Unifi Security Gateway (USG) into my existing home network. I ran into a few issues so I wanted to share and hopefully help someone else. I have had 2 Unifi access points cover my home for several years now and I recently upgraded my internet to 100 Mbps. I was maxing out at about 95 Mbps with downloads on my existing 100 Mbps Linksys router and I knew I was leaving some bandwidth on the table. Spectrum is my internet provider and I have always got more than what I paid for. I placed an order on Amazon and 24 hours later it was delivered.

I have a couple of things that made this challenging. First I run my network on a subnet with devices that have static IP address and I host my own Unifi controller and don’t use the cloud version. I also did not want to change anything on the network.

After the upgrade to the Ubiquiti USG, I am now getting 115 Mbps. About an 18% increase over 95mbps.

Before I started adopting the Unifi Security Gateway I set all my network settings in the controller.

Ubiquity Unifi Controller Settings 2
Click to Enlarge

Steps I took

This is not the way I wanted to adopt it because it caused more downtime but no one was home so I took the opportunity and setup the device. This took me about an hour longer than I wanted and the steps below were the final working steps and should take about 15-30 minutes depending on your skill level.

Step 1 – Swapping routers

I did a 1:1 swap of the existing Linksys router. Wan to Wan and Eth to Eth and rebooted my router and plugged in power to the USG.

Step 2 – SSH login & configure Unifi Security Gateway

Wait until your wired PC gets an IP address. It should be in the subnet. Then SSH with your favorite terminal emulator to The default login is “ubnt” and password is “ubnt”.


I ran these commands

Substitute with your old existing subnet.

Step 3 – PC Configuration

Set your PC to an IP address in your old existing subnet. I set mine to with subnet

Windows 10 network
I run windows 10 so I went to Network and Internet settings

windows 10 ethernet
Then ethernet

Then change adapter options.

Right-click on your network connection.

Select IPV4, then properties.

Windows 10 Ubiquity USG Subnet

Set IP and subnet

Step 4 – Final Step

I already had an existing controller setup on a mini PC with an Atom Z8300 and Windows 10. It would not find the USG so I had to do an extra step. SSH over to the USG with putty and the IP address you gave earlier. In my example, I use with the default login still ubnt:ubnt and run these commands.

Substitute with the IP address of your existing controller. Now, wait. It took quite a bit of time for it to show up. After it found the USG I told the controller to upgrade the firmware and adopt. A few minutes later everything started to get back to normal. I went and changed my PC back to DHCP and all is right on my home network. Home automation and everything was working.

Future changes to Home Network

My next step is to start replacing the access points over to UniFi UAP-AC-PRO with 802.11ac WiFi 5. I am still running on the original 2.4 GHz only n versions. They have served me well. I will probably replace the one in my laundry room and move it out to my shop as a first step. If you are unfamiliar with the Unifi line by Ubiquiti check them out here. I started with access points long ago. They have been rock solid. I never have to reboot them. The only reason I want to upgrade is to get some more speed on my modern devices. I may check out the deep packet inspection later and spy on the kids now I can see every device on the network. Below are some screenshots of the interface.

Ubiquity Unify Security Gateway Interface
Click to Enlarge
Devices List Unify Security Gateway
Click to Enlarge
Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
4 years ago

I understand your tutorial, but wouldnt it be easier if you adopted the security gateway into your unifi controller and then make the necessary network changes?
Best regards.
Ps: ok, sorry. .. Just saw now your controller wasnt getting the gateway to adopt.

4 years ago

That is basically what I did. Thank you

4 years ago

Can u post a video

1 year ago

I never understood how you can inform the controller (network application). setinform http://[controllers ip]:8080/inform

thank you

Khadas VIM4 SBC