I'm struggling with OpenWrt and Wireguard config and some help with fresh look would be welcome.
I've got 2 routers in my home network: one with internet connection (from my internet provider) and second with OpenWrt (configured as dumb ap). I'm trying to setup Wireguard on OpenWrt router so I'll be able to reach PCs in my home network.
I've managed to configure connection, so I'm able to reach OpenWrt router (on 10.150.149.3 and 10.150.150.1), but I can't see any other device from the home network (10.150.149.0/24). If someone could take a look and point me what is done wrong or what else should be done I would releally appreciate.
Pasting configs below:
config interface 'lan' option type 'bridge' option proto 'static' option netmask '255.255.255.0' option ip6assign '60' option ifname 'eth0 eth0.1 eth0.2' option ipaddr '10.150.149.3' option gateway '10.150.149.1' option broadcast '10.150.149.255' option dns '10.150.149.1 22.214.171.124' config interface 'wg0' option proto 'wireguard' option private_key (hidden) option listen_port (hidden) list addresses '10.150.150.1/24' config wireguard_wg0 option public_key (hidden) option route_allowed_ips '1' option persistent_keepalive '25' option description 'notebook' list allowed_ips '10.150.150.3'
config zone option name 'lan' option input 'ACCEPT' option output 'ACCEPT' option forward 'ACCEPT' option network 'lan' config zone option input 'ACCEPT' option output 'ACCEPT' option name 'wireguard' option network 'wg0' option forward 'ACCEPT' config rule option target 'ACCEPT' option src 'lan' option name 'allow-lan-to-wireguard' option dest 'wireguard' config rule option target 'ACCEPT' option src 'wireguard' option name 'allow-wireguard-to-lan' option dest 'lan' config forwarding option dest 'wireguard' option src 'lan' config forwarding option dest 'lan' option src 'wireguard'
[Interface] PrivateKey = (hidden) Address = 10.150.150.3/32 DNS = 126.96.36.199 [Peer] PublicKey = (hidden) Endpoint = (hidden) AllowedIPs = 10.150.149.0/24, 10.150.150.0/24 PersistentKeepalive = 25