Transfer website to ipv6 not work - temp fix

SYSTEM INFORMATION
OS type and version Centos 7.9
Webmin version 2.105
Virtualmin version 7.8.2

ipv6 in Transfer Virtual Server - “hostname of destination system” not work, say “Failed to transfer server : Destination hostname cannot be resolved”.

I try ipv6, [ipv6], [ipv6]:22, with no luck.
Destination is ipv6 only.

I comment line 20, 21 and 36 in /usr/libexec/webmin/virtual-server/transfer.cgi and now it work in format [ipv6] or [ipv6]:22
Also add in /usr/libexec/webmin/virtual-server/virtual-server-lib-funcs.pl in sub execute_command_via_ssh:
$host =~ tr/[]//d;<---->
before line:
my $sshcmd =

Now all work ok with ipv6, but without ipv4 hostname validation.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.