diff --git a/udp2raw---wireguard-example-configurations.md b/udp2raw---wireguard-example-configurations.md index e713dc3..5d662fc 100644 --- a/udp2raw---wireguard-example-configurations.md +++ b/udp2raw---wireguard-example-configurations.md @@ -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) \ No newline at end of file +[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 \ No newline at end of file