nico.1976 hello to everybody, i'm trying to connect iPhone to VPN server through OpenVPN application but without any success. I attached ovpn file and logs. some one can help me? client.ovpn: client dev tun proto udp remote 192.168.1.9 1194 resolv-retry infinite nobind persist-key persist-tun <ca> -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- </ca> auth-user-pass comp-lzo verb 3 log 2016-02-28 15:32:32 ----- OpenVPN Start ----- OpenVPN core 3.0 ios armv7a thumb2 32-bit 2016-02-28 15:32:32 UNUSED OPTIONS 4 [resolv-retry] [infinite] 5 [nobind] 6 [persist-key] 7 [persist-tun] 11 [verb] [3] 2016-02-28 15:32:32 LZO-ASYM init swap=0 asym=0 2016-02-28 15:32:32 EVENT: RESOLVE 2016-02-28 15:32:32 Contacting 192.168.1.9:1194 via UDP 2016-02-28 15:32:32 EVENT: WAIT 2016-02-28 15:32:32 SetTunnelSocket returned 1 2016-02-28 15:32:32 Connecting to 192.168.1.9:1194 (192.168.1.9) via UDPv4 2016-02-28 15:32:32 EVENT: CONNECTING 2016-02-28 15:32:32 Tunnel Options:V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client 2016-02-28 15:32:32 Creds: Username/Password 2016-02-28 15:32:32 Peer Info: IV_GUI_VER=net.openvpn.connect.ios 1.0.5-177 IV_VER=3.0 IV_PLAT=ios IV_NCP=1 IV_LZO=1 2016-02-28 15:32:32 VERIFY OK: depth=1 cert. version : 3 serial number : 00 issuer name : C=IT, O=efw, CN=efw CA subject name : C=IT, O=efw, CN=efw CA issued on : 2016-02-23 19:56:51 expires on : 2032-01-04 10:31:31 signed using : RSA with MD5 RSA key size : 2048 bits basic constraints : CA=true 2016-02-28 15:32:32 VERIFY OK: depth=0 cert. version : 3 serial number : 00 issuer name : C=IT, O=efw, CN=efw CA subject name : C=IT, O=efw, CN=127.0.0.1 issued on : 2016-02-23 19:56:51 expires on : 2032-01-04 10:31:31 signed using : RSA with SHA1 RSA key size : 1024 bits basic constraints : CA=false 2016-02-28 15:32:33 SSL Handshake: TLSv1.0/TLS-DHE-RSA-WITH-AES-256-CBC-SHA 2016-02-28 15:32:33 Session is ACTIVE 2016-02-28 15:32:33 EVENT: GET_CONFIG 2016-02-28 15:32:33 Sending PUSH_REQUEST to server... 2016-02-28 15:32:34 OPTIONS: 0 [route-gateway] [192.168.20.1] 1 [ping] [8] 2 [ping-restart] [30] 3 [ifconfig] [192.168.20.2] [255.255.255.252] 2016-02-28 15:32:34 LZO-ASYM init swap=0 asym=0 2016-02-28 15:32:34 EVENT: ASSIGN_IP 2016-02-28 15:32:34 TUN Error: tun_prop_error: ifconfig addresses are not in the same /30 subnet (topology net30) 2016-02-28 15:32:34 EVENT: TUN_SETUP_FAILED tun_prop_error: ifconfig addresses are not in the same /30 subnet (topology net30) [ERR] [/b]2016-02-28 15:32:34 EVENT: DISCONNECTED 2016-02-28 15:32:34 Raw stats on disconnect: BYTES_IN : 3107 BYTES_OUT : 1384 PACKETS_IN : 31 PACKETS_OUT : 31 TUN_SETUP_FAILED : 1 2016-02-28 15:32:34 Performance stats on disconnect: CPU usage (microseconds): 138989 Network bytes per CPU second: 32311 Tunnel bytes per CPU second: 0 2016-02-28 15:32:34 EVENT: DISCONNECT_PENDING 2016-02-28 15:32:34 ----- OpenVPN Stop -----
Traffic nico.1976 wroteerror: ifconfig addresses are not in the same /30 subnet (topology net30)Your server is probably pushing the wrong ifconfig parameters.
chriscde Same problem here... on Macbook, the configuration works totally fine, but on Iphone i get this error: 2017-03-07 11:20:08 EVENT: ASSIGN_IP 2017-03-07 11:20:08 TUN Error: tun_prop_error: ifconfig addresses are not in the same /30 subnet (topology net30) 2017-03-07 11:20:08 EVENT: TUN_SETUP_FAILED tun_prop_error: ifconfig addresses are not in the same /30 subnet (topology net30) [ERR] 2017-03-07 11:20:08 EVENT: DISCONNECTED 2017-03-07 11:20:08 Client exception in transport_recv: tun_exception: not connected 2017-03-07 11:20:08 Raw stats on disconnect: BYTES_IN : 4163 BYTES_OUT : 3420 PACKETS_IN : 41 PACKETS_OUT : 41 TUN_SETUP_FAILED : 1 2017-03-07 11:20:08 Performance stats on disconnect: CPU usage (microseconds): 214557 Network bytes per CPU second: 35342 Tunnel bytes per CPU second: 0 2017-03-07 11:20:08 EVENT: DISCONNECT_PENDING 2017-03-07 11:20:08 ----- OpenVPN Stop —— So, i don't think is from Server Configuration...
TinCanTech chriscde wrote[/b]2017-03-07 11:20:08 EVENT: TUN_SETUP_FAILED tun_prop_error: ifconfig addresses are not in the same /30 subnet (topology net30) [ERR] 2017-03-07 11:20:08 EVENT: DISCONNECTEDchriscde wroteSo, i don't think is from Server Configuration...ifconfig addresses are normally received from the server ..