Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

OpenWRT OpenWrt 24.10.0 and WireGuard "network ifname configuration migration"

89 views
Skip to first unread message

Michele Salerno

unread,
Mar 5, 2025, 7:22:06 PMMar 5
to OpenWISP

Hi,

I installed wireguard on the server and routers with openwrt OpenWrt 24.10.0.
If I go to network it tells me to migrate....
What do I do?

OpenWISP Version: 24.11.1

Installed OpenWISP Modules

  • openwisp-controller: 1.1.1
  • openwisp-firmware-upgrader: 1.1.1
  • openwisp-ipam: 1.1
  • openwisp-monitoring: 1.1.2
  • openwisp-network-topology: 1.1.1
  • openwisp-notifications: 1.1
  • openwisp-radius: 1.1.1
  • openwisp-users: 1.1.0
  • openwisp-utils: 1.1.1
  • netdiff: 1.1
  • netjsonconfig: 1.1.2



On OpenWisp the preview template WireGuard is:

package network

config interface 'wg0'
	list addresses '{{ip_address_f84b678191bd4ad4bd8d743aa1e41ecf}}/32'
	option listen_port '51820'
	option mtu '1420'
	option nohostroute '0'
	option private_key '{{pvt_key_f84b678191bd4ad4bd8d743aa1e41ecf}}'
	option proto 'wireguard'

config interface 'vxlan'
	option enabled '1'
	option ifname 'vxlan'
	option mtu '1280'
	option peeraddr '10.27.252.1'
	option port '4789'
	option proto 'vxlan'
	option rxcsum '1'
	option ttl '64'
	option tunlink 'wg0'
	option txcsum '1'
	option vid '{{vni_f84b678191bd4ad4bd8d743aa1e41ecf}}'

config wireguard_wg0 'wgpeer_wg0'
	list allowed_ips '10.27.252.1/32'
	option endpoint_host 'vpn.nnxx.ninux.org'
	option endpoint_port '51820'
	option persistent_keepalive '60'
	option public_key 'KYjqwh5FYxd/45JC08ljnpiJtvnlyRIFLU3fUev14T0='
	option route_allowed_ips '1'


Best regards,

Michele



Federico Capoano

unread,
Mar 6, 2025, 9:05:49 AMMar 6
to open...@googlegroups.com
Hi Michele,

Can you please post the resulting UCI config of the interfaces supplied by OpenWISP after you tell LuCi to migrate?

Best regards
Federico Capoano
OpenWISP OÜ
Kotkapoja tn 2a-10, 10615, Harju maakond, Tallinn, Estonia
VAT: EE101989729


--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openwisp/91e7b365-caf2-4b10-9efa-2b55530aecfa%40gmail.com.

Michele Salerno

unread,
Mar 6, 2025, 12:02:00 PMMar 6
to open...@googlegroups.com
ok...


oot@ReginaMargherita116-AP:~ # uci show network
network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd05:2690:a7ce::/48'
network.globals.packet_steering='1'
network.device1=device
network.device1.name='br-lan'
network.device1.ports='eth0'
network.device1.type='bridge'
network.lan=interface
network.lan.device='br-lan'
network.lan.proto='static'
network.lan.ipaddr='10.27.22.3'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan.gateway='10.27.22.1'
network.mesh=interface
network.mesh.auto='1'
network.mesh.device='br-mesh'
network.mesh.proto='autoip'
network.mesh.stp='1'
network.device_mesh=device
network.device_mesh.bridge_empty='1'
network.device_mesh.ports='mesh mesh0 wmesh0'
network.device_mesh.name='br-mesh'
network.device_mesh.type='bridge'
network.device_mesh.igmp_snooping='0'
network.device_mesh.mtu='1500'
network.device_wmesh0=device
network.device_wmesh0.mtu='1500'
network.device_wmesh0.name='wmesh0'
network.wlan0=interface
network.wlan0.auto='1'
network.wlan0.device='wlan0'
network.wlan0.enabled='1'
network.wlan0.proto='none'
network.device_wlan1=device
network.device_wlan1.mtu='1500'
network.device_wlan1.name='wlan1'
network.device_wlan0=device
network.device_wlan0.mtu='1500'
network.device_wlan0.name='wlan0'
network.wlan1=interface
network.wlan1.auto='1'
network.wlan1.device='wlan1'
network.wlan1.enabled='1'
network.wlan1.proto='none'
network.device_mesh0=device
network.device_mesh0.mtu='1500'
network.device_mesh0.name='mesh0'
network.device_wlan3=device
network.device_wlan3.mtu='1500'
network.device_wlan3.name='wlan3'
network.wlan4=interface
network.wlan4.auto='1'
network.wlan4.device='wlan4'
network.wlan4.enabled='1'
network.wlan4.proto='none'
network.wlan3=interface
network.wlan3.auto='1'
network.wlan3.device='wlan3'
network.wlan3.enabled='1'
network.wlan3.proto='none'
network.device_wlan4=device
network.device_wlan4.mtu='1500'
network.device_wlan4.name='wlan4'
network.ZeroTier=interface
network.ZeroTier.proto='none'
network.ZeroTier.device='owzt0192af'
network.wgpeer_wg0=wireguard_wg0
network.wgpeer_wg0.allowed_ips='10.27.252.1/32'
network.wgpeer_wg0.endpoint_host='vpn.nnxx.ninux.org'
network.wgpeer_wg0.endpoint_port='51820'
network.wgpeer_wg0.persistent_keepalive='60'
network.wgpeer_wg0.public_key='KYjqwh5FYxd/45JC08ljnpiJtvnlyRIFLU3fUev14T0='
network.wgpeer_wg0.route_allowed_ips='1'
network.vxlan=interface
network.vxlan.enabled='1'
network.vxlan.mtu='1280'
network.vxlan.peeraddr='10.27.252.1'
network.vxlan.port='4789'
network.vxlan.proto='vxlan'
network.vxlan.rxcsum='1'
network.vxlan.ttl='64'
network.vxlan.tunlink='wg0'
network.vxlan.txcsum='1'
network.vxlan.vid='1'
network.vxlan.device='vxlan'
network.wg0=interface
network.wg0.addresses='10.27.252.2/32'
network.wg0.listen_port='51820'
network.wg0.mtu='1420'
network.wg0.nohostroute='0'
network.wg0.private_key='oNldvFCy520BfopexJ1r3zUP/J8iu4RIh/2IX2Z1jlg='
network.wg0.proto='wireguard'
root@ReginaMargherita116-AP:~ #


Il 06/03/25 15:05, Federico Capoano ha scritto:
> Hi Michele,
>
> Can you please post the resulting UCI config of the interfaces
> supplied by OpenWISP after you tell LuCi to migrate?

--
Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.

Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.

Reply all
Reply to author
Forward
0 new messages