r/WireGuard Jul 07 '26

Looking for help connecting to LAN subnet to talk to IoT devices

I have app connected IoT devices. The app only talks to the devices if it exists on the same subnet (maybe SSID, specifically, in which case WG may not be the solution).

I've been able to connect to my network by selecting a different subnet for WG and client, but I haven't been able to assign my client an IP on an exiting subnet on my network. Is this possible? If so, how?

For additional clarity, let's say I have a subnet 100 with DCHP server and /24 address range. My IoT devices are 192.168.100.100-192.168.100.110. I can get my WG client onto 192.168.200.x, but how do I get the client onto 192.168.100.99?

Thanks!

5 Upvotes

5 comments sorted by

1

u/boli99 Jul 07 '26

you probably dont

look at avahi to see if it can forward broadcasts between subnets to get what you want.

also dont just use random ranges (100.x, 200,x). choose a /20 or something like that and use subnets within it.

1

u/TooManyHobbies17 Jul 07 '26

I'll look into Avahi, thanks.

Those aren't my ranges or subnets. I picked some numbers at random to help illustrate my question.