Webmin version 2.303 released

Changes since 2.302:

  • Fix permissions error when attempting to open a temp file for writing
  • Fix Network Configuration module to use ip command instead of ifconfig on Debian systems
  • Fix to correctly save IPv6 nameservers in Network Configuration module
  • Fix to run man as nobody to prevent section param misuse in System Documentation module
  • Add support for Sendmail hash files ending with .cdb
  • Update German translations
2 Likes

Hi Joe
First of all: Thanks for Webmin and Virtualmin (both incredible)

I have Webmin 2.303 installed
The Network configuracion module does not work correctly
OS Debian 12

Webmin “destroy” absolutely the Nework configuration
In fact, when apply it, the server has no route and it is not accesible from Internet

The server has IP “with-no-subnet”
And the Gateways is “outside subnet”
The IPS are correct (the “XXX” is for privacy)
(A common configuration in servers on datacenters)

IP = 91.134.XX.XXX/32
GATEWAY=100.64.0.1

IP=2001:41d0:XXX:XXX::1/128
GATEWAY=fe80::1

NETPLAN-CONFIGURATION:
/etc/netplan/50-cloud-init.yaml

network:
  version: 2
  ethernets:
    enp10s0f0:
      addresses: ['91.134.XX.XXX/32', '2001:41d0:XXX:XXX::1/128']  
      nameservers:
        addresses: [8.8.8.8, 1.1.1.1, '2001:4860:4860::8888', '2001:4860:4860::8844']
      routes:
        - to: default
          via: 100.64.0.1
          on-link: true
          metric: 100
        - to: default
          via: fe80::1
          on-link: true
          metric: 100
      accept-ra: false
      match:
        macaddress: d8:43:ae:8a:0d:76
      # Opcional poner nombre
      set-name: enp10s0f0

THEN:
$netplan generate
$netplan apply

(1) ARE ABSOLUTELY CORRECT

(2) AND ABSOLUTELY NECESSARY THIS BOTH OPTIONS:
on-link:true
metric:100

If you not write both options, then after apply the server lost connection to Internet
Because the network is not configured and do not have “route”
$ip route
(nothing!!)

PROBLEM WITH WEBMIN:
The Webmin Network Module is unable to read that configuration
And if write some configuracion in Network Module and “save” the
/etc/netplan/50-cloud-init.yaml is overwrited, and loss the key necesssary options “on-link:true” and “metric:100”

SUMMARY:
Webmin Destroy the network configuration in Debian12

Please make a new topic about your issue.

https://forum.virtualmin.com/guidelines

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