Skip to content
Cannot allocate TUN/TAP dev dynamically / Mojave / Viscosity 1.9.1
Got a problem with Viscosity or need help? Ask here!
Hi!
I am trying to connect via vpn from Mac OS X Mojave with Viscosity 1.9.1 and get the message
"Cannot allocate TUN/TAP dev dynamically"
The Logs says:
2021-02-10 13:48:36: ---------
2021-02-10 13:48:36: State changed to Connecting
2021-02-10 13:48:36: Checking reachability status of connection...
2021-02-10 13:48:36: Connection is reachable. Starting connection attempt.
2021-02-10 13:48:36: Unrecognized option or missing or extra parameter(s) in config.conf:18: block-outside-dns (2.4.10)
2021-02-10 13:48:36: OpenVPN 2.4.10 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [MH/RECVDA] [AEAD] built on Jan 18 2021
2021-02-10 13:48:36: library versions: OpenSSL 1.1.1i 8 Dec 2020, LZO 2.10
2021-02-10 13:48:50: Valid endpoint found: XXX.XXX.XXX.XXXudp
2021-02-10 13:48:50: TCP/UDP: Preserving recently used remote address: [AF_INET]XXX.XXX.XXX.XXX:1194
2021-02-10 13:48:50: UDP link local (bound): [AF_INET][undef]:0
2021-02-10 13:48:50: UDP link remote: [AF_INET]XXX.XXX.XXX.XXX:1194
2021-02-10 13:48:50: State changed to Authenticating
2021-02-10 13:48:50: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1581', remote='link-mtu 1582'
2021-02-10 13:48:50: WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2021-02-10 13:48:50: [Domainname] Peer Connection Initiated with [AF_INET]XXX.XXX.XXX.XXX:1194
2021-02-10 13:48:51: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:4: block-outside-dns (2.4.10)
2021-02-10 13:48:52: Cannot allocate TUN/TAP dev dynamically
2021-02-10 13:48:52: Wed Feb 10 13:48:52 2021 Exiting due to fatal error
2021-02-10 13:48:52: State changed to getrennt (Process Terminated)
Any ideas on how to fix? I reinstalled many times, I deactivated the mac os x security. Nothing helped.
kind regards,
steve
I am trying to connect via vpn from Mac OS X Mojave with Viscosity 1.9.1 and get the message
"Cannot allocate TUN/TAP dev dynamically"
The Logs says:
2021-02-10 13:48:36: ---------
2021-02-10 13:48:36: State changed to Connecting
2021-02-10 13:48:36: Checking reachability status of connection...
2021-02-10 13:48:36: Connection is reachable. Starting connection attempt.
2021-02-10 13:48:36: Unrecognized option or missing or extra parameter(s) in config.conf:18: block-outside-dns (2.4.10)
2021-02-10 13:48:36: OpenVPN 2.4.10 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [MH/RECVDA] [AEAD] built on Jan 18 2021
2021-02-10 13:48:36: library versions: OpenSSL 1.1.1i 8 Dec 2020, LZO 2.10
2021-02-10 13:48:50: Valid endpoint found: XXX.XXX.XXX.XXXudp
2021-02-10 13:48:50: TCP/UDP: Preserving recently used remote address: [AF_INET]XXX.XXX.XXX.XXX:1194
2021-02-10 13:48:50: UDP link local (bound): [AF_INET][undef]:0
2021-02-10 13:48:50: UDP link remote: [AF_INET]XXX.XXX.XXX.XXX:1194
2021-02-10 13:48:50: State changed to Authenticating
2021-02-10 13:48:50: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1581', remote='link-mtu 1582'
2021-02-10 13:48:50: WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2021-02-10 13:48:50: [Domainname] Peer Connection Initiated with [AF_INET]XXX.XXX.XXX.XXX:1194
2021-02-10 13:48:51: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:4: block-outside-dns (2.4.10)
2021-02-10 13:48:52: Cannot allocate TUN/TAP dev dynamically
2021-02-10 13:48:52: Wed Feb 10 13:48:52 2021 Exiting due to fatal error
2021-02-10 13:48:52: State changed to getrennt (Process Terminated)
Any ideas on how to fix? I reinstalled many times, I deactivated the mac os x security. Nothing helped.
kind regards,
steve
Hi Steve,
The "Cannot allocate TUN/TAP dev dynamically" message is misleading, the important message in the log is:
Try adding the command "ignore-unknown-option" (without the quotes) to the Advanced commands section for your connection and then try connecting again:
https://www.sparklabs.com/support/kb/ar ... n-commands
Cheers,
James
The "Cannot allocate TUN/TAP dev dynamically" message is misleading, the important message in the log is:
Code: Select all
It appears the OpenVPN server is pushing the "block-outside-dns" command, which is a Windows-only command.2021-02-10 13:48:51: Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:4: block-outside-dns (2.4.10)
Try adding the command "ignore-unknown-option" (without the quotes) to the Advanced commands section for your connection and then try connecting again:
https://www.sparklabs.com/support/kb/ar ... n-commands
Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
3 posts
Page 1 of 1