Hello,
When I try to connect to my home network VPN I am getting the following error message after the VPN client connects to the VPN server:
"Tun device open exception: java.lang.IllegalArgumentException: At least one address must be specified
ERROR: Cannot open TUN/TAP dev /dev/net/tun
Exiting due to fatal error"
Note that this occurs when the client status changes to "Connecting: Get config".
I am using OpenVPN Client version 2.15.04. Please let me know if you have any recommendations.
Tun device open exception: java.lang.IllegalArgumentException: At least one address must be specified
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Aug 04, 2016 1:42 pm
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Tun device open exception: java.lang.IllegalArgumentException: At least one address must be specified
Please post your server log @ verb 4 showing the connection attempt and your client log.
Check that your server is pushing an IP address for the client ..
Check that your server is pushing an IP address for the client ..
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Aug 04, 2016 1:42 pm
Re: Tun device open exception: java.lang.IllegalArgumentException: At least one address must be specified
I've modified the log slightly so as not to reveal my public IP address.
"OpenVPN Client google release 2.15.04 (1021504)
OpenVPN 2.3.11 android-armeabi [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Jul 8 2016
library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
UDPv4 link local (bound): [undef]
UDPv4 link remote: [AF_INET]XXX.XXX.XXX.XXX:XXXXX [netgear]
Peer Connection Initiated with [AF_INET]XXX.XXX.XXX.XXX:XXXXX
Tun device open exception: java.lang.IllegalArgumentException: At least one address must be specified
ERROR: Cannot open TUN/TAP dev /dev/net/tun
Exiting due to fatal error"
"OpenVPN Client google release 2.15.04 (1021504)
OpenVPN 2.3.11 android-armeabi [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Jul 8 2016
library versions: OpenSSL 1.0.2h 3 May 2016, LZO 2.09
WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
UDPv4 link local (bound): [undef]
UDPv4 link remote: [AF_INET]XXX.XXX.XXX.XXX:XXXXX [netgear]
Peer Connection Initiated with [AF_INET]XXX.XXX.XXX.XXX:XXXXX
Tun device open exception: java.lang.IllegalArgumentException: At least one address must be specified
ERROR: Cannot open TUN/TAP dev /dev/net/tun
Exiting due to fatal error"
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Aug 04, 2016 1:42 pm
Re: Tun device open exception: java.lang.IllegalArgumentException: At least one address must be specified
That was the client log.
Here is the server log on a fresh attempt I just did that yielded the same error message as the original post:
[OpenVPN, connection successfully] from remote IP address: XXX.XXX.XXX.XXX, Thursday, August 04, 2016 06:51:16
Here is the server log on a fresh attempt I just did that yielded the same error message as the original post:
[OpenVPN, connection successfully] from remote IP address: XXX.XXX.XXX.XXX, Thursday, August 04, 2016 06:51:16
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Aug 04, 2016 1:42 pm
Re: Tun device open exception: java.lang.IllegalArgumentException: At least one address must be specified
I finally figured this out. I found a blog where someone noted that this model router (Netgear Nighthawk AC1900) does not support TUN. I found the "Use TAP device" option in the paid version of the Open VPN client and it connected successfully with no exception and maintained the connection.