TUN Error: ifconfig or ifconfig-ipv6 must be specified

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
axtrim
OpenVpn Newbie
Posts: 2
Joined: Mon Sep 29, 2014 12:13 pm

TUN Error: ifconfig or ifconfig-ipv6 must be specified

Post by axtrim » Mon Sep 29, 2014 12:21 pm

Hi,

I have a problem connecting with OpenvpnConnect to my Linux Openvpn Server. The Log says "tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified"

Code: Select all

2014-09-29 14:15:55 LZO-ASYM init swap=0 asym=0
2014-09-29 14:15:55 EVENT: ASSIGN_IP
2014-09-29 14:15:55 TUN Error: tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified
2014-09-29 14:15:55 EVENT: TUN_SETUP_FAILED tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified [ERR]
2014-09-29 14:15:55 EVENT: DISCONNECTED
2014-09-29 14:15:55 Raw stats on disconnect:
  BYTES_IN : 3166
  BYTES_OUT : 2283
  PACKETS_IN : 31
  PACKETS_OUT : 31
  TUN_SETUP_FAILED : 1
2014-09-29 14:15:55 Performance stats on disconnect:
  CPU usage (microseconds): 48966
  Network bytes per CPU second: 111281
  Tunnel bytes per CPU second: 0
2014-09-29 14:15:55 EVENT: DISCONNECT_PENDING
2014-09-29 14:15:55 ----- OpenVPN Stop -----
What does that mean? Can someone please help me?
Last edited by debbie10t on Mon Sep 29, 2014 12:27 pm, edited 1 time in total.
Reason: Title clarity

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: TUN Error: ifconfig or ifconfig-ipv6 must be specified

Post by Traffic » Mon Sep 29, 2014 12:31 pm

axtrim wrote:ifconfig or ifconfig-ipv6 must be specified
this is self explanatory .. you must specify either ifconfig or ifconfig-ipv6 in either your server and push it to your client on connection, or specify it in your server and client directly.

See --ifconfig in The Manual v23x

axtrim
OpenVpn Newbie
Posts: 2
Joined: Mon Sep 29, 2014 12:13 pm

Re: TUN Error: ifconfig or ifconfig-ipv6 must be specified

Post by axtrim » Mon Sep 29, 2014 1:21 pm

Hi traffic,

thanks for your reply. But I think it is not that simple.

My server.conf says:

Code: Select all

ifconfig 10.1.0.1 10.1.0.2
ifconfig-pool 10.1.0.4 10.1.0.100
Should there be more?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: TUN Error: ifconfig or ifconfig-ipv6 must be specified

Post by Traffic » Wed Oct 01, 2014 10:44 am

axtrim wrote:My server.conf says:
the problem is in your client ..

you are not specifying any ip details for your client.
axtrim wrote:Should there be more?
Yes .. use --server in your server config.

See --server in The Manual v23x

yoniskater
OpenVpn Newbie
Posts: 1
Joined: Wed Apr 01, 2015 1:41 pm

Re: TUN Error: ifconfig or ifconfig-ipv6 must be specified

Post by yoniskater » Wed Apr 01, 2015 1:46 pm

Hello, did you fix it ??? ..

well, I have the same problem.. yesterday I was on it all the day :/ ..

look a picture about the problem .. http://i.is.cc/2ewCrsYV.jpg

it happens in all devices .. ios .. android. And another data: when I reboot the sv I can connect on it well .. but after a few minutes I get the same error... I have lots of users maybe the server doesn't have more ips for them? ....

Thanks for reading.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: TUN Error: ifconfig or ifconfig-ipv6 must be specified

Post by Traffic » Mon Dec 28, 2015 6:54 pm

yoniskater wrote: I have lots of users maybe the server doesn't have more ips for them?
May be .. please post your server config and log (at verb 4)

Post Reply