Mounting frustrations with the Draytek Vigor 2862 router reached boiling point after several evenings attempting once again to get IPv6 rolled to the GeekLab and it almost working despite an apparently incorrect address on the WAN interface before it deciding after the monthly reboot to report the correct address on the WAN and stop routing externally. Several hours of googling brought up lots of similar stories and it became apparent that it basically doesn't play nicely with a lot of ISPs IPv6 options. If I want to play with IPv6 then the Vigor has to go.

Over the last few years I've had two Draytek Vigor routers and I've found them both to be reliable and easy to use for normal IPv4 usage. The first one expired after a nearby lightning strike induced power surges in the DSL line that caused irreparable damage. The second, a Vigor 2862 passed out of mainstream support a while ago and while it continues to work well with IPv4, I've been attempting to use IPv6 for a long time now and it's become apparent that despite it's claims to support IPv6 it has proved to be extremly unreliable and the more I've dug into in the more convinced I've become that it's DrayOS that's the issue. Even their newer routers appear to have similar issues with not being able to obtain addresses and the configuration options making too many assumptions that you cannot override in order to make it work.

So having decided a change of product is required I needed to make a decision. 

Requirements

  • No internal WiFi - the router will live under the stairs and I have a separate wifi access point in a much better location
  • Must support VLANs - 801.1Q tagged for preference
  • Support for internal DNS, DHCP and a reasonably configurable firewall
  • GUI options for admin just to save brain cells on a cold winter evening. Or even a warm summers eve.
  • At least 2 ethernet ports + ethernet WAN. With 8 I could potentially retire a separate VLAN switch
  • PoE on at least one port so I could also retire a separate PoE injector
  • Credible IPv6 support that will work wih Brsk / Youfibre as the ISP, internal DHCPv6, routing and firewall rules
  • A client VPN with support for Linux, Android and maybe a Windows laptop for privacy and secure access to internal services while away from home.

There are a number of vendors of networking kit and I wanted something a step up from the typical home router and more suited for a Geeklab or small office / home office environment while avoiding the full-blown enterprise stuff that's way out of my budget. I narrowed the options down to just two vendors: Ubiquiti and Mikrotik, neither of which I was too familiar with. Both have plenty of reviews and discussions, my summary was Ubiquitiy were seen as easier to use and get running quickly, but may be lacking in fine control as a result. Mikrotik was geared were more towards the geekier end of the curve (sorry, I mean network professional) but this came with quite a steep learning curve. You can probably guess where this is going...

I settled on two options from Mikrotik, the hEX and RB5009, with the L009 as close contender in the middle ground. To be honest the hEX would probably do everything I need right now, in the end I went for the RB5009 on the basis of it having a couple of extra ethernet ports and the capabitlity to do much more complex stuff in the future if I felt the inclination. The final decsion came down to it's almost pay day and it's probably better to have too much rather than too little.

First Impressions

A few days later a small dark grey box labelled Mikrotik RB5009UPr+S+IN was sat on my desk amid a snakes nest of cabling to connect to power, my lab VLAN switch and a laptop for initial config. Compared to the Draytek Vigor it's much more compact and with a chunky metal heat sink that makes the base and rear of the device. That amount of metal should be a clue that it's goign to get warm in use. Just sitting idle it's showing 43C in the middle of the base, 2C cooler on the fins, againt an ambient 25C in the room - it's summertime afterall.

Old Draykek Vigor 2862 and new Mikrotik RB5009

Mikrotik runs their own RouterOS firmware and they provide the WinBox application as a graphicallconfig tool. RouterOS broadcasts its presence to allow detection on the same LAN by Winbox which can then connect directly, subject to a username and password check. There's also the webfig browser-based configuration providing you can locate the IP address, the default is 192.168.88.1

Installing Winbox on Mint is just a case of dowloading the zip file from the Mikrotik website and extracting the archive to a conventent folder and then running the WinBox executable. Installing on Android via the Play store is equally simple. The user interface is business like and organised by functional area on one or two tiers of menu opening up dettail configuration windows with tabs on the top and in some cases links to run configuration workflows. Or you can launch a CLI and do everthing the traditional way.

All the other networking tools I have use config files with an optional CLI that I rarely use. Mikrotik can export and import everything as a text config file or an encoded dump. The Mikrotik documentation is a bit scattered and my first impression is it doesn't do a very good job of describing what a lot of the options do. There are some good reference on their user forums which makes things much more understanable. But this is very much aimed at people with at least half a clue on networking.

Routing

Unlike DrayOS where you need to specifically enable enable routing between VLANs, RouterOS assumes that any IP addresses allocated are to be used for routing and you cannot have an address that is purely for management usage. The given reason is firewall rules can be used to control this. I suspect this is going to be a bit annoying.

LIke the Draytek, RIP is supported as an interior routing protocol with OSPF should I want to play with that and BGP for exterior routing if I ever want to go properly cloudy.

Networks and VLAN

The Vigor has 8 LANs and 16 VLANs, this has no apparent limit which I supect in practice means it's down to performance rather than an arbitrary limit. 

Firewall

The initial configuration now sets up a basic firewall of nothing comes in, everything out is via NAT and wth reference to IPSEC policies and fasttrak acceleration and the comments on fhe Mikrotik forum suggests this is quite reasonable and a welcome kick-start. For IPv6 this extends with finer IPSEC control and rejection of "bad" IPv6 addresses. Unlike DrayOS the rules are in two separate base tables, one for IPv4 and the other for IPv6 and the format looks very similar to iptables/nftables (although apparently they use their own firewall component) and it's very easy to adapt to with the similar concepts of chains and rules. One major diffence is you cannot set a default policy for a chain, all chains will assume return or accept unless an explicit drrop all is given at the end.

There's a huge number of options and conditions that can be set for each rule, so while it doesn't have the tick-box level of Drayteks "Defence Setup", which I don't recall ever seeing reports for it doing anything, it looks like the capability to create an equivalent effect exists.

While there isn't a specific port triggering configuration, it looks like this can be implemented using firewall rules, with helpers for the likes of FTP and SIP, and this can also provide a port knocking capability for subtly enabling inbound access on hidden ports whenever needed..

Probably the biggest loss with the firewall is you need to speciify TCP and UDP separately under RouterOS which means some rules will need to be doubled up. This is a more of an annoyance rather than a real problem.

DNS

The built-in DNS server generates PTR records for the A and AAAA records that it hosts, but you cannot add them manually. Unlike DrayOS, you can (apparently) set a forward for PTR to another DNS server. One feature I'm going to miss and needs a workaround for is to have VLAN-specific DNS responses similar to the DrayOS same-server reply. My use case is a host in the public VLAN should be given the name of the proxy for any internal hosts it wants to connect to rather than the actual host itself.

Admin Objects

DrayOS provides a scheme of objects and object groups that can be applied to IP addresses and services plus a few other which lets you configure firewall rules and the like using sensbile names rather than just numbers. While  RouterOS has lists that can be used to group interfaces and refer to hosts it's nowhere near as comprehensive and named services are missing altogether. Making use of comment and name fields, and keeping decent documentation is going to be key to  managing this.

VPN

RouterOS has a VPN server which looks to be based on Wireguard and I've not looked at yet. There are Mikrotik branded clients for some OS and I will need to have a play. I suspect this might be the last service to move off the Draytek. If needed a site-to-site VPNs can be built using IPSEC so not change there.

Monitoring

Every interface has a Status tab with a graph showing current activity but there isn't an out-of-the-box graph of WAN utilisation or the abiltiy to record the monthly WAN usage. There is a graphing tool and sending of data via syslog so it looks likely this is something you can configure if you wanted. There is also the capabitliy for email alerts which looks more capable the DrayOS, 

IPv6

My quick attempt to configure IPv6 with Brsk took about 15 minutes to research and get working, at least to the point that both an interface address and /48 pool delegation were both assigned. IPv6 is handled separately and whle it doesn't have the same options and capabilities as IPv4 it has addressing, DHCPv6, Firewall and neighour discovery. It may be most of the other services are dual-protocol so there's no need to repeat the option in the IPv6 menu. I didn;t go any deeper on the first attempt as I want to get the Draytek replaced first before delving into new stuff. But it looks promising.

Other

RouterOS doesn't support the use of LDAP for users, but can use an LDAP-connected RADIUS server. This was on my to-play-with list so not an issue for me. There doesn't appear to be a central schedule, but firewall rules can have time parameters set. There is a "Kid Control" option too but it doesn't have the same content filters as DrayOS claims, but then I've not needed to set them up preferring a combination of trust, on-device restrictions and threats of retribution for any internet misbehaviour and really not trusting the DrayOS tools anyway.

Summary

The only thing that I think I'm going to miss from DrayOS is the WAN Budget usage counter, and that's no longer relevant given I only started that to see if another ISPs limited quota package would be cheaper and kept going out of interest. The Object Settings were useful but a little inflexible to be honest and I'll just need to be a bit more careful with config as a result. And the lack of a TCP/UDP option on the firewall config is another annoyance rather than a showstopper.

There's definitely going to be quite a learing curve, but that's to be expected by moving away from a more pro-sumer option to something a lot more technical but still not taking me back to youthful skirmishes with Cisco IOS (here's the routers, there's the manual. We can't afford to send you on a course or get a contractor in but we need it up and running for the new office in two weeks. Make it happen...)

As usual i'll try and break the migration up into sections and document each one as I go.