Hi, I cannot access to LAN connected devices when I connect to the VPN
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option packet_steering '1'
option ula_prefix 'fdad:3f37:477e::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.10.1'
config interface 'wan'
option device 'wan'
option proto 'pppoe'
option username 'abcd'
option password '1234'
option ipv6 'auto'
option keepalive '5 60'
config interface 'VPN'
option proto 'wireguard'
option private_key 'blablabla'
option listen_port '31878'
list addresses '10.12.10.1/24'
config wireguard_VPN
option description 'smartphone'
option public_key 'blablabla'
option route_allowed_ips '1'
list allowed_ips '10.12.10.2/32'
If I add list allowed_ips '192.168.10.0/24'
on peer configuration I can no longer access to the router and internet.
I think the problem is in the firewall configuration:
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
list network 'vpn0'
list network 'VPN'
Is it correct to have the VPN interface together with the LAN?