Saturday, February 6, 2016

Easy Configuration for Ubiquity EdgeRouter X + Unifi AC LITE

Cool gigabit and 802.11ac gear has finally hit the masses, so, like every other nerd, I got myself an EdgeRouter X (ERX) and a Unifi AC LITE access point (UAP).

There's many nice things about this combo, one of them is that you can take the 24V PoE injector from the Unifi and use it to power the ERX (on eth0) and the Unifi (PoE passthrough on eth4.) The PSU gives 24V/0.5A so it's just enough to satisfy both units.

The setup gave me a bit of trouble though. EdgeOS, as the OS on the ERX is called, is very powerful, but also takes a bit of time getting used to. So if you just want a simple SOHO NAT setup, do something like this:

  1. Feed the ERX power though the PoE injector and connect a computer to the LAN port on said injector. Configure the ethernet port on the computer to use
  2. Open a browser and connect to
  3. On the Dashboard tab, leave eth0 unchanged, and keep it as your configuration interface.
  4. Configure eth1 to be your WAN interface, so make that DCHP client. Make sure you get an IP address.
  5. Configure switch0 to include eth2 and eth4. Give it a suitable private IP, such as
  6. Configure a suitable DHCP server on Make sure its DNSs are and, and its router is
  7. Add a Source NAT Rule that has "Use Masquerade" and "All protocols" with outbound interface set to eth1.
  8. Change your computer over to eth2 and configure its ethernet port to be a DHCP client. Verify you get an address and can access to EdgeOS web interface on
  9. Verify you can access the internet.
  10. Plug the UAP into eth4.
  11. Download the Unifi Controller program for your OS and install it.
  12. Discover your UAP and configure SSID and WiFi key.
  13. Connect on WiFi and verify that things work.
  14. Make sure to change the default password on the ERX, as the very least.
There's loads more you can do from here, but now you're up and running.


  1. Forgot to mention that the AP won't work until you've enabled PoE on eth4. Make sure to do that prior to step 10.

  2. This comment has been removed by a blog administrator.

  3. I have read your blog it is very helpful for us. I couldn't find any knowledge on this matter prior to. I would like to thanks for sharing this article here. Ubiquiti Distributor Thailand

  4. Track down a certified advisor you trust. In case you are a mortgage holder or little business building proprietor, track down a decent HVAC organization or technician to assess and keep up with your framework. HVAC Company Tampa

  5. Harrah's Lake Tahoe - Mapyro
    Harrah's Lake Tahoe - Stateline Nevada. Lake 김천 출장샵 Tahoe: 3.8-star 통영 출장안마 hotel offering top-notch amenities including 여주 출장샵 WiFi, free 강원도 출장마사지 car park, a 24-hour 청주 출장샵 front desk,

  6. Our on-line 3D printing service covers worldwide from any a part of} the world. The complete printed product might be ship again to the shoppers with minimum shipping price according to the client's preference. Our 3D printing service provides varied printing Hand Warmers material types (ABS, PLA, TPU, and so forth.) and colours . Multi Jet Fusion Nylon is an artificial 3D printed polymer material that’s robust, sturdy, and flexible.