I want to access the machines in the network B from machine which in network A. By configuring A/B peer config in wg0.conf of server C like these manually, it works, the wireguard server can forward traffic correctly.
//Peer A
[Peer]
AllowedIPs = 10.0.0.2/32, 192.168.100.0/24
//Peer B
[Peer]
AllowedIPs = 10.0.0.3/32, 192.168.200.0/24
but through wg-gen-web, it seems that I can't do the above configuration. When I add 192.168.100.0/24 to A's configuration, I only modify the configuration of A's client file, and the wg0.conf from server side will not add the corresponding sub network.
In my use scene, there are the following networks
I want to access the machines in the network B from machine which in network A. By configuring A/B
peer
config in wg0.conf of server C like these manually, it works, the wireguard server can forward traffic correctly.but through wg-gen-web, it seems that I can't do the above configuration. When I add 192.168.100.0/24 to A's configuration, I only modify the configuration of A's client file, and the wg0.conf from server side will not add the corresponding sub network.