Page 1 of 1

TUN Error: ifconfig or ifconfig-ipv6 must be specified

Posted: Mon Sep 29, 2014 12:21 pm
by axtrim
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?

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

Posted: Mon Sep 29, 2014 12:31 pm
by Traffic
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

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

Posted: Mon Sep 29, 2014 1:21 pm
by axtrim
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?

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

Posted: Wed Oct 01, 2014 10:44 am
by Traffic
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

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

Posted: Wed Apr 01, 2015 1:46 pm
by yoniskater
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.

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

Posted: Mon Dec 28, 2015 6:54 pm
by Traffic
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)