[Internal testing communication] OpenVPN not connecting at boot
Tofloor
poster avatar
a***o@it-talent.mx
deepin
7 hours ago
Author

Hi,

After restarting Deepin 25.0.9 OpenVPN would not connect. If I manually connect again it works. If I try to edit the VPN connection it asks me again for the vpn password. It seems it is not storing it. This is the journal error:

Oct 30 13:10:15 heaven-beyond nm-openvpn[157031]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 30 13:10:15 heaven-beyond nm-openvpn[157031]: TCP/UDP: Preserving recently used remote address: [AF_INET]145.223.7.18:1194
Oct 30 13:10:15 heaven-beyond nm-openvpn[157031]: UDPv4 link local: (not bound)
Oct 30 13:10:15 heaven-beyond nm-openvpn[157031]: UDPv4 link remote: [AF_INET]145.223.7.18:1194
Oct 30 13:10:15 heaven-beyond nm-openvpn[157031]: [us-oma-v006.prod.surfshark.com] Peer Connection Initiated with [AF_INET]145.223.7.18:1194
Oct 30 13:10:17 heaven-beyond nm-openvpn[157031]: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:7: block-outside-dns (2.6.14)
Oct 30 13:10:17 heaven-beyond nm-openvpn[157031]: Preserving previous TUN/TAP instance: tun1
Oct 30 13:10:17 heaven-beyond nm-openvpn[157031]: /usr/libexec/nm-openvpn-service-openvpn-helper --debug 0 157026 --bus-name org.freedesktop.NetworkManager.openvpn.Connection_12 --tun -- tun1 1500 0 10.8.8.6 255.255.255.0 restart
Oct 30 13:10:17 heaven-beyond dbus-daemon[886]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.1776" (uid=110 pid=159292 comm="/usr/libexec/nm-openvpn-service-openvpn-helper --d") interface="org.freedesktop.NetworkManager.VPN.Plugin" member="SetConfig" error name="(unset)" requested_reply="0" destination=":1.1738" (uid=0 pid=157026 comm="/usr/libexec/nm-openvpn-service --bus-name org.fre")
Oct 30 13:10:17 heaven-beyond dbus-daemon[886]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.1776" (uid=110 pid=159292 comm="/usr/libexec/nm-openvpn-service-openvpn-helper --d") interface="org.freedesktop.NetworkManager.VPN.Plugin" member="SetIp4Config" error name="(unset)" requested_reply="0" destination=":1.1738" (uid=0 pid=157026 comm="/usr/libexec/nm-openvpn-service --bus-name org.fre")
Oct 30 13:10:17 heaven-beyond nm-openvpn[157031]: NOTE: Pulled options changed on restart, will need to close and reopen TUN/TAP device.
Oct 30 13:10:17 heaven-beyond deepin-service-manager[956]: 2025-10-30, 13:10:17.103 [Warning] [networkthread.cpp network::systemservice::NetworkThread::onDeviceRemoved 149] sender is not Device
Oct 30 13:10:17 heaven-beyond deepin-service-manager[956]: sender is not Device
Oct 30 13:10:17 heaven-beyond dde-application-manager[3717]: couldn't find app "sys-devices-virtual-net-tun1" in application manager.
Oct 30 13:10:17 heaven-beyond dde-application-manager[3717]: couldn't find app "sys-subsystem-net-devices-tun1" in application manager.
Oct 30 13:10:18 heaven-beyond nm-openvpn[157031]: TUN/TAP device tun1 opened
Oct 30 13:10:18 heaven-beyond nm-openvpn[157031]: /usr/libexec/nm-openvpn-service-openvpn-helper --debug 0 157026 --bus-name org.freedesktop.NetworkManager.openvpn.Connection_12 --tun -- tun1 1500 0 10.8.8.4 255.255.255.0 init
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 2025-10-30, 13:10:18.124 [Warning] [networkenabledconfig.cpp network::systemservice::NetworkEnabledConfig::deviceEnabled 41] 41 QMap(("Devices", QVariant(QMap, QMap(("tun0", false)("wlp0s20f3", false))))("VpnEnabled", QVariant(bool, true)))
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 2025-10-30, 13:10:18.124 [Warning] [networkenabledconfig.cpp network::systemservice::NetworkEnabledConfig::setDeviceEnabled 47] 47 setDeviceEnabled "tun1" true
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 2025-10-30, 13:10:18.125 [Warning] [networkenabledconfig.cpp network::systemservice::NetworkEnabledConfig::setDeviceEnabled 49] 49 setDeviceEnabled "tun1" true QMap(("tun0", false)("wlp0s20f3", false))
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 2025-10-30, 13:10:18.125 [Warning] [networkenabledconfig.cpp network::systemservice::NetworkEnabledConfig::setDeviceEnabled 50] 50 setDeviceEnabled true false
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 2025-10-30, 13:10:18.125 [Warning] [networkenabledconfig.cpp network::systemservice::NetworkEnabledConfig::saveConfig 106] 106 QMap(("Devices", QVariant(QMap, QMap(("tun0", false)("wlp0s20f3", false))))("VpnEnabled", QVariant(bool, true))) "{"Devices":{"tun0":{"Enabled":false},"wlp0s20f3":{"Enabled":false}},"VpnEnabled":true}"
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 41 QMap(("Devices", QVariant(QMap, QMap(("tun0", false)("wlp0s20f3", false))))("VpnEnabled", QVariant(bool, true)))
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 47 setDeviceEnabled "tun1" true
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 49 setDeviceEnabled "tun1" true QMap(("tun0", false)("wlp0s20f3", false))
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 50 setDeviceEnabled true false
Oct 30 13:10:18 heaven-beyond deepin-service-manager[956]: 106 QMap(("Devices", QVariant(QMap, QMap(("tun0", false)("wlp0s20f3", false))))("VpnEnabled", QVariant(bool, true))) "{"Devices":{"tun0":{"Enabled":false},"wlp0s20f3":{"Enabled":false}},"VpnEnabled":true}"
Oct 30 13:10:18 heaven-beyond dbus-daemon[886]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.1777" (uid=110 pid=159302 comm="/usr/libexec/nm-openvpn-service-openvpn-helper --d") interface="org.freedesktop.NetworkManager.VPN.Plugin" member="SetConfig" error name="(unset)" requested_reply="0" destination=":1.1738" (uid=0 pid=157026 comm="/usr/libexec/nm-openvpn-service --bus-name org.fre")
Oct 30 13:10:18 heaven-beyond dbus-daemon[886]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.1777" (uid=110 pid=159302 comm="/usr/libexec/nm-openvpn-service-openvpn-helper --d") interface="org.freedesktop.NetworkManager.VPN.Plugin" member="SetIp4Config" error name="(unset)" requested_reply="0" destination=":1.1738" (uid=0 pid=157026 comm="/usr/libexec/nm-openvpn-service --bus-name org.fre")
Oct 30 13:10:18 heaven-beyond dde-application-manager[3717]: couldn't find app "sys-devices-virtual-net-tun1" in application manager.
Oct 30 13:10:18 heaven-beyond dde-application-manager[3717]: couldn't find app "sys-subsystem-net-devices-tun1" in application manager.
Oct 30 13:10:18 heaven-beyond nm-openvpn[157031]: Initialization Sequence Completed

Reply Favorite View the author
All Replies

No replies yet