Hi all! I've a problem setting up WireGuard with 2 peers - namely, only 1 of the peers have access to the LAN and to the Internet.
More details:
-
Added first peer, my laptop, ticked the option "route peer" - success! Laptop has access to the LAN and the Internet through the WG inerface (checked with browserleaks, DNS is the one set on the router)
-
Added second peer, my travel router (AR750s, named slate in config), ticked the option "route peer" - Success!
-
HOWEVER! After adding the second peer, if I connect my laptop, it has NO network access (no LAN, no Internet). I tried: deleting my laptop from the config, and re-adding it. It works! But now the travel router as NO network access (no LAN, no Internet)... What gives? Thanks in advance for your help
My WG network config:
config interface 'wg0'
option proto 'wireguard'
option listen_port '1234'
option private_key 'server private key'
list addresses '10.20.40.1/24'
config wireguard_wg0
option description 'slate'
option public_key 'travel router public key'
list allowed_ips '10.20.40.3/24'
option route_allowed_ips '1'
option persistent_keepalive '25'
config wireguard_wg0
option description 'laptop'
option public_key 'laptop public key'
list allowed_ips '10.20.40.4/24'
option route_allowed_ips '1'
option persistent_keepalive '25'