Closed filippocarletti closed 6 years ago
OpenVPN tunnels configured to use the TCP protocol go back to using UDP when the configuration database is initialized.
Steps to reproduce
Expected behavior
Protocol should remain TCP
[root@rc3 ~]# rpm -qf /etc/e-smith/db/vpn/migrate/5313.ns7 nethserver-openvpn-1.6.7-1.ns7.noarch
Details:
[root@rc3 ~]# db vpn show ovt1=openvpn-tunnel-server Cipher= Compression=enabled LocalNetworks=192.168.56.0/24 Network=10.191.157.0/24 Port=1274 Protocol=tcp-server PublicAddresses=2.237.88.6 Topology=subnet status=enabled [root@rc3 ~]# /etc/e-smith/events/actions/initialize-default-databases Migrating existing database configuration ... Migrating existing database vpn [root@rc3 ~]# db vpn show ovt1=openvpn-tunnel-server Cipher= Compression=enabled LocalNetworks=192.168.56.0/24 Network=10.191.157.0/24 Port=1274 Protocol=udp PublicAddresses=2.237.88.6 Topology=subnet status=enabled
in 7.4.1708/testing:
7.4.1708/testing
Updated: nethserver-openvpn.noarch 0:1.6.7-1.2.gc9c940b.ns7
Complete! [root@ns7 ~]# db vpn show | grep Protocol Protocol=tcp-server
in 7.4.1708/updates:
7.4.1708/updates
OpenVPN tunnels configured to use the TCP protocol go back to using UDP when the configuration database is initialized.
Steps to reproduce
Expected behavior
Protocol should remain TCP
Details: