I prefer to keep my work laptop on a completely separate network from everything else, since that is a machine that is not fully under my control. The VLAN configuration separates ethernet traffic and the firewall rules to block routing between GeekLab and work networks turned out to be much simpler than expected.
Current State
The Mikrotik router has been active and stable with 28 days uptime and no complaints caused by the configuration or dual running. The backbone Hall VLAN has been extended to the Mikrotik and the inernal routers given a static route to use it as the preferred default gateway. Network performance is way better than ever achieved with the old Draytek Vigor 2862.
The Vigor is still providing internet access for Work, Guest and Public VLANs and a VPN service.
Desired State
Move the Work VLAN overto the Mikrotik router with with firewall configured to allow outbound internet access only and block all access to and from internal networks. Guest and Public VLANs to remain connected just to the old Draytek router.
A recent change on my work laptop has blocked access to my network printer so I don't even need to allow this any more, nor direct access to GeekLab resources since all network access is routed back to a central proxy which has degraded performance for all internet resources. Which considering I spend most of my day in Google Workspace, Lucid and Office 365 this is an interesting way of increasing productivity.
Why a Work VLAN?
Since the recent change this is now a really good question. Ever since my first iterations of a home server / GeekLab I've had employers who's actively encouraged staff to innovate and try things out. There's been a number of times when I could set up a lab VM at home, run a test or experiment and get an answer in less time than it would take to raise the paperwork and change requests to do this using corporate resources.
For this reason I've had a Work VLAN that is very locked down but still usable. The only outbound access, apart from internet, has been to a network printer. Inbound access for SSH was permitted so I could manage work-related VMs but that was restricted to one PC only. I did not want anything to escape from home to my work laptop, or more likely, from work laptop to the rest of my GeekLab.
With my current employer putting an outright ban on such activities and locking down laptops now to the point they're becoming barely usable I could probably give up on the Work VLAN and just use the Guest VLAN for work purposes like most normal people. And who knows, maybe one day they might allow us freedom to innovate again.
Extend Work VLAN to the Mikrotik
In a similar way to which the Hall VLAN was extended we configure the Mikrotik to also provide a VLAN with the same ID and subnet. This time I also need to configure a DHCP service and unlike the Draytek where the firewall had to be configured to permit access I need to ensure the Mikrotik denies all access apart from outbound internet and potentially DNS queries as I'm assuming it'll still need that to find the MCP corporate VPN gateway.
Since my work laptop is switched off outside of office hours I don't have to worry about cutover or dual running. Just reconfigure the VLAN switches between my desk and the Mikrotik to stop forwarding frames to the temporary Draytek LAN port and send them to the Mikrotik port instead. I might as well stop forwarding over the trunk to by GeekLab server while I'm at it.
Define a Bridge VLAN for Work
The Work VLAN will use the trunk VLAN on ether5 that we defined in Extend Hall VLAN to Mikrotik Router for Outbound Access as a tagged port with the same ID.
Go to Bridge > VLANs and click on New to add the new VLAN.
| Parameter | Value |
| Comment | Work |
| VLAN IDs | 140 |
| Tagged |
|
This will be the only connection out of the Mikrotik for the Work VLAN, at least for now.
Define an Interface VLAN for Work
We want to use the Work VLAN for IP routing to the internet, DHCP and quite probably DNS so we need to define it as an interface VAN too.
Go to Interfaces > VLAN and click New
| Tab | Parameter | Value |
| General | Name | V140-Work |
| VLAN ID | 140 | |
| Interface | bridge |
We also need to assign an IP address and subnet. Since we're not going to connect the VLAN segments on the Mikrotik and Draytek together I can reuse them and also set a smaller range since I don't expect to have more than 4 work devices and maybe two VMs with 4 as an absolute maximum. In practical terms my GeekLab is hitting 80% usage on RAM and the days when I'd want to spin up an experimental Solution Manager system are long since past.
A /28 will give 14 useable addresses which will be more than sufficient. While a /29 would be the text book answer and give 6 usable addresses that could be a bit tight in the longer term. Of course if I ever deploy IPv6 then it'll get a /64 with a gazillion addresses so this all just networky navel gazing.
Just to be sure I double-checked the Core VLAN switch to make sure it wasn't forwarding VLAN 140 to the Mikrotik just yet.
Go to IP > Addresses and click New
| Parameter | Value |
| Comment | Work |
| Address | 192.168.nnn.1/28 |
| Interface | V140-Work |
Define DHCP Server
I will use the upper half of the subnet (.8 to .14) for DHCP, with the last one (.15) already reserved for the broadcast address. This is the same process as we did for the temporary Draytek connection in Preparing the Mikrotik RB5009 router for phased cutover and again I'm going to set this manually just for the exercise.
The first step is to define the pool of addresses for our DHCP server. Go to IP > Pool > Pools and click New
| Parameter | Value |
| Name | work-dhcp |
| Addresses | 192.168.nnn.8-192.168.nnn.14 |
| Interface | V140-Work |
The next step is to define the DHCP server itself. Go to IP > DHCP Server and click New to define the server.
| Tab | Parameter | Value |
| General | Name | work |
| Interface | V140-Work | |
| Lease Time | 12:00:00 | |
| Address Pool | work-dhcp | |
| Bootp Support | none |
This uses the work-dhcp pool defined in the previous step. The default lease time is 30 minutes so I've increased this to 12 hours since work machines tend to be on all day.
The last step is to define the network configuration that will be passed to client systems. Go to IP > DHCP Server > Networks and click New
| Parameter | Value |
| Comment | Work |
| Address | 192.168.141.0/28 |
| Gateway | 192.168.141.1 |
| No DNS | Unticked |
| DNS Servers | 192.168.141.1 |
| No NTP | Unticked |
| NTP Servers | 192.168.141.1 |
For now I'm not worried about address reservations since nothing internal is going to connect to the Work laptop, and I don't need to set up any rules to allow it to connect to anything else either.
Firewall Rules
We need to make sure that hosts on the Work VLAN can only route to the internet and access basic services on the Mikrotik such as DHCP and DNS. I definitely do not want them accessing any other hosts within the GeekLab
Since I will have three VLANs with restrictions I'm going to set up some an interface list and additional firewall chains for all VLANs that will only have basic network services to make this easier to manage in the longer term.
Go to Interfaces > Interface List > Configuration : Lists and click New
| Parameter | Value |
| Comment | DHCP, DNS |
| Name | BasicServices |
Then go back to Interfaces > Interface List and click New
| Parameter | Value |
| List | BasicServices |
| Interface | V140-Work |
This now adds our new Work VLAN to a new BasicServices list which we can then reference in firewall rules.
Permit Basic Network Services
The first rule we need is to allow DHCP and DNS since the Work VLAN is not a member of the LAN interfaces. Go to IP > Firewall > Filter Rules and click New
| Tab | Parameter | Value |
| General | Comment | DNS, DHCP |
| Chain | Input | |
| Protocol | udp | |
| DST. Port | 53,67 | |
| In. Interface List | BasicServices | |
| Action | Action | Accept |
Position this rule before the "defconf: drop all not coming from LAN" rule created during initial setup. I put it in position 6.
Permit Outbound Access
The next rule is to permit outbound internet access, but I'm going to make this a jump to a separate chain with a default accept on the end so I can add some outbound blocks later so this needs to be implemented as two separate rules. The first one is to create a jump rule on all traffic destined for for a WAN port and also defines the chain to be used - there's no need to define chains separately.

| Tab | Parameter | Value |
| General | Comment | Allow outbound internet |
| Chain | forward | |
| Out Interface List | WAN | |
| Action | Action | jump |
| Jump Target | internet-out |
We need a second rule to accept all outbound packets since the default action for a jump is a return back to the rule following the jump. This rule is added immediately after the jump rule above and the chain must be set to the internet-out chain we created in the previous step.
| Tab | Parameter | Value |
| General | Comment | Default accept by for internet-out |
| Chain | internet-out | |
| Action | Action | accept |
Block any internal access from the Work VLAN
The next rule we need is to block all other packets from our BasicServices interfaces regardless of destination. This rule is added to the end of the list as we need this to be applied after our "Allow outbound internet" rule so that outbound internet is still permitted.

| Tab | Parameter | Value |
| General | Comment | Block internal routing for basic VLANs |
| Chain | forward | |
| In. Interface List | BasicServices | |
| Action | Action | reject |
| Reject With | icmp admin prohibited |
As this is an internal rule then rather than just dropping the connection we can make it a reject and the icmp-admin-prohibited indicates this was a deliberate policy decision to block access rather than a technical issue. Blocking specific hosts or networks would probably be better described using icmp host prohibited or icmp net prohibited but this is more a case of good manners as the end result is the same. Using the prohibited reasons rather than a simple drop allows applications to know they're not getting through rather than relying on a timeout that using the drop action would cause.
Block any internal access to the Work VLAN
The final rule we need is to block all traffic from any other internal network to our BasicServices interfaces regardless of their source. This is also added to the end of the list.

| Tab | Parameter | Value |
| General | Comment | Block internal routing to basic VLANs |
| Chain | forward | |
| Out. Interface List | BasicServices | |
| Action | Action | reject |
| Reject With | icmp admin prohibited |
Both block rules will likely be modified at some point to allow exceptions, either by adding additional rules just above them or moving them to a separate chain to like we did with the outbound WAN traffic so we only do detail tests on traffic that we know is going to or from the BasicServices VLANs.
VLAN Connection and Test
The final step is to reconfigure my Core VLAN switch to disconnect VLAN 140 from the Draytek and then connect it to the Mikrotik. And then connect a device and make sure it can reach the internet but not be able to see or connect to anything else internally and also nothing internal can connect to it. For this I'm using my old Samsung NC10 as unlike my work laptop it's fully under my control.
Testing outbound access just worked and there's no inbound access from the internet since all inbound access is blocked. Connectivity to and from the rest of my GeekLab is also being blocked, applications either timeout or in the case of ping a nice packet filtered error is returned.
The Sammy was able to use DNS to find internal hosts, which also means connections to the publicly visible hosts fails as the internal address will be returned, which is then blocked by the firewall rules. While this is fine for my work laptop under its new Big Brother regime, this will be an issue for the Guest VLAN so I will need to modify the blocks to create some exceptions.
Summary
So I now have a protected VLAN for my work laptop that has internet access but it cannot reach anything internal or be reached by anything internal. Mutual distrust if you like. This is the first bit of setup that has needed a permanent change to the rest of the network although only a small one. At least if there's any issues it'll only take me a few minutes to switch back - I'm not going to try that until I'm due back online 'cos if people realise I'm available now I will get swamped with "oh while you're here" requests and I'm allegedly on holiday today.
Notes
This was article was written with reference to a Mikrotik RB5009 running RouterOS 7.21.5 using WinBox 4.3 and a Draytek Vigor 2862. I expect this to be broadly similar for equivalent products and later versions but that cannot be guaranteed.