homer icon indicating copy to clipboard operation
homer copied to clipboard

IPv6 support? Change TCP port

Open theotherguy2175 opened this issue 2 years ago • 2 comments

Does homer support ipv6?

I am using docker network ipvlan and therefor do not use dockers built in NAT. I was able to get ipv4 to work on tcp port 8080.

How ever it would be nice to change a config or something to listen on 80 and be able to use ipv6.

theotherguy2175 avatar Jun 09 '22 18:06 theotherguy2175

Hi

I'm trying to run homer behind a traefik proxy. But I would use Port 80. I don't know how to redirect port 80:8080 with trafik and would change the homer from 8080 to 80. (Or to 443)

Espo02 avatar Jun 16 '22 09:06 Espo02

HI there,

You can change Homer container internal port by using the PORT env variable. @theotherguy2175 there is no specific ipv6 support, and I don't really know what's required and could be missing. Could you explain what would it take to make it IPv6 compatible ?

bastienwirtz avatar Jul 29 '22 17:07 bastienwirtz

Adding following lines to the lighttpd.conf file worked for me to make it IPv6 compatible:

server.bind = "0.0.0.0" 
$SERVER["socket"] == "[::]:8080" {  }

This is based on lighttpd recommended IPv6 setup documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config.

Sakoes avatar Mar 28 '23 09:03 Sakoes

I don't see any file in the system ' lighttpd.conf'

On Tue, Mar 28, 2023 at 5:53 AM Isaac Sterckx @.***> wrote:

Adding following lines to the lighttpd.conf file worked for me to make it IPv6 compatible:

server.bind = "0.0.0.0" $SERVER["socket"] == "[::]:8080" { }

This is based on lighttpd recommended IPv6 setup documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config.

— Reply to this email directly, view it on GitHub https://github.com/bastienwirtz/homer/issues/466#issuecomment-1486553725, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQHL25GELOFHJKVFYAB2CTW6KYK3ANCNFSM5YLBH3FA . You are receiving this because you were mentioned.Message ID: @.***>

theotherguy2175 avatar Apr 13 '23 13:04 theotherguy2175

:wave: ipv6 support has been merged and will be released soon.

bastienwirtz avatar May 13 '23 13:05 bastienwirtz

Hi 👋

Would it be possible to make IPV6 configuration optional?

With the latest changes it started crashing

Starting webserver
2023-05-15 15:33:49: (network.c.387) socket: Address family not supported by protocol

marquesj2-ppb avatar May 15 '23 15:05 marquesj2-ppb

Hi 👋

Would it be possible to make IPV6 configuration optional?

With the latest changes it started crashing

Starting webserver
2023-05-15 15:33:49: (network.c.387) socket: Address family not supported by protocol

I second this, it definitely should be optional.

smandon avatar May 15 '23 17:05 smandon

@marquesj2-ppb @smandon Sorry about that! I should be able to add an env var to enable or not ipv6, I'll look into it asap !

bastienwirtz avatar May 16 '23 07:05 bastienwirtz