Which one should I enter the data for configuring routing for wireguard?
I want to make one pc work not through a tunnel.
automatic routing from wireguard is having a problem, the problem is that one of the PCs is not visible from the vds.
The "Allowed IPs 0.0.0.0/0" option in peers wireguard is not suitable, because all computers start working through the tunnel.
The community leaders and gurus will usually recommend Policy Based Routing for this.
But if all you need is just to keep one device permanently outside of the tunnel, and you can set a static LAN IP for that device, it's pretty easy to do manually with one custom routing table and one custom rule. You can use the "Allowed IPs 0.0.0.0/0" option above and this will still work.
I'm going to use 192.168.1.25 as the static LAN address of the PC to stay outside of the tunnel. Change that to whatever you want to use.
To make the custom routing table in LuCI, go to Network -> Routing and click "Add" in the "Static IPv4 Routes" tab. Select "wan" as the interface, "unicast" as the route type, "0.0.0.0/0" as the target, and "<YourISPGatewayIP>" as the gateway under "General Settings". Then set a new table number under "Advanced Settings", say "100" for example, and leave everything else alone, then hit "Save". Now any rule that uses table 100 just goes straight to the internet, outside of the WG tunnel.
To make that rule, go to the "IPv4 Rules" tab and "Add" a new rule. Rule type "unicast", incoming interface "lan", source "192.168.1.25/32", and table "100" (or whatever number you used above). Leave everything else alone and hit "Save".
Save and apply all of that. I don't actually know if it's necessary to reboot the router to make those routes take effect, but may as well.