Remote Work Network Isolation

I start full remote/working from home next Monday. I've been provided a laptop/docking station by the new org. I want to segregate anything that laptop touches from my home network.

What I've done so far is to enable the third Ethernet port (eth2; eth0 is to cable modem and eth1 is my "home" network) on my Edge Router Lite, set up a completely new network on it (192.168.x.x vs. 10.x.x.x), and configure DHCP for two addresses.

I then ran a "home run" from the router, through my "low voltage wiring box" where all the Ethernet in the house is "terminated" (just RJ-45 ends, no patch panel(s)) and out to my office (almost every room in the house was wired for 2xRJ-45s and one COAX.) I had to use a CAT-5 coupler tho and the network speed is only 100mbit instead of 1000mbit (maybe a blessing?)

I think this will do for now, but I foresee a time when I'll need/want to hook the laptop up to WiFi and I'll want to do similar isolation there, but I've never messed with VLANs (I have a Unifi 8 Port managed POE switch) and/or multiple SSIDs on my WiFi AP (Unifi AC-AP Pro, IIRC.)

I haven't found a tutorial or guide out there to help me; most assume that you're using a Dream Machine for a full-up Unifi-based solution.

Unfortunately, the EdgeRouter folks and the Unifi folks decided it would be fun to use slightly different nomenclature and I'm never sure if I'm right when trying to associate the two.

Would I need to run that wire to the switch and then further run that "home-run" back to my office via another wire connected to the switch? Or could I get away with adding a secondary interface address to the eth1 on the router, add VLAN to that and use that eth1 (rtr) <-> eth0 (switch) as a "trunk"?

Could someone point me the way?
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
If I understand your desired setup properly, I think you would want 2 VLANs (at least), one for the normal internal network and one for the new Work Stuff network. Once you configure the router interface that connects to the switch to use VLAN tagging for the 2 networks, you then configure the switch to do the same on the port that connects from the router to the switch. This is often called VLAN Trunking (passing tagged traffic for more than 1 VLAN over a single network interface/link). Not sure what UBNT etc. call it.

Once you have that setup, you then select the ports on the switch which you want to be used for 'normal' devices and set them to 'access mode' or 'tagged mode' for the normal LAN traffic VLAN. They should work as normal once you do that.

Repeat that part but for the Work VLAN on ports you want to use to connect work related devices (laptop basically).

For wifi, you do the VLAN Trunking type configuration again on a port on the switch that connects to your WiFi Access Point and make sure the Access Point knows to use the same VLAN tagging on its port that connects to the switch and you associate the main SSID with the VLAN for the normal network and a new SSID for the VLAN for work network.

That's the general idea.
 
@Paladin Thanks! Yeah, that's what I figured but executing that correctly the first time on two different platforms WITHOUT breaking connectivity and interrupting the missus' games is difficult.

As it turns out, even setting up the two routed networks, the router still allowed the two networks to route to one another which is exactly what I didn't want to happen. I engaged a new firewall to deny access to "HomeNetwork" from "WorkNetwork", but got the interface direction wrong (i.e., in/out directions are from the perspective of the router/interface so I had it backwards and broke lots. I undid it, fixed it and now I can ping from HomeNetwork to WorkNetworks' interface, but can't get anything back from clients on WorkNetwork. Woo! I think I'll like the VLAN method better which I will attempt when there's less stress on keeping the network 100% ;)
 

sryan2k1

Ars Legatus Legionis
46,882
Subscriptor++
You might want to consider "BeyondCorp"-lite at home (are you running any services you wouldn't expose to the Internet, fully exposed in your LAN? Solve it at the device level, not at the network level...).
That's extreme overkill and complicated.

Many modern corporate AV setups will scan local subnets looking for vulnerable devices. Sticking the work computer on it's own subnet and blocking access internally is more than enough.
 
My work computer connects via VPN to the home office as you would think, but it still has to traverse my network go get there (and it appears to be a split VPN, if that's the right term? Going out to google doesn't need the VPN, but getting into org servers does.)

WRT BeyondCorp, I don't yet know what software I'm allowed to install on the provided computer let alone upstream, so something like that is kind of outside of the scope I can change for now.

They don't need to see my printer(s), my IoT devices, TVs, Cell phones, Rokus, file server(s), Proxmox infrastructure nor my personal laptop and/or desktop.

The network you created on the ERL has full access to the others, you need to add firewall rules to block communication between them.

Yeah, I figured that out and took care of it with a two rules. I feel like they could be more elegant, but it seems to work and allow eth2 to talk to the world.
 
Last edited:
D

Deleted member 43669

Guest
zelmak's running a file server. I don't mean a full-blown device-risk aware proxy, but rather making sure there are strong passwords on every service. With the current state of things (e.g. ransomware), it's probably a good idea to not treat your internal network like it's completely protected.

Most stuff will not have any ports open, or exploitable anyway.
 
Well, sure, the file server has zero guest access; have to be an authenticated user to see anything on it, but I can't control TVs, Rokus, etc. Granted, I'm thinking hard about putting all the IoT/Untrusted items and Printers in their own VLAN now that I have a reason to try and have successfully figured out how and can adjust things 4 out of 5 times without interrupting the missus' access. :eng101:
 

oikjn

Ars Scholae Palatinae
1,015
Subscriptor++
A separate VLAN should be more than sufficient so long as the gateway you use is capable of setting an ACL or other rule to prevent traffic between the two networks. Beyond that, this all seems highly overly paranoid unless the company has explicitly stated they are going full big-brother on any network their devices plug into. I mean... you mentioned you already use Rouks and the data they collect is frightening, so if you are OK with all the data they keep on you, why do you care about what the work computer might be able to see unless you have illegal stuff they could see with a simply network scan. Unless they tell you they will spy on your local devices, if they actually go in and hack into any of your devices without your permission, then they would be doing something illegal.
 
D

Deleted member 43669

Guest
Well, sure, the file server has zero guest access; have to be an authenticated user to see anything on it, but I can't control TVs, Rokus, etc. Granted, I'm thinking hard about putting all the IoT/Untrusted items and Printers in their own VLAN now that I have a reason to try and have successfully figured out how and can adjust things 4 out of 5 times without interrupting the missus' access. :eng101:
If you nmap those devices, they might not be even listening for anything.

I have a Chromecast and a Google Mini, and those have a few ports open. The Sonos too. The Sonos doesn't have a microphone, and while I don't trust Google, I trust they won't allow others to exploit their devices (edit: and if they are exploited, I suspect it will be discovered relatively quickly, and I don't care much about a microphone).

I have other stuff on my network, it's either reasonably secure network appliances, or client stuff like Android devices, laptops, etc. which are mobile devices and should be prepared for a hostile network (e.g. the Android devices do not have any ports open) anyway.

I realize the sad state of IoT devices with sensitive sensors (e.g. cameras and microphones) and where many times having a trustworthy vendor is too much trouble, so... well, a lot of people learn about VLANs.

I don't know, I'd do some threat modelling:
They don't need to see my printer(s), my IoT devices, TVs, Cell phones, Rokus, file server(s), Proxmox infrastructure nor my personal laptop and/or desktop.

I don't know- it's all about trust. Employers have root on my work laptop- I'll never type any personal password on a work laptop, because if my employer gets hacked, that's excessive risk. Do I think my employer or someone hacking my employer is going to pwn my local network through my work laptop? I don't think so. (I have worked for employers that did stuff I didn't like in the past- I no longer work for them.)

I actually think playing with VLANs is interesting for didactic purposes, but if you want to move to a couch for a meeting, I wouldn't lose sleep over enabling wifi.

(I would remove IoT devices from my network that I didn't trust. Isolating them in a VLAN helps, but still...)
 

azazel1024

Ars Legatus Legionis
15,670
Subscriptor
I start full remote/working from home next Monday. I've been provided a laptop/docking station by the new org. I want to segregate anything that laptop touches from my home network.

What I've done so far is to enable the third Ethernet port (eth2; eth0 is to cable modem and eth1 is my "home" network) on my Edge Router Lite, set up a completely new network on it (192.168.x.x vs. 10.x.x.x), and configure DHCP for two addresses.

I then ran a "home run" from the router, through my "low voltage wiring box" where all the Ethernet in the house is "terminated" (just RJ-45 ends, no patch panel(s)) and out to my office (almost every room in the house was wired for 2xRJ-45s and one COAX.) I had to use a CAT-5 coupler tho and the network speed is only 100mbit instead of 1000mbit (maybe a blessing?)

I think this will do for now, but I foresee a time when I'll need/want to hook the laptop up to WiFi and I'll want to do similar isolation there, but I've never messed with VLANs (I have a Unifi 8 Port managed POE switch) and/or multiple SSIDs on my WiFi AP (Unifi AC-AP Pro, IIRC.)

I haven't found a tutorial or guide out there to help me; most assume that you're using a Dream Machine for a full-up Unifi-based solution.

Unfortunately, the EdgeRouter folks and the Unifi folks decided it would be fun to use slightly different nomenclature and I'm never sure if I'm right when trying to associate the two.

Would I need to run that wire to the switch and then further run that "home-run" back to my office via another wire connected to the switch? Or could I get away with adding a secondary interface address to the eth1 on the router, add VLAN to that and use that eth1 (rtr) <-> eth0 (switch) as a "trunk"?

Could someone point me the way?
If doing Wifi, just setup your router to segregate that one wireless device from the remainder of your network. Most routers have that option. Though many it is only through the guest SSID. Just setup the guest SSID as your work Wifi network and enable network segregation on it. Done. That is what I did with my work laptop.
 

stevenkan

Ars Legatus Legionis
16,516
Beyond that, this all seems highly overly paranoid unless the company has explicitly stated they are going full big-brother on any network their devices plug into.
The company should be the paranoid one. I wouldn't want to allow an employee to connect their entire home network to my company network.
 
  • Like
Reactions: skiierguy