Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wireguard and H/3 #415

Open
Avamander opened this issue Nov 29, 2023 · 1 comment
Open

Wireguard and H/3 #415

Avamander opened this issue Nov 29, 2023 · 1 comment

Comments

@Avamander
Copy link

I'm trying to differentiate between Wireguard and H/3 (QUIC) connections on UDP.

But even with this config (that is quite accepting):

     { name: "wireguard"; host: "localhost"; is_udp: true; port: "1443"; log_level: 1 },
     { name: "regex"; host: "localhost"; is_udp: true; port: "8443"; regex_patterns: [ "\x00\x00\x00" ], log_level: 1 }

Quite a few H/3 connections fail. I've also tried reordering the protocols and to manually match Wireguard. I still can't achieve a reliable combination between the two. I'm using nginx as the H/3 server configured as their documentation states.

Is it possible to redirect just Wireguard and not touch anything else on that port?

@yrutschle
Copy link
Owner

Yes, you can use anyprot instead of regex, and everything that's not matched by other rules will go there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants