having trouble with ERROR: --dev tun also requires --ifconfi

All comments and questions related to the functionality of the OpenVPN web pages and forum should go here.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
dudeman10
OpenVpn Newbie
Posts: 1
Joined: Sun May 20, 2012 7:25 am

having trouble with ERROR: --dev tun also requires --ifconfi

Post by dudeman10 » Fri May 25, 2012 8:16 pm

If you could please help it would be much appreciated. Here is the log I *'d out my ip for anonymous purposes:
Fri May 25 15:09:26 2012 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Dec 15 2011
Fri May 25 15:09:31 2012 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Fri May 25 15:09:31 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri May 25 15:09:32 2012 Control Channel MTU parms [ L:1543 D:140 EF:40 EB:0 ET:0 EL:0 ]
Fri May 25 15:09:32 2012 Socket Buffers: R=[8192->8192] S=[8192->8192]
Fri May 25 15:09:32 2012 RESOLVE: NOTE: vpn.btguard.com resolves to 3 addresses
Fri May 25 15:09:32 2012 Data Channel MTU parms [ L:1543 D:1450 EF:43 EB:4 ET:0 EL:0 ]
Fri May 25 15:09:32 2012 Local Options hash (VER=V4): 'db02a8f8'
Fri May 25 15:09:32 2012 Expected Remote Options hash (VER=V4): '7e068940'
Fri May 25 15:09:32 2012 Attempting to establish TCP connection with 95.211.149.152:1194
Fri May 25 15:09:32 2012 TCP connection established with 95.211.149.152:1194
Fri May 25 15:09:32 2012 TCPv4_CLIENT link local: [undef]
Fri May 25 15:09:32 2012 TCPv4_CLIENT link remote: 95.211.149.152:1194
Fri May 25 15:09:32 2012 TLS: Initial packet from 95.211.149.152:1194, sid=88433c01 6fa8e75f
Fri May 25 15:09:32 2012 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri May 25 15:09:34 2012 VERIFY OK: depth=1, /C=DE/ST=Hesse-Nassau/L=Frankfurt/O=BTGuard/CN=BTGuard_CA/emailAddress=support@btguard.com
Fri May 25 15:09:34 2012 VERIFY OK: depth=0, /C=DE/ST=Hesse-Nassau/L=Frankfurt/O=BTGuard/CN=server/emailAddress=support@btguard.com
Fri May 25 15:09:35 2012 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri May 25 15:09:35 2012 NOTE: --mute triggered...
Fri May 25 15:09:35 2012 4 variation(s) on previous 3 message(s) suppressed by --mute
Fri May 25 15:09:35 2012 [server] Peer Connection Initiated with 95.211.149.152:1194
Fri May 25 15:09:38 2012 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Fri May 25 15:09:38 2012 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 8.8.8.8,redirect-gateway,route 10.10.0.1,topology net30,ping 20,ping-restart 240'
Fri May 25 15:09:38 2012 OPTIONS IMPORT: timers and/or timeouts modified
Fri May 25 15:09:38 2012 NOTE: --mute triggered...
Fri May 25 15:09:38 2012 3 variation(s) on previous 3 message(s) suppressed by --mute
Fri May 25 15:09:38 2012 ROUTE default_gateway=***.***.*.*
Fri May 25 15:09:38 2012 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
Fri May 25 15:09:38 2012 OpenVPN ROUTE: failed to parse/resolve route for host/network: 10.10.0.1
Fri May 25 15:09:38 2012 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{FB3FDF0B-F91E-4662-9CB2-FB3C2B521E7A}.tap
Fri May 25 15:09:38 2012 TAP-Win32 Driver Version 9.9
Fri May 25 15:09:38 2012 TAP-Win32 MTU=1500
Fri May 25 15:09:38 2012 ERROR: --dev tun also requires --ifconfig
Fri May 25 15:09:38 2012 Exiting

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: having trouble with ERROR: --dev tun also requires --ifc

Post by janjust » Fri May 25, 2012 9:04 pm

check the server config and log - the server should have pushed an IP address from its pool of client IP addresses to the client, but it did not do so (this can be seen from the PUSH_REPLY msg)

Post Reply