Hi Guys,

Need your help. I have a router to which all th devices are connected. Mostly wireless but the TV is connected via LAN cable. I have installed few apps on the TV from not trusted sources and I dont want the TV on the same network. How do I isolate the TV from the network so that it can still access the internet but cannot see anything on the network. Hope it makes sense.

grahamsz
link
fedilink
41Y

If you want to keep it wired then you’ll need to put it on a separate VLAN from your other devices. A VLAN effectively allows you to create separate ethernet networks over the same physical network. We use them at work to keep factory hardware separate from office hardware and I use them at home to keep a vpn open for streaming geolocked content from another country. Traffic between the two VLANs has to be routed just like it would if they were separate physical networks.

I have an Edgerouter POE which has a small built in switch and supports VLANs so I can easily dedicate a port on the switch to a particular VLAN. In my case I route that traffic through wireguard, but in your case all you really need is setting up NAT for internet access and not route it with your other VLAN.

Any commercial grade routers support VLANs, i’ve seen it on unifi, aruba and fortigate and have never heard of it not being supported.

As others have pointed out, if you have a switch between your TV and Router then that’ll need to be a managed switch that can trunk the vlan code back to the router, otherwise all the traffic will be comingled.

Other thoughts:

You might be able to arrange your IPs to sort of fake it. If your router is 192.168.1.1 and you make the TV be 192.168.1.2. Then you could give your TV a static IP configuration and tell it that it’s subnet mask is 255.255.255.252. Then it’d only consider the IPs 192.168.1.1-192.168.1.2 as being in it’s local network and if it tries to access something else on the LAN then it’ll send it to the router for forwarding.

I’m not sure what your router would do in that situation, but it seems unlikely it’d manage to forward that packet. You’d have to avoid putting any device on 192.168.1.3 (as that’d be the routers broadcast address) but I think you could probably make that work. It’s not really secure (as anyone that compromises the TV could change the subnet) and it’d still be possible for devices on your network to send UDP packets (but not get replies from) the TV. It’s also not really extendable and you probably can’t get a second TV to work like that (and definitely not three), but it wouldn’t require switching to commercial routers.

𝐘Ⓞz҉
creator
link
fedilink
English
01Y

Thank you so much. I think i’ll have to buy a switch. I have a shitty iinet tgvac789 V2 router which I think is useless.

grahamsz
link
fedilink
31Y

The switch on its own will do nothing for you. It’s only useful with a router that supports VLANs

Unfortunately in your situation you’ll need to replace your current router-modem combo with a dedicated modem, a commercial router (if you don’t want to build your own linux one then EdgeRouters seems pretty good value for money) and a managed switch.

𝐘Ⓞz҉
creator
link
fedilink
English
11Y

I logged in and found this

grahamsz
link
fedilink
11Y

Can you enable multiple vlans?

𝐘Ⓞz҉
creator
link
fedilink
English
11Y

I only see one VLAN option but then I also found this

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 31 users / day
  • 80 users / week
  • 216 users / month
  • 845 users / 6 months
  • 1 subscriber
  • 1.42K Posts
  • 8.13K Comments
  • Modlog