caddyserver / forwardproxy

Forward proxy plugin for the Caddy web server
Apache License 2.0
603 stars 228 forks source link

Does forwardproxy support ipv6 ? #67

Closed wuzhongyi1105 closed 5 years ago

wuzhongyi1105 commented 5 years ago

1. Is bug reproducible with latest forwardproxy build?

Yes

2. What are you trying to do?

Use ipv6 to visit websites.

3. What is your entire Caddyfile?

forwardproxy {
    basicauth xxx xxxxxxx
    ports     80 443
    hide_ip
    hide_via
    probe_resistance
    response_timeout 30
    dial_timeout     30

4. How is your client configured?

Use Surge HTTPS Proxy.

5. How did you run Caddy? (give the full command and describe the execution environment). If multiple servers are used (for example with upstream), describe those as well.

In docker container.

6. Please paste any relevant HTTP request(s) here.

7. What did you expect to see?

The proxy is working but only by ipv4, my server have ipv6 address and a shadowsocks proxy in another container can use ipv6 successful. I want to confirm if ipv6 is supported in forwardproxy.

8. What did you see instead (give full error messages and/or log)?

9. How can someone who is starting from scratch reproduce the bug as minimally as possible?

sergeyfrolov commented 5 years ago

Yes, forwardproxy supports ipv6 fully.

On Mon, Sep 2, 2019, 21:58 DylanWu notifications@github.com wrote:

  1. Is bug reproducible with latest https://caddyserver.com/download forwardproxy build?

Yes

  1. What are you trying to do?

Use ipv6 to visit websites.

  1. What is your entire Caddyfile?

forwardproxy { basicauth xxx xxxxxxx ports 80 443 hide_ip hide_via probe_resistance response_timeout 30 dial_timeout 30

  1. How is your client configured?

Use Surge HTTPS Proxy.

  1. How did you run Caddy? (give the full command and describe the execution environment). If multiple servers are used (for example with upstream), describe those as well.

In docker container.

  1. Please paste any relevant HTTP request(s) here. 7. What did you expect to see?

The proxy is working but only by ipv4, my server have ipv6 address and a shadowsocks proxy in another container can use ipv6 successful. I want to confirm if ipv6 is supported in forwardproxy.

  1. What did you see instead (give full error messages and/or log)? 9. How can someone who is starting from scratch reproduce the bug as minimally as possible?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/caddyserver/forwardproxy/issues/67?email_source=notifications&email_token=ABJQ4S63T5XKIYXHK6MSUWTQHXOFNA5CNFSM4ITBWJCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HI4C3YA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJQ4S645MXDIBXAI6KGIELQHXOFNANCNFSM4ITBWJCA .