Category: Networking

Wireless Stats – Unifi Controller

A quick overview on getting statistics form the Unifi wireless controller (click on images for larger size).   After logging into the controller (https://unifi4.swkls.org:8443/manage), click ‘Statistics’ on the left side of the screen. 2. The screen will default to the last 24 hours of statistics as denoted by the calendar picker located near the top right. …

Continue reading

Mikrotik DNS Redirect

Recently, we needed to check if any computers inside of a given network were configured to use OpenDNS servers. In our case, the router (10.10.100.1) is acting as a DNS cache and configured to query upstream DNS servers. What we want to do is first catch any internal IP address using OpenDNS IP addresses (208.67.222.222 …

Continue reading

Mikrotik DNS Failover Script

Traditionally, a minimum of two DNS servers are used for any given computer for redundancy. The problem is that Windows computers (and others) will choose the fastest responding server and ignore the order given (primary, secondary, etc.). If we wish to force a primary and only fail over to a secondary, then scripting coupled with …

Continue reading

Dnsmasq on CentOS 6 for Filtering

DNS filtering is a quick and easy method to block access to certain websites. It can be used to block third party advertisements within websites, block known malware infected sites, and can even be used as a content filter (pornography, etc.). In this post, we’ll walk through setting up Dnsmasq on CentOS 6. Dnsmasq is a …

Continue reading

Dynamic Address Lists Creation with Port Knocking

Port knocking is a technique used to generate or modify firewall rules on the fly based on connections made to specific predetermined ports. Suppose we have a web-facing service (HTTP, DNS, etc.) that we wish to limit access to based on IP addresses. If all of the clients on the Internet side of the router …

Continue reading

IPv6 Stateless Auto Configuration in Windows 7

One of the really cool features included in IPv6 is the ability for host machines to auto configure their IP address and gateway. Although this was present in IPv4, it was limited to link-local, non-routable addressing (169.254.x.x). IPv6 provides the equivalent of DHCP within it’s design, but with a few twists. Let’s look at how …

Continue reading