i am new to openvpn and i would like to try it for eventual implementation for a company.
I've configured a routed VPN, both on the Server (windows server 2016) and on the client (windows 10) connects successfully.
The network interface on the Server does not take the IP however. OpenVPN GUI say the ip assigned is 10.5.0.1 but if i check it via "ipconfig" i get APIPA address (169.254.x.x)
Instead on the client it correctly assigned 10.5.0.6 as marked on OpenVPN GUI.
In short, from the client I do not ping 10.5.0.1 obviously. How can i solve?
Server startup log:
Code: Select all
Tue Mar 30 12:24:54 2021 ROUTE_GATEWAY 192.168.16.254/255.255.255.0 I=12 HWADDR=ec:eb:b8:5d:7b:98
Tue Mar 30 12:24:54 2021 open_tun
Tue Mar 30 12:24:54 2021 TAP-WIN32 device [OpenVPNServer] opened: \\.\Global\{B03F9BAE-FDEC-4F00-92D4-938CA7CA2941}.tap
Tue Mar 30 12:24:54 2021 TAP-Windows Driver Version 9.24
Tue Mar 30 12:24:54 2021 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.5.0.1/255.255.255.252 on interface {B03F9BAE-FDEC-4F00-92D4-938CA7CA2941} [DHCP-serv: 10.5.0.2, lease-time: 31536000]
Tue Mar 30 12:24:54 2021 Sleeping for 10 seconds...
Tue Mar 30 12:25:04 2021 Successful ARP Flush on interface [25] {B03F9BAE-FDEC-4F00-92D4-938CA7CA2941}
Tue Mar 30 12:25:04 2021 MANAGEMENT: >STATE:1617099904,ASSIGN_IP,,10.5.0.1,,,,
Tue Mar 30 12:25:04 2021 MANAGEMENT: >STATE:1617099904,ADD_ROUTES,,,,,,
Tue Mar 30 12:25:04 2021 C:\Windows\system32\route.exe ADD 10.5.0.0 MASK 255.255.255.0 10.5.0.2
Tue Mar 30 12:25:04 2021 Warning: route gateway is not reachable on any active network adapters: 10.5.0.2
Tue Mar 30 12:25:04 2021 Route addition via service failed
Tue Mar 30 12:25:04 2021 Could not determine IPv4/IPv6 protocol. Using AF_INET6
Tue Mar 30 12:25:04 2021 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Mar 30 12:25:04 2021 setsockopt(IPV6_V6ONLY=0)
Tue Mar 30 12:25:04 2021 UDPv6 link local (bound): [AF_INET6][undef]:1194
Tue Mar 30 12:25:04 2021 UDPv6 link remote: [AF_UNSPEC]
Tue Mar 30 12:25:04 2021 MULTI: multi_init called, r=256 v=256
Tue Mar 30 12:25:04 2021 IFCONFIG POOL: base=10.5.0.4 size=62, ipv6=0
Tue Mar 30 12:25:04 2021 IFCONFIG POOL LIST
Tue Mar 30 12:25:04 2021 Initialization Sequence Completed
Tue Mar 30 12:25:04 2021 MANAGEMENT: >STATE:1617099904,CONNECTED,SUCCESS,10.5.0.1,,,,