-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration: error during OpenVPN tunnel migration due to missing 'topology' key #889
Labels
verified
All test cases were verified successfully
Milestone
Comments
gsanchietti
added a commit
to NethServer/nethserver-firewall-migration
that referenced
this issue
Nov 7, 2024
Skip tunnels that does not have a valid configuration file: they will produce a bad export that can't be imported. NethServer/nethsecurity#889
In nethserver-testing: Test case
|
Confirm, the export file [root@ns79 ~]# rpm -q nethserver-firewall-migration
nethserver-firewall-migration-1.0.2-1.5.g1fcf4e1.ns7.noarch [root@ns79 ~]# db vpn show
srv-test=openvpn-tunnel-server
Cipher=
Compression=disabled
Digest=
LocalNetworks=192.168.140.0/24,10.69.58.0/24
Network=10.95.143.0/24
Port=1200
Protocol=udp
PublicAddresses=93.188.101.78
RemoteNetworks=192.168.88.0/24
TlsVersionMin=
Topology=subnet
status=disabled [root@ns79 ~]# ls -hal /etc/openvpn/
total 32K
drwxr-xr-x. 5 root root 161 Nov 18 11:55 .
drwxr-xr-x. 116 root root 8.0K Nov 13 11:19 ..
drwxr----- 2 srvmgr srvmgr 22 Nov 18 11:55 ccd
drwxr-x---. 2 root openvpn 6 Mar 17 2022 client
-rw-r--r-- 1 root root 1.3K Nov 18 11:53 host-to-net.conf
-rw-r--r-- 1 root root 248 Nov 18 11:53 host-to-net.pool
-rwxr-xr-x 1 root root 293 Mar 11 2022 openvpn-shutdown
-rwxr-xr-x 1 root root 513 Mar 11 2022 openvpn-startup
drwxr-x---. 2 root openvpn 6 Mar 17 2022 server
-rw-r--r-- 1 root root 995 Nov 18 11:54 srv-test.conf [root@ns79 ~]# mv /etc/openvpn/srv-test.conf . Content of {"clients":[],"servers":[]} |
francio87
added
verified
All test cases were verified successfully
and removed
testing
Packages are available from testing repositories
labels
Nov 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Title: Error during OpenVPN tunnel migration due to missing 'topology' key
Steps to reproduce
/etc/openvpn
.Expected behavior
Actual behavior
KeyError: 'topology'
when processing disabled OpenVPN tunnel servers.Components
See also
NethSecurity version: 8-23.05.5-ns.1.3.0
References
The text was updated successfully, but these errors were encountered: