You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dev tun
persist-tun
persist-key
data-ciphers AES-128-CBC:AES-128-CFB:AES-128-CFB8:AES-128-CFB1:AES-128-OFB:AES-256-CBC
data-ciphers-fallback AES-256-CBC
auth SHA256
tls-client
client
resolv-retry infinite
remote myserver.net 55194 udp4
lport 0
ca MyCA-ca.crt
tls-auth MyCA-tls.key 1
remote-cert-tls server
compress
explicit-exit-notify
Imported it -- system settings / network / vpn / "+" button:
After this, the following settings were made:
Since I'll be using an username/password, I changed "type" to "password".
The "advanced" button gave me the following:
I'm not sure what "cyphers: default" would be -- I'm hoping it's the same as the ovpn file says it is. :-)
There were no changes in the "proxies" or "misc" windows.
I clicked the "save" button, then the "connect" button. See, both the username and password fields were left blank. After a while, this dialog popped up
asking for my credentials. Nowhere it asks for a username, just the password. So I did enter the password and hit OK, expecting it to ask for my username later on.
Instead it opened a similar dialog, this time asking for a password... again.
Hitting the OK button just opened the same window one more time. After some googling I tried to input both the username and the password in this dialog, using <username>\n<password> <username>\<password> <username><space><password> <quote><username><quote><space><quote><password><quote>
Nothing worked, the dialog kept bubbling up again and again, eventually the connecting process stopped with a fail message.
Syslog says
Mar 18 17:13:06 DaVinci NetworkManager[733]: <info> [1679170386.0104] vpn[0x55e3a649a360,dff4d33d-8ff2-47b1-91a6-302d8bb6eea2,"MyVpnConection"]: starting openvpn
Mar 18 17:13:06 DaVinci NetworkManager[733]: <info> [1679170386.0112] audit: op="connection-activate" uuid="dff4d33d-8ff2-47b1-91a6-302d8bb6eea2" name="MyVpnConection" pid=12318 uid=1000 result="success"
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: --cipher is not set. Previous OpenVPN version defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: OpenVPN 2.5.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 14 2022
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: UDPv4 link local: (not bound)
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: NOTE: chroot will be delayed because of --client, --pull, or --up-delay
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:13:06 DaVinci nm-openvpn[20274]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:13:07 DaVinci nm-openvpn[20274]: AUTH: Received control message: AUTH_FAILED
Mar 18 17:13:07 DaVinci nm-openvpn[20274]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:13:18 DaVinci nm-openvpn[20274]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:13:18 DaVinci nm-openvpn[20274]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:13:18 DaVinci nm-openvpn[20274]: UDPv4 link local: (not bound)
Mar 18 17:13:18 DaVinci nm-openvpn[20274]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:13:18 DaVinci nm-openvpn[20274]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:13:18 DaVinci nm-openvpn[20274]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:13:18 DaVinci nm-openvpn[20274]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:13:19 DaVinci nm-openvpn[20274]: AUTH: Received control message: AUTH_FAILED
Mar 18 17:13:19 DaVinci nm-openvpn[20274]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:13:32 DaVinci nm-openvpn[20274]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:13:32 DaVinci nm-openvpn[20274]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:13:32 DaVinci nm-openvpn[20274]: UDPv4 link local: (not bound)
Mar 18 17:13:32 DaVinci nm-openvpn[20274]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:13:32 DaVinci nm-openvpn[20274]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:13:32 DaVinci nm-openvpn[20274]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:13:32 DaVinci nm-openvpn[20274]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:13:33 DaVinci nm-openvpn[20274]: AUTH: Received control message: AUTH_FAILED
Mar 18 17:13:33 DaVinci nm-openvpn[20274]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:13:44 DaVinci nm-openvpn[20274]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:13:44 DaVinci nm-openvpn[20274]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:13:44 DaVinci nm-openvpn[20274]: UDPv4 link local: (not bound)
Mar 18 17:13:44 DaVinci nm-openvpn[20274]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:13:44 DaVinci nm-openvpn[20274]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:13:44 DaVinci nm-openvpn[20274]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:13:44 DaVinci nm-openvpn[20274]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:13:45 DaVinci nm-openvpn[20274]: AUTH: Received control message: AUTH_FAILED
Mar 18 17:13:45 DaVinci nm-openvpn[20274]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:13:59 DaVinci nm-openvpn[20274]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:13:59 DaVinci nm-openvpn[20274]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:13:59 DaVinci nm-openvpn[20274]: UDPv4 link local: (not bound)
Mar 18 17:13:59 DaVinci nm-openvpn[20274]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:14:00 DaVinci nm-openvpn[20274]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:14:00 DaVinci nm-openvpn[20274]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:14:00 DaVinci nm-openvpn[20274]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:14:01 DaVinci nm-openvpn[20274]: AUTH: Received control message: AUTH_FAILED
Mar 18 17:14:01 DaVinci nm-openvpn[20274]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:14:06 DaVinci NetworkManager[733]: <warn> [1679170446.3852] vpn[0x55e3a649a360,dff4d33d-8ff2-47b1-91a6-302d8bb6eea2,"MyVpnConection"]: connect timeout exceeded
Mar 18 17:14:06 DaVinci nm-openvpn[20274]: ERROR: could not read Auth username/password/ok/string from management interface
Mar 18 17:14:06 DaVinci nm-openvpn[20274]: Exiting due to fatal error
So, for round 2, the obvious choice: adding the username and the password to the dialog itself.
Unfortunately the behaviour was the same: the window asking for my password kept showing again and again. Syslog:
Mar 18 17:35:58 DaVinci NetworkManager[733]: <info> [1679171758.1943] vpn[0x55e3a649a5e0,dff4d33d-8ff2-47b1-91a6-302d8bb6eea2,"MyVpnConection"]: starting openvpn
Mar 18 17:35:58 DaVinci NetworkManager[733]: <info> [1679171758.1955] audit: op="connection-activate" uuid="dff4d33d-8ff2-47b1-91a6-302d8bb6eea2" name="MyVpnConection" pid=12318 uid=1000 result="success"
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: --cipher is not set. Previous OpenVPN version defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: OpenVPN 2.5.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 14 2022
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: UDPv4 link local: (not bound)
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: NOTE: chroot will be delayed because of --client, --pull, or --up-delay
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:35:58 DaVinci nm-openvpn[21439]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:35:59 DaVinci nm-openvpn[21439]: AUTH: Received control message: AUTH_FAILED,Data channel cipher negotiation failed (no shared cipher)
Mar 18 17:35:59 DaVinci nm-openvpn[21439]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: UDPv4 link local: (not bound)
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: AUTH: Received control message: AUTH_FAILED,Data channel cipher negotiation failed (no shared cipher)
Mar 18 17:36:11 DaVinci nm-openvpn[21439]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:36:19 DaVinci nm-openvpn[21439]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:36:19 DaVinci nm-openvpn[21439]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:36:19 DaVinci nm-openvpn[21439]: UDPv4 link local: (not bound)
Mar 18 17:36:19 DaVinci nm-openvpn[21439]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:36:20 DaVinci nm-openvpn[21439]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:36:20 DaVinci nm-openvpn[21439]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:36:20 DaVinci nm-openvpn[21439]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:36:20 DaVinci nm-openvpn[21439]: AUTH: Received control message: AUTH_FAILED,Data channel cipher negotiation failed (no shared cipher)
Mar 18 17:36:20 DaVinci nm-openvpn[21439]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:36:27 DaVinci nm-openvpn[21439]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:36:27 DaVinci nm-openvpn[21439]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:36:27 DaVinci nm-openvpn[21439]: UDPv4 link local: (not bound)
Mar 18 17:36:27 DaVinci nm-openvpn[21439]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:36:29 DaVinci nm-openvpn[21439]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:36:29 DaVinci nm-openvpn[21439]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:36:29 DaVinci nm-openvpn[21439]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:36:29 DaVinci nm-openvpn[21439]: AUTH: Received control message: AUTH_FAILED,Data channel cipher negotiation failed (no shared cipher)
Mar 18 17:36:29 DaVinci nm-openvpn[21439]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:36:35 DaVinci nm-openvpn[21439]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:36:35 DaVinci nm-openvpn[21439]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:36:35 DaVinci nm-openvpn[21439]: UDPv4 link local: (not bound)
Mar 18 17:36:35 DaVinci nm-openvpn[21439]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:36:36 DaVinci nm-openvpn[21439]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:36:36 DaVinci nm-openvpn[21439]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:36:36 DaVinci nm-openvpn[21439]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:36:36 DaVinci nm-openvpn[21439]: AUTH: Received control message: AUTH_FAILED,Data channel cipher negotiation failed (no shared cipher)
Mar 18 17:36:36 DaVinci nm-openvpn[21439]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:36:42 DaVinci nm-openvpn[21439]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:36:42 DaVinci nm-openvpn[21439]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:36:42 DaVinci nm-openvpn[21439]: UDPv4 link local: (not bound)
Mar 18 17:36:42 DaVinci nm-openvpn[21439]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:36:42 DaVinci nm-openvpn[21439]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:36:42 DaVinci nm-openvpn[21439]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:36:42 DaVinci nm-openvpn[21439]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:36:44 DaVinci nm-openvpn[21439]: AUTH: Received control message: AUTH_FAILED,Data channel cipher negotiation failed (no shared cipher)
Mar 18 17:36:44 DaVinci nm-openvpn[21439]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:36:50 DaVinci nm-openvpn[21439]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:36:50 DaVinci nm-openvpn[21439]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:36:50 DaVinci nm-openvpn[21439]: UDPv4 link local: (not bound)
Mar 18 17:36:50 DaVinci nm-openvpn[21439]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:36:50 DaVinci nm-openvpn[21439]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:36:50 DaVinci nm-openvpn[21439]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:36:50 DaVinci nm-openvpn[21439]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:36:51 DaVinci nm-openvpn[21439]: AUTH: Received control message: AUTH_FAILED,Data channel cipher negotiation failed (no shared cipher)
Mar 18 17:36:51 DaVinci nm-openvpn[21439]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:36:57 DaVinci nm-openvpn[21439]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar 18 17:36:57 DaVinci nm-openvpn[21439]: TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
Mar 18 17:36:57 DaVinci nm-openvpn[21439]: UDPv4 link local: (not bound)
Mar 18 17:36:57 DaVinci nm-openvpn[21439]: UDPv4 link remote: [AF_INET]<server address>:55194
Mar 18 17:36:57 DaVinci nm-openvpn[21439]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
Mar 18 17:36:57 DaVinci nm-openvpn[21439]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
Mar 18 17:36:57 DaVinci nm-openvpn[21439]: [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
Mar 18 17:36:58 DaVinci nm-openvpn[21439]: AUTH: Received control message: AUTH_FAILED,Data channel cipher negotiation failed (no shared cipher)
Mar 18 17:36:58 DaVinci nm-openvpn[21439]: SIGUSR1[soft,auth-failure] received, process restarting
Mar 18 17:36:58 DaVinci NetworkManager[733]: <warn> [1679171818.3840] vpn[0x55e3a649a5e0,dff4d33d-8ff2-47b1-91a6-302d8bb6eea2,"MyVpnConection"]: connect timeout exceeded
Mar 18 17:36:58 DaVinci nm-openvpn[21439]: SIGTERM[hard,init_instance] received, process exiting
So, no matter what I try, I can't connect to the VPN.
Also, those warnings and notes in the syslog NOTE: the current --script-security setting may allow this configuration to call user-defined scripts NOTE: chroot will be delayed because of --client, --pull, or --up-delay NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570' WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
are quite curious.
By the way, opening the ovpn file in the command line works as expected:
christian@DaVinci$ sudo openvpn --config MyVpnConection.ovpn
[sudo] senha para christian:
2023-03-18 18:03:31 OpenVPN 2.5.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 14 2022
2023-03-18 18:03:31 library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
Enter Auth Username: myusername
🔐 Enter Auth Password: ****************
2023-03-18 18:03:57 TCP/UDP: Preserving recently used remote address: [AF_INET]<server address>:55194
2023-03-18 18:03:57 UDPv4 link local (bound): [AF_INET][undef]:0
2023-03-18 18:03:57 UDPv4 link remote: [AF_INET]<server address>:55194
2023-03-18 18:03:57 [OpenVPN-Site-to-Client] Peer Connection Initiated with [AF_INET]<server address>:55194
2023-03-18 18:03:57 TUN/TAP device tun0 opened
2023-03-18 18:03:57 net_iface_mtu_set: mtu 1500 for tun0
2023-03-18 18:03:57 net_iface_up: set tun0 up
2023-03-18 18:03:57 net_addr_v4_add: <local ip>/24 dev tun0
2023-03-18 18:03:57 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2023-03-18 18:03:57 Initialization Sequence Completed
^C
2023-03-18 18:04:19 event_wait : Interrupted system call (code=4)
2023-03-18 18:04:19 SIGTERM received, sending exit notification to peer
2023-03-18 18:04:20 net_addr_v4_del: <local ip> dev tun0
2023-03-18 18:04:20 SIGTERM[soft,exit-with-notification] received, process exiting
Steps to Reproduce
above
Expected Behavior
working vpn ;-)
OS Version
7.x (Horus)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered:
What Happened?
I have an ovpn file with the following content:
Imported it -- system settings / network / vpn / "+" button:
After this, the following settings were made:
Since I'll be using an username/password, I changed "type" to "password".
The "advanced" button gave me the following:
I'm not sure what "cyphers: default" would be -- I'm hoping it's the same as the ovpn file says it is. :-)
There were no changes in the "proxies" or "misc" windows.
I clicked the "save" button, then the "connect" button. See, both the username and password fields were left blank. After a while, this dialog popped up
asking for my credentials. Nowhere it asks for a username, just the password. So I did enter the password and hit OK, expecting it to ask for my username later on.
Instead it opened a similar dialog, this time asking for a password... again.
Hitting the OK button just opened the same window one more time. After some googling I tried to input both the username and the password in this dialog, using
<username>\n<password>
<username>\<password>
<username><space><password>
<quote><username><quote><space><quote><password><quote>
Nothing worked, the dialog kept bubbling up again and again, eventually the connecting process stopped with a fail message.
Syslog says
So, for round 2, the obvious choice: adding the username and the password to the dialog itself.
Unfortunately the behaviour was the same: the window asking for my password kept showing again and again. Syslog:
So, no matter what I try, I can't connect to the VPN.
Also, those warnings and notes in the syslog
NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
NOTE: chroot will be delayed because of --client, --pull, or --up-delay
NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1554', remote='link-mtu 1570'
WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
are quite curious.
By the way, opening the ovpn file in the command line works as expected:
Steps to Reproduce
above
Expected Behavior
working vpn ;-)
OS Version
7.x (Horus)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered: