D
D
disel13372016-07-22 23:41:45
openvpn
disel1337, 2016-07-22 23:41:45

Openvpn doesn't change ip?

Krch do not change my ip to the server one.
Both Windows.
Win Server R2 (server) and Win 10 (basic)
I can ping the server and the server does not see me.
Connection without B.
Cfg
Server.
Client
Log server

Fri Jul 22 23:35:38 2016 OpenVPN 2.3.11 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built
 on May 10 2016
Fri Jul 22 23:35:38 2016 Windows version 6.2 (Windows 8 or greater) 64bit
Fri Jul 22 23:35:38 2016 library versions: OpenSSL 1.0.1t  3 May 2016, LZO 2.09
Fri Jul 22 23:35:38 2016 Diffie-Hellman initialized with 1024 bit key
Fri Jul 22 23:35:38 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Jul 22 23:35:38 2016 ROUTE_GATEWAY 37.46.132.1/255.255.254.0 I=12 HWADDR=52:54:00:2d:79:06
Fri Jul 22 23:35:38 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Fri Jul 22 23:35:38 2016 open_tun, tt->ipv6=0
Fri Jul 22 23:35:38 2016 TAP-WIN32 device [MyTap] opened: \\.\Global\{72F89BEB-7F96-413E-AEF6-558C0EF3
618E}.tap
Fri Jul 22 23:35:38 2016 TAP-Windows Driver Version 9.21
Fri Jul 22 23:35:38 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.
252 on interface {72F89BEB-7F96-413E-AEF6-558C0EF3618E} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Fri Jul 22 23:35:38 2016 Sleeping for 10 seconds...
Fri Jul 22 23:35:48 2016 Successful ARP Flush on interface [25] {72F89BEB-7F96-413E-AEF6-558C0EF3618E}

Fri Jul 22 23:35:48 2016 C:\Windows\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Fri Jul 22 23:35:48 2016 ROUTE: route addition failed using CreateIpForwardEntry: ???? ?????? ??? ????
??????.   [status=5010 if_index=25]
Fri Jul 22 23:35:48 2016 Route addition via IPAPI failed [adaptive]
Fri Jul 22 23:35:48 2016 Route addition fallback to route.exe
Fri Jul 22 23:35:48 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
Fri Jul 22 23:35:48 2016 UDPv4 link local (bound): [undef]
Fri Jul 22 23:35:48 2016 UDPv4 link remote: [undef]
Fri Jul 22 23:35:48 2016 MULTI: multi_init called, r=256 v=256
Fri Jul 22 23:35:48 2016 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
Fri Jul 22 23:35:48 2016 ifconfig_pool_read(), in='bobby-macbookpro,10.8.0.4', TODO: IPv6
Fri Jul 22 23:35:48 2016 succeeded -> ifconfig_pool_set()
Fri Jul 22 23:35:48 2016 IFCONFIG POOL LIST
Fri Jul 22 23:35:48 2016 bobby-macbookpro,10.8.0.4
Fri Jul 22 23:35:48 2016 Initialization Sequence Completed
Fri Jul 22 23:35:48 2016 84.18.120.80:39308 TLS: Initial packet from [AF_INET]84.18.120.80:39308, sid=
d99bce43 63514c1b
Fri Jul 22 23:35:49 2016 84.18.120.80:39308 VERIFY OK: depth=1, C=RU, ST=Tat, L=Sarman, O=ALLN, OU=ICT
, CN=ca, name=ca, [email protected]
Fri Jul 22 23:35:49 2016 84.18.120.80:39308 VERIFY OK: depth=0, C=RU, ST=Tat, L=Sarman, O=ALLN, OU=ICT
, CN=bobby-macbookpro, name=bobby-macbookpro, [email protected]
Fri Jul 22 23:35:49 2016 84.18.120.80:39308 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128
 bit key
Fri Jul 22 23:35:49 2016 84.18.120.80:39308 Data Channel Encrypt: Using 160 bit message hash 'SHA1' fo
r HMAC authentication
Fri Jul 22 23:35:49 2016 84.18.120.80:39308 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128
 bit key
Fri Jul 22 23:35:49 2016 84.18.120.80:39308 Data Channel Decrypt: Using 160 bit message hash 'SHA1' fo
r HMAC authentication
Fri Jul 22 23:35:49 2016 84.18.120.80:39308 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES25
6-GCM-SHA384, 1024 bit RSA
Fri Jul 22 23:35:49 2016 84.18.120.80:39308 [bobby-macbookpro] Peer Connection Initiated with [AF_INET
]84.18.120.80:39308
Fri Jul 22 23:35:49 2016 bobby-macbookpro/84.18.120.80:39308 MULTI_sva: pool returned IPv4=10.8.0.6, I
Pv6=(Not enabled)
Fri Jul 22 23:35:49 2016 bobby-macbookpro/84.18.120.80:39308 MULTI: Learn: 10.8.0.6 -> bobby-macbookpr
o/84.18.120.80:39308
Fri Jul 22 23:35:49 2016 bobby-macbookpro/84.18.120.80:39308 MULTI: primary virtual IP for bobby-macbo
okpro/84.18.120.80:39308: 10.8.0.6
Fri Jul 22 23:35:51 2016 bobby-macbookpro/84.18.120.80:39308 PUSH: Received control message: 'PUSH_REQ
UEST'
Fri Jul 22 23:35:51 2016 bobby-macbookpro/84.18.120.80:39308 send_push_reply(): safe_cap=940
Fri Jul 22 23:35:51 2016 bobby-macbookpro/84.18.120.80:39308 SENT CONTROL [bobby-macbookpro]: 'PUSH_RE
PLY,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 10,ping-restart
 120,ifconfig 10.8.0.6 10.8.0.5' (status=1)

Client log
Fri Jul 22 23:36:43 2016 OpenVPN 2.3.11 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on May 10 2016
Fri Jul 22 23:36:43 2016 Windows version 6.2 (Windows 8 or greater) 64bit
Fri Jul 22 23:36:43 2016 library versions: OpenSSL 1.0.1t  3 May 2016, LZO 2.09
Fri Jul 22 23:36:43 2016 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Fri Jul 22 23:36:43 2016 Need hold release from management interface, waiting...
Fri Jul 22 23:36:44 2016 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Fri Jul 22 23:36:44 2016 MANAGEMENT: CMD 'state on'
Fri Jul 22 23:36:44 2016 MANAGEMENT: CMD 'log all on'
Fri Jul 22 23:36:44 2016 MANAGEMENT: CMD 'hold off'
Fri Jul 22 23:36:44 2016 MANAGEMENT: CMD 'hold release'
Fri Jul 22 23:36:44 2016 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Jul 22 23:36:44 2016 UDPv4 link local: [undef]
Fri Jul 22 23:36:44 2016 UDPv4 link remote: [AF_INET]37.46.132.124:1194
Fri Jul 22 23:36:44 2016 MANAGEMENT: >STATE:1469219804,WAIT,,,
Fri Jul 22 23:36:50 2016 MANAGEMENT: >STATE:1469219810,AUTH,,,
Fri Jul 22 23:36:50 2016 TLS: Initial packet from [AF_INET]37.46.132.124:1194, sid=433a1816 28b71812
Fri Jul 22 23:36:50 2016 VERIFY OK: depth=1, C=RU, ST=Tat, L=Sarman, O=ALLN, OU=ICT, CN=ca, name=ca, [email protected]
Fri Jul 22 23:36:50 2016 Validating certificate key usage
Fri Jul 22 23:36:50 2016 ++ Certificate has key usage  00a0, expects 00a0
Fri Jul 22 23:36:50 2016 VERIFY KU OK
Fri Jul 22 23:36:50 2016 Validating certificate extended key usage
Fri Jul 22 23:36:50 2016 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Fri Jul 22 23:36:50 2016 VERIFY EKU OK
Fri Jul 22 23:36:50 2016 VERIFY OK: depth=0, C=RU, ST=Tat, L=Sarman, O=ALLN, OU=ICT, CN=server, name=server, [email protected]
Fri Jul 22 23:36:50 2016 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Jul 22 23:36:50 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Jul 22 23:36:50 2016 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Jul 22 23:36:50 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Jul 22 23:36:50 2016 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 1024 bit RSA
Fri Jul 22 23:36:50 2016 [server] Peer Connection Initiated with [AF_INET]37.46.132.124:1194
Fri Jul 22 23:36:51 2016 MANAGEMENT: >STATE:1469219811,GET_CONFIG,,,
Fri Jul 22 23:36:52 2016 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Fri Jul 22 23:36:52 2016 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Fri Jul 22 23:36:52 2016 OPTIONS IMPORT: timers and/or timeouts modified
Fri Jul 22 23:36:52 2016 OPTIONS IMPORT: --ifconfig/up options modified
Fri Jul 22 23:36:52 2016 OPTIONS IMPORT: route options modified
Fri Jul 22 23:36:52 2016 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Jul 22 23:36:52 2016 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=2 HWADDR=d8:cb:8a:bf:7d:11
Fri Jul 22 23:36:52 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Fri Jul 22 23:36:52 2016 MANAGEMENT: >STATE:1469219812,ASSIGN_IP,,10.8.0.6,
Fri Jul 22 23:36:52 2016 open_tun, tt->ipv6=0
Fri Jul 22 23:36:52 2016 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{7C32FDF4-50D2-40B0-9EBA-A84999D69D51}.tap
Fri Jul 22 23:36:52 2016 TAP-Windows Driver Version 9.9 
Fri Jul 22 23:36:52 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {7C32FDF4-50D2-40B0-9EBA-A84999D69D51} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Fri Jul 22 23:36:52 2016 Successful ARP Flush on interface [5] {7C32FDF4-50D2-40B0-9EBA-A84999D69D51}
Fri Jul 22 23:36:54 2016 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Fri Jul 22 23:36:54 2016 MANAGEMENT: >STATE:1469219814,ADD_ROUTES,,,
Fri Jul 22 23:36:54 2016 C:\Windows\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Fri Jul 22 23:36:54 2016 env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
Fri Jul 22 23:36:54 2016 Initialization Sequence Completed
Fri Jul 22 23:36:54 2016 MANAGEMENT: >STATE:1469219814,CONNECTED,SUCCESS,10.8.0.6,37.46.132.124

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
none7, 2016-07-23
@none7

Fri Jul 22 23:35:48 2016 ROUTE: route addition failed using CreateIpForwardEntry: ???? ?????? ??? ????
??????. [status=5010 if_index=25]

net helpmsg 5010
This object already exists.
The server seems to have a conflicting route.

G
givorik, 2016-09-15
@givorik

Run as administrator.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question