Hello
I have 2 openwrt one is server and the other is client I followed this guide https://youtu.be/BKdPWOXD75I
And I put server private key in interface at private key section at server side and at peers I putted client public key at public key section and pre shared key on both side from wgserver. Psk all this at server openwrt.
At client openwrt I putted client private key at private key section at interface and at peers I putted server public key at public key section and presharedkey I putted wgserver. Psk key and endpoint server public ip and port server listen port I checked route allowed ips and allowed ips 0.0.0.0/0
Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have
ubus call system board; \
uci export network; uci export wireless; \
uci export dhcp; uci export firewall; \
head -n -0 /etc/firewall.user; \
ip -4 addr ; ip -4 ro li tab all ; ip -4 ru;
By the way, there is official guide for wireguard tunneling.
it works now the problem was me i mixed up client configuration with server ,
the whole purpose of setup wireguard is to setup udp2raw tunnel can you help me setup udp2raw
i started udp2raw on server side with this command: ./udp2raw -s -a- -l0.0.0.0:2000 -r127.0.0.1:51820 (wireguard listen port) of interface --raw-mode faketcp
and on client side:
./udp2raw -c -a -r server public ip:2000 -l127.0.0.1:4000 --raw-mode faketcp
and i changed endpoint in client at peers on wireguard interface to ip=127.0.0.1 and port to 4000 i have no internet connection and no rx traffic on wiregiuard interface on client side