Hi all,
I am trying to set up WireGuard on my router (netgear r7800). Wireguard is installed and i have created the interface and the port forward, i don't get any traffic on the interface. i can ping the endpoint on port 51820 and i receive the udp package on the router too, but something doesn't work. i guess the subnet assignment. would be happy if someone looks over the configs.
/etc/config/firewall
config redirect
option dest_port '51820'
option src 'wan'
option name 'Wireguard'
option src_dport '51820'
option target 'DNAT'
option dest_ip '192.168.1.1'
option dest 'lan'
option proto 'udp'
/etc/config/network
config interface 'wg0'
option proto 'wireguard'
option listen_port '51820'
list addresses '192.168.2.1/24'
option private_key 'AHuKOhp..............'
config wireguard_wg0
option route_allowed_ips '1'
option description 'IPHONE'
option endpoint_port '51820'
option endpoint_host 'wg0endpoint.duckdns.org'
option public_key 'u4r3J....................'
option preshared_key 'U4kzZ.................'
list allowed_ips '192.168.2.2/24'