Wifi with Ubiquiti Dream Machine Pro
Device adoption and connecting to WiFi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⚙️ Check out my series on Automating Cybersecurity Metrics. The Code.
🔒 Related Stories: Unifi | Dream Machine Pro | Ubiquiti | Network Security
💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the last post I wrote about trying to connect my wifi device to the Ubiquiti dream machine pro and remembering why I bought a $1500 switch. No Power over Ethernet. And it doesn’t appear that the wifi devices have a power cord but I didn’t look that hard because I have a switch and that worked.
I wrote about plugging in the switch, and the wifi. I immediately saw the switch appear and go through the adoption process.
I didn’t see the wifi device but I got a popup about it. It was late. I was tired. I went to bed and hoped for the best.
When I got up on the morning I realized that clicking on the devices icon was only showing me the wired devices, not all devices. I think that should default to all devices but what do I know.

I clicked on wireless devices and yippee! There it is. My wifi device has been adopted. I can click on it and see various things…but…where is the name of the wifi network to connect to? How do I set the password for that wifi network? Shouldn’t that be in there and and be obvious? No?
When I click on the device I get a network connection error — maybe it’s on this screen and I can’t see it.

Time to consult the logs and Google.
First of all, I refresh the screen and look at the pfSense logs. I see that a stun port is blocked — which I want. I do not want to allow stun so I hope that is not required.
This post is kind of funny:
If you would like to not use STUN (which really has no security consequences, it is merely a way of enabling bidirectional connections through NAT;
https://community.ui.com/questions/Disable-STUN-support/7040b528-f626-40aa-918a-2c9ca0e174d0
OK.
I don’t know yet if the following applies to STUN on Ubiqiti yet, but I’m not going to enable that port until I find out.
Stun has been used to abuse sytems in the past via various attacks like this one. I don’t know if Turn is used in this case but not going to enable this until I understand what it’s doing exactly and if it is neccessary.
Every. Open. Port. Has. Security. Implications.
Also, I noticed that Ubiquiti connects to stun on Digital Ocean — one of my most despised and blocked networks due to the constant traffic that hits my firewall from them. Not opening up anything to DO unless I absolutely have to so…it’s blocked. I can’t find another solution so far to disable it.
Maybe I can somehow mimic whatever traffic it needs to get around this problem.
But first let’s just see if we can somehow connect to the wifi without it.
Oh cool. I found a video by clicking on the gear icon on the left.

Which helped zero percent.
Ok.
While clicking around I found Internet Threat Management and enabled it. I went ahead and set it up as an IPS since I have nothing on it yet, so I’m not going to break anything. I hope. I had problems with streaming services when I tried to enable Suricata on pfSense. Maybe this will do better.

There’s a teeny link at the top of that page that says “Go to classic settings.” Hmm. I click it.

What is this? Do I have to set up a wireless network for the AP?

Here I can set up an SSID, select the type of security (WPA Personal for the moment) and select a network. The only network I have is “LAN” so I guess I’ll choose that.
Well, I can connect to it. So that’s cool. Now to test it out.
By the way, I disabled mesh on in the wifi configuration settings on the right side of the console:

When I went back in I noticed they hadn’t saved, perhaps because I didn’t click Apply Changes at the bottom. I don’t want to mesh my devices. I want different Wifi hotspots for different purposes.
Now to test out the TV before the person cooking me dinner gets back to it :-) Quick…
Seems to work! It says the connection is only fair as the wifi device is across the house. I plan to change this all and hardware hot spots closer to locations where they will be used. But this works. And the clarity of the video is decent.
Now I just need to research how I can create separate networks for my different wifi devices.
Later.
Update: 5 minutes later — spoke too soon. The UDM is trying to send DNS traffic over port 53 TCP. That’s interesting since the computer I initially used to set up the UDM was doing the same thing but not on the UDM network. I just reset that machine to factory default and it stopped trying to connect over DNS/TCP. Now the UDM is doing the same thing and the TV is stalling out. Great.
Guess I’m going to have to do more troubleshooting.
Follow for updates.
Teri Radichel | © 2nd Sight Lab 2023
About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight LabNeed Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for PresentationFollow for more stories like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
❤️ Sign Up my Medium Email List
❤️ Twitter: @teriradichel
❤️ LinkedIn: https://www.linkedin.com/in/teriradichel
❤️ Mastodon: @teriradichel@infosec.exchange
❤️ Facebook: 2nd Sight Lab
❤️ YouTube: @2ndsightlab
