What's new

Isolating LAN from clients behind second router

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

rvin

New Around Here
Hey guys, I have question around having multiple routers configured and their client access. I've been doing a lot of searching online about this and I'm not sure what's going on since people seem to be saying the opposite of what's happening for me.

Let me start on the background for why I'm attempting this. I have a fiber plan that's pretty overkill for me and it doesnt make sense for me to downgrade it as I'd get locked into a contract and pay just slightly less for about half the speed. Recently a couple of immigrants moved in the house facing my backyard and I got talking to them and offered them use of my internet, but wifi doesn't work well enough. So what I did is grabbed a 50M cat5e cable and pulled it across the backyard to their place and dug out an old AC68U I had in my storage and put it up in their place.

Now I naively (stupidly?) assumed from doing a quick search before that as long as I kept their router connected by WAN port and in a different subnet I should have it isolated from my LAN, but this doesnt seem to be the case. I seem to be able to access all my devices/services while connected to the Wifi on the AC68U. I might be misreading this Asus page that seems to imply this wouldn't happen unless I set up some static routes - https://www.asus.com/my/support/FAQ/1011706/, but I've seen numerous comments on other pages and forums saying the different subnets would mean the clients cant communicate with each other.

So basically I have a 3 router AIMesh setup in my home - 2 AX86us and an AC86u, all running Merlin firmware. The AC68U in the back house is connected to LAN4 of the AC86U in my house on its WAN port, with the WAN setting set to automatic IP (in my DHCP setting's I've binded the MAC of the device to assign it a static IP of 192.168.0.5). If I connect my phone to the wifi of the AC68U (and get assigned an IP of say 192.168.100.10) I am still able to access my NAS at 192.168.0.25. Basically what's in the RED ARROW in the diagram can occur, and I'd really like it not to.

Is there anyway to achieve this? To block the clients in the 192.168.100.0/24 subnet behind the AC68u from connecting to the 192.168.0.0/24 subnet clients behind the AX86u? One idea I have is to run an OpenVPN server on the main router and an open VPN client on the AC68u and have LAN access disabled on the main router's VPN setting ... but I believe this is putting unecessary load on the main router and hence I'd like to avoid that (I already have a running instance of OpenVPN for my own use as well). Is there any other way, say like using static routes to isolate the traffic?

I don't expect them to do anything malicious but they're not particularly tech savvy and I'm worried about things like ransomware breaches and so on.

TL;DR - red arrow traffic flow in diagram is allowed, how to stop it.
 

Attachments

  • Untitled Diagram.drawio.png
    Untitled Diagram.drawio.png
    66.3 KB · Views: 106
I wouldn't set that router up in a mesh, just a router on its own. It'll be double NAT for them, but so be it.

Make a LAN port on the router be a guest network without LAN access and feed them from that.

There might be legal implications depending on both your provider and what the "guests" do on-line.
 
I wouldn't set that router up in a mesh, just a router on its own. It'll be double NAT for them, but so be it.

Make a LAN port on the router be a guest network without LAN access and feed them from that.

There might be legal implications depending on both your provider and what the "guests" do on-line.
Which one? The AC68u? Its not part of the mesh, its connected through a very long ethernet cable, so yeah they are currently double NATed.

How would I make a LAN port be part of a guest network? I did try using iptables to isolate lan port 4 on the AC86u that's connected to the WAN port on the AC68u, but I broke all connectivity. Don't quite understand the configuration to be honest so quite likely I messed up. But at the moment I'm not sure if it would be possible to do what I want, so thinking I shouldn't waste time on trying further unless someone says it can be done through that.
 
@rvin The only change you need to make is to the RT-AC68U's Network Services Filter. Add the following rule which will stop them from being to access your LAN.

Untitled.png

Of course this is not particularly secure as if they have physical access to the router they could reset it, or unplug it and connect one of their devices directly to the ethernet cable. And as @glens said there could be legal/contractual issues with sharing your internet service with a different household.
 
Last edited:
@rvin The only change you need to make is to the RT-AC68U's Network Services Filter. Add the following rule which will stop them from being to access your LAN.

View attachment 54869

Of course this is not particularly secure as if they have physical access to the router they could reset it, or unplug it and connect one of their devices directly to the ethernet cable. And as @glens said there could be legal/contractual issues with sharing your internet service with a different household.
I'll try this out.

To be honest I never considered the legal side of it, I'll talk to a lawyer friend of mine and she what she says. Perhaps I could make them sign some affirmation otherwise if thats not an option I'll probably tell them they can use it for a couple of months and then later on get their own.
 
I'll try this out.

To be honest I never considered the legal side of it, I'll talk to a lawyer friend of mine and she what she says. Perhaps I could make them sign some affirmation otherwise if thats not an option I'll probably tell them they can use it for a couple of months and then later on get their own.
The legal issue is with the terms of service that you agreed to when you subscribed to the ISPs service. A residential type service most likely has language that forbids sharing your connection. You would have to read it to see. On the other hand the same ISP may have a business internet service with a different TOS that allows it. again you need to read the TOS before you buy. This all varies from one isp to the next. It could be as simple as converting your residential service to a business service to fix such an issue.
 
Last edited:
Certainly that, though I don't see criminal or even civil action arising from that direction. Most likely the only penalty would be termination of service. From the other direction you'll have no indemnity from whatever it is they might be using the network for. Torrents (or even just occasional but recurring instances) of blu-ray disc images, kiddie porn, or state secrets to/from /your/ IP address might prove difficult to defend.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top