I have 2x a GL Inet AX1800 here.
The intention is for them to establish a Wireguard connection between themselves and to pipe the LAN network on their side to the other side.
Setting up the connection with Wireguard goes well. I also have a good connection (can be seen in the routers). On both routers I also checked the box that I want to share my LAN. However, I am unable to reach that network via ping and/or SMB/file share. I have also added the routes to each other in the routes (shouldn’t be necessary, right?) but this didn’t help either. Am I missing a certain setting or checkbox somewhere?
Wireguard is probably routing all traffic through the vpn.
AllowedIPs is by standard set to: 0.0.0.0/0
Try
Or
to generate the correct line.
Allowed means which traffic should be routed through the VPN, e.g.: 0.0.0.0/0 and disallowed, which traffic should NOT be routed through the VPN, e.g. 192.168.1.0/24, 192.168.2.0/24
Thank you for the reply.
I don’t get the rule yet.
Side A:
Local network 192.168.7.0/24
Wireguard server 10.0.0.1
Side B
Local network 192.168.8.0/24
Wireguard client 10.0.0.2
The idea was to have side C (not setup yet)
Local network 192.168.9.0/24
Wireguard client 10.0.0.3
Both network’s must talk to each other.
In de Wiregueard server and client config i see: option allowed_ips ‘0.0.0.0/0,::/0’ I don’t get it how do i route the data.