Help with udp2raw

I have 2 openwrt one is server and the other is client I followed this guide
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

Please, do not post links to videos: people do not have time to watch through the video to try to understand how you have configured your devices.

Instead, it's much more productive to share your configuration files, so anybody can understand at a glance what is happening.



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 :sweat_smile:,
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= and port to 4000 i have no internet connection and no rx traffic on wiregiuard interface on client side

the udp2raw tunnels connected together

I don't have experience with udp2raw.

I'm confused. Do you want UDPraw, or Wireguard?

i want to redirect all traffic through udp2raw so i use vpn

Try to answer the question:

Are you wanting to use:

  • Wireguard; or
  • udp2raw


If you want to use Wireguard, I'm confused as to why your typing these udp2raw commands.

1 Like

Why? What are you wanting to achieve as an end result of all of this?

1 Like

i'm trying to accelerate udp packets performance

i want to use udp2raw

1 Like

OK, I will edit the title appropriately.

1 Like


  • Why do you think running a udp2raw tunnel thru Wireguard (a VPN within a VPN) will "accelerate performance"?
  • What does "accelerate performance" mean?
  • Is this related to the many threads you have regarding improving your gaming system performance (which you didn't mention)?

i'm trying to accelerate by putting fec into packets, problem solved when i changed --raw-mode to udp as wireguard uses udp protocol

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.