Cannot allocate TUN/TAP dev dynamically / Mojave / Viscosity 1.9.1

Got a problem with Viscosity or need help? Ask here!

stevebob

Posts: 2
Joined: Wed Feb 10, 2021 11:40 pm

Post by stevebob » Thu Feb 11, 2021 12:07 am
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.XXX:1194:udp
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

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Thu Feb 11, 2021 8:13 pm
Hi Steve,

The "Cannot allocate TUN/TAP dev dynamically" message is misleading, the important message in the log is:
Code: Select all
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)
It appears the OpenVPN server is pushing the "block-outside-dns" command, which is a Windows-only command.

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

stevebob

Posts: 2
Joined: Wed Feb 10, 2021 11:40 pm

Post by stevebob » Thu Feb 11, 2021 10:32 pm
Hi James,

thank you for your reply. Unfortunately, the user (in den homeoffice) did an update to Mac OS X Catalina this night and since then it worked, that is why i cannot test your solution.

Thank you for your support.

Kind regards,

Steve
3 posts Page 1 of 1