I have a WireGuard site-to-site connection to an external Fritz!Box.
The tunnel is established, but I'm always missing a route that I have to configure statically. I thought that wasn't necessary. My question is, is it normal that I have to create a static route myself?
config interface 'BaehrchensFB'
option proto 'wireguard'
option private_key 'secret'
list addresses '192.168.15.1/24'
list dns '192.168.178.1'
config wireguard_BaehrchensFB
option description 'Imported peer configuration'
option public_key 'secret'
option preshared_key 'secret'
list allowed_ips '192.168.178.0/24'
list allowed_ips '192.168.10.0/24'
list allowed_ips '192.168.11.0/24'
list allowed_ips '192.168.12.0/24'
option persistent_keepalive '25'
option endpoint_host 'fritzbox_ip_address'
option endpoint_port '51703'
Why do I have to create the following route statically? Can anyone help?
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/firewall
Ok. Well without the complete config, nobody will be able to help you identify the problem. My recommendation would be to disable PBR and all of the other vpns so you don’t have all of those variables in play. Get it working as a minimal configuration, then methodically enable the other vpns and PBR with only slight changes between tests until you identify the root cause.
config interface 'BaehrchensFB'
option proto 'wireguard'
option private_key 'secret'
list addresses '192.168.15.1/24'
list dns '192.168.178.1'
option route_allowed_ips '1' <------