FreePBX / sng_freepbx_debian_install

FreePBX 17 Installation Script
100 stars 35 forks source link

[bug]: install script disables IPv6 #5

Closed billsimon closed 4 months ago

billsimon commented 6 months ago

FreePBX Version

FreePBX 17

Issue Description

https://github.com/FreePBX/sng_freepbx_debian_install/blob/master/sng_freepbx_debian_install.sh#L401-L407

Installer disables IPv6.

Operating Environment

Debian 12

Relevant log output

No response

chrsmj commented 6 months ago

Is a better temporary fix for nodejs localhost issue to add this line to /etc/gai.conf:

precedence ::ffff:0:0/96 100

Comment above that line in stock gai.conf is "For sites which prefer IPv4 connections change the last line to" which seems like overkill but is there more than nodejs that will break when IPv6 is enabled...

billsimon commented 4 months ago

@kguptasangoma can we get ipv6 enabled here taking into consideration the workaround suggested by @chrsmj?

kguptasangoma commented 4 months ago

okay we can give try @billsimon , will update after testing feedback.

kguptasangoma commented 4 months ago

Hi @billsimon removed the ipv6 disable logic from the script as @chrsmj suggested workaround to give ipv4 precedence looks working fine. Ref-https://github.com/FreePBX/sng_freepbx_debian_install/pull/48