Updated udp2raw wireguard example configurations (markdown)

Yancey Wang 2024-06-10 12:56:14 -04:00
parent 333524f931
commit 45c9c619af

@ -1,3 +1,18 @@
[udp2raw+ wireguard example 1](https://github.com/wangyu-/udp2raw/discussions/494)
[udp2raw+ wireguard example 2](https://github.com/wangyu-/udp2raw/issues/466)
[udp2raw+ wireguard example 2](https://github.com/wangyu-/udp2raw/issues/466)
### Additional Note
If you wang to redirect 0.0.0.0/0 via VPN, it's very important to add a route exception (on client side) so that the VPN won't hijack udp2raw's traffic.
(Since your VPN traffic goes throught udp2raw, if your VPN hijacks udp2raw's traffic then there will be a traffic loop and your udp2raw will lost connection.)
The route exception could be done by:
```
ip route add ${YOUR_SERVER_IP} via ${YOUR_GATEWAY_IP}
```
If you don't know how to find YOUR_GATEWAY_IP, you can find an example in https://github.com/wangyu-/UDPspeeder/wiki/UDPspeeder-openvpn-config-guide