Thank you Tobi and Meyerguru
True that each WG connected device is still open on LAN for Layer2. I am aware that but I guess this problem exists in any case if you are using WG from a starbucks or the airport and there it is just considered as compromise that you could get.
I also know that best would be having a separation over different physical LANs. I've seen the migration from VLAN to physical separation in at my work.
Second best is VLANs, it was considered to be best in the past but nowerdays considered also to be kind of a compromise.
And my "third" best solution would be to take what I do have and try to improve on a SW level.
And fourth would be doing nothing and just having a big LAN without any control of who is accessing who.
In my case my thinking was to just consider the whole LAN (direct physical connection to OPNsense) as insecure and choose the sensible devices and put them in different WG subnets that are considered more secure than LAN. Then I force a routing over the OPNsense router (as it would be with VLANs) and I can control the routing and have options with the OPNsense firewall.
The disadvantage is of course that everything must be encrypted and decrypted through the tunnel and can't communicate directly between the devices.
This brings me back to my original question since I think I have understood the goods and the bads of my planned solution.
The real question was, what performance is to expect from WG?
Where are the bottle necks and why can't I see them in the stats?
Meyerguru thinks that I can be sure that my NIC runs on 10G. That could have been a good explanation if he would have been wrong and it runs on 1G. But maybe he is right and the WG performance I see is already the end of the road? If so, although I am no expert I would have expected much more bandwith in my configuration with 10G NIC and an old i7 CPU with good clock and more than enough RAM. Everybody is talking that WG is that fast and I am sure it is compared to it's successors but still I would have expected more at least over 200MByte/sec or at least seeing any CPU running hot due to the cryptography of the tunnel.
But all devices seem to fine and relaxed.
True that each WG connected device is still open on LAN for Layer2. I am aware that but I guess this problem exists in any case if you are using WG from a starbucks or the airport and there it is just considered as compromise that you could get.
I also know that best would be having a separation over different physical LANs. I've seen the migration from VLAN to physical separation in at my work.
Second best is VLANs, it was considered to be best in the past but nowerdays considered also to be kind of a compromise.
And my "third" best solution would be to take what I do have and try to improve on a SW level.
And fourth would be doing nothing and just having a big LAN without any control of who is accessing who.
In my case my thinking was to just consider the whole LAN (direct physical connection to OPNsense) as insecure and choose the sensible devices and put them in different WG subnets that are considered more secure than LAN. Then I force a routing over the OPNsense router (as it would be with VLANs) and I can control the routing and have options with the OPNsense firewall.
The disadvantage is of course that everything must be encrypted and decrypted through the tunnel and can't communicate directly between the devices.
This brings me back to my original question since I think I have understood the goods and the bads of my planned solution.
The real question was, what performance is to expect from WG?
Where are the bottle necks and why can't I see them in the stats?
Meyerguru thinks that I can be sure that my NIC runs on 10G. That could have been a good explanation if he would have been wrong and it runs on 1G. But maybe he is right and the WG performance I see is already the end of the road? If so, although I am no expert I would have expected much more bandwith in my configuration with 10G NIC and an old i7 CPU with good clock and more than enough RAM. Everybody is talking that WG is that fast and I am sure it is compared to it's successors but still I would have expected more at least over 200MByte/sec or at least seeing any CPU running hot due to the cryptography of the tunnel.
But all devices seem to fine and relaxed.