Hello.
I have a similar problem.
In my case: fresh install 157 and upgrade to 158
I add OpenVPN Net-to-Net testn2n connection on “ipfire server”
After the first upload on “ipfire client”
[Net-to-Net Virtual Private Network (Upload Client Package)]
and in the folder /var/ipfire/ovpn/n2nconf the folder testn2n appears,
and in this folder the file testn2n.conf
After second upload the same configuration file .zip
“*.conf move failed: Inappropriate ioctl for device”
After unzip configuration .zip file
and zipped
Error messages
Filecount does not match only 2 files are allowed
In /var/log/httpd/error_log
format error: can't find EOCD signature
at /usr/lib/perl5/site_perl/5.32.1/Archive/Zip.pm line 1090.
Archive::Zip::Archive::_findEndOfCentralDirectory(Archive::Zip::Archive=HASH(0x34707e0), IO::File=GLOB(0x3476c48)) called at /usr/lib/perl5/site_perl/5.32.1/Archive/Zip.pm line 966
Archive::Zip::Archive::readFromFileHandle(Archive::Zip::Archive=HASH(0x34707e0), IO::File=GLOB(0x3476c48), "/tmp/_jdhY0V1Bu") called at /usr/lib/perl5/site_perl/5.32.1/Archive/Zip.pm line 940
Archive::Zip::Archive::read(Archive::Zip::Archive=HASH(0x34707e0), "/tmp/_jdhY0V1Bu") called at /srv/web/ipfire/cgi-bin/ovpnmain.cgi line 3321
edit
content testn2n.conf from server
# IPFire n2n Open VPN Client Config by ummeegge und m.a.d
#
# User Security
user nobody
group nobody
persist-tun
persist-key
script-security 2
# IP/DNS for remote Server Gateway
remote xxx.dydns.net
float
# IP adresses of the VPN Subnet
ifconfig 10.0.111.2 10.0.111.1
# Server Gateway Network
route 10.0.11.0 255.255.255.0
# tun Device
dev tun
#Logfile for statistics
status-version 1
status /var/run/openvpn/-n2n 10
# Port and Protokoll
port 1196
proto udp
# Paketsize
tun-mtu 1500
fragment 1300
mssfix
remote-cert-tls server
# Auth. Client
tls-client
# Cipher
cipher AES-256-GCM
pkcs12 /var/ipfire/ovpn/certs/testn2n.p12
# Debug Level
verb 3
# Tunnel check
keepalive 10 60
# Start as daemon
daemon testn2nn2n
writepid /var/run/testn2nn2n.pid
# Activate Management Interface and Port
management localhost 1196
# remsub 10.0.0.0/255.255.255.0
content /var/ipfire/ovpn/n2nconf/ testn2n.conf
after first import with error
# IPFire n2n Open VPN Client Config by ummeegge und m.a.d
#
# User Security
user nobody
group nobody
persist-tun
persist-key
script-security 2
# IP/DNS for remote Server Gateway
remote xxx.dydns.net
float
# IP adresses of the VPN Subnet
ifconfig 10.0.111.2 10.0.111.1
# Server Gateway Network
route 10.0.11.0 255.255.255.0
# tun Device
dev tun
#Logfile for statistics
status-version 1
status /var/run/openvpn/-n2n 10
# Port and Protokoll
port 1196
proto udp
# Paketsize
tun-mtu 1500
fragment 1300
mssfix
remote-cert-tls server
# Auth. Client
tls-client
# Cipher
cipher AES-256-GCM
pkcs12 /var/ipfire/ovpn/certs/testn2n.p12
# Debug Level
verb 3
# Tunnel check
keepalive 10 60
# Start as daemon
daemon testn2nn2n
writepid /var/run/testn2nn2n.pid
# Activate Management Interface and Port
management localhost 1196
# remsub 10.0.0.0/255.255.255.0
# Logfile
status-version 1
status /var/run/openvpn/testn2n-n2n 10
content /var/ipfire/ovpn/n2nconf/testn2n.conf
after add connect in WUI
add Net-to-Net Virtual Private Network
# IPFire rewritten n2n Open VPN Client Config by ummeegge und m.a.d
#
# User Security
user nobody
group nobody
persist-tun
persist-key
script-security 2
# IP/DNS for remote Server Gateway
remote xxx.dydns.net
float
# IP adresses of the VPN Subnet
ifconfig 10.0.111.2 10.0.111.1
# Server Gateway Network
route 10.0.11.0 255.255.255.0
up "/etc/init.d/static-routes start"
# tun Device
dev tun
#Logfile for statistics
status-version 1
status /var/run/openvpn/testn2n-n2n 10
# Port and Protokol
port 1196
proto udp
# Paketsize
tun-mtu 1500
fragment 1300
mssfix
remote-cert-tls server
# Auth. Client
tls-client
# Cipher
cipher AES-256-GCM
pkcs12 /var/ipfire/ovpn/certs/testn2n.p12
tls-version-min 1.2
# Debug Level
verb 3
# Tunnel check
keepalive 10 60
# Start as daemon
daemon testn2nn2n
writepid /var/run/testn2nn2n.pid
# Activate Management Interface and Port
management localhost 1196
Maybe someone will find a solution.