caddyserver / caddy

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
https://caddyserver.com
Apache License 2.0
57.41k stars 4k forks source link

ipv6 proxy lan service #6588

Closed baozi510 closed 1 week ago

baozi510 commented 1 week ago

I only have IPV6 public, ipv4 is private. I use ipv6 to proxy IPV4 LAN services. The LAN service ports must be allowed through the firewall. When I use public IPV4, only the proxy ports need to be passed through the firewall.

caddyfile

https://xxxx.com {
    reverse_proxy http://192.168.123.123:8012

}

https://xxxx.com ipv6 only

must ufw allow 443 ufw allow 8012 i want just ufw allow 443

I know this may not be a problem with Caddy

i use docker-compose

mohammed90 commented 1 week ago

Have you and found it not working? Give it a shot. You don't need to do ufw allow 8012 anyways.

This looks more like a question about networking than how to use Caddy, a bug report, or feature request. Since this issue tracker is reserved for actionable development items, I'm going to close this, but we have a community forum where more people will be exposed to your questions on Caddy usage. I hope you'll ask your Caddy questions there, and thanks for understanding!