When importing a configuration file containing multiple IP addresses, e.g. AllowedIPs = 10.168.12.0/24, 10.168.13.0/24, 10.168.14.0/24 an error occurs Oops, something went wrong... Invalid Network 10.168.13.0/24 Invalid Network 10.168.14.22/32 Once the spaces between the addresses have been removed, e.g. AllowedIPs = 10.168.12.0/24,10.168.13.0/24,10.168.14.0/24 the import proceeds without errors. The configuration file was generated when the N2N connection was created on IPFire. Regards
The import issue also occurs in the Core-Update 203 Development Build: master/8024c29c
https://community.ipfire.org/t/ipfire-2-29-core-update-203-testing/15880/30?u=tphz
Could you please confirm that this fixes the problem? > https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=459e88ff5acbc0e6059665d6636a30445aa48c6b
(In reply to Michael Tremer from comment #3) > Could you please confirm that this fixes the problem? > > > https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=459e88ff5acbc0e6059665d6636a30445aa48c6b In the file `wireguard-functions.pl`, I made the recommended change shown below # AllowedIPs } elsif ($key eq "AllowedIPs") { my @networks = split(/\s*,\s*/, $val); Following the above change, the import completed without any errors being reported. Tested on Core-Update 203 Development Build: master/4b639c7e Best Regards
Core Update 203 has been released: > https://www.ipfire.org/blog/ipfire-2-29-core-update-203-released