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

Where/How to enable the IPV6 ? #9

Closed
xh116 opened this issue Sep 12, 2021 · 3 comments
Closed

Where/How to enable the IPV6 ? #9

xh116 opened this issue Sep 12, 2021 · 3 comments

Comments

@xh116
Copy link
Contributor

xh116 commented Sep 12, 2021

Sometimes ipv6 has better latency and even no bandwidth limitation.
Caddy itself works well with ipv6 now, but seems not able to use Ipv6 for trojan module.

By the way, does it support gRPC protocol just like websocket?

@imgk
Copy link
Owner

imgk commented Sep 12, 2021

I don’t think this module does not work properly with IPv6. Please check your settings.

Currently, there’s no plan to support gRPC. PR is welcomed.

@xh116
Copy link
Contributor Author

xh116 commented Sep 13, 2021

I am also running naiveproxy in caddy which work properly with IPV6.

Test trojan by:
https://github.com/paradiseduo/Trojan and clash withipv6: true

image

Test Naiveproxy:
Directly by official binary with SwitchyOmega.

image

and open google.com, type "my ip", it will show up the connected ip address.

@imgk
Copy link
Owner

imgk commented Sep 13, 2021

There are two IP addresses mentioned in this issue. The first is the address of the proxy server and the second is the address of target website.

IP addresses showed in your test is the latter ones. Caddy module uses IPv4 to connect the target website while the naive proxy use IPv6. Currently there is no option for caddy module to configure the preference how caddy connects target website and I think it isn’t necessary.

@xh116 xh116 closed this as completed Sep 14, 2021
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