I have Windows on both server and client
when I connect, OPenVPN states that I am connected - the color of the OpenVpnGUI is green, is the
I see
Tue Jun 16 10:18:32 2020 MANAGEMENT: >STATE:1592295512,CONNECTED,SUCCESS,172.16.10.6,185.44.78.72,1194,,
But when i check my IP, it is the same IP that was before connection via VPN
here the server configuration
port 1194
proto udp
dev tun
dev-node "VPN Server"
dh "C:\\Program Files\\OpenVPN\\ssl\\dh.pem"
ca "C:\\Program Files\\OpenVPN\\ssl\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\ssl\\cert.crt"
key "C:\\Program Files\\OpenVPN\\ssl\\cert.key"
server 172.16.10.0 255.255.255.0
max-clients 32
keepalive 10 120
client-to-client
comp-lzo
persist-key
persist-tun
cipher DES-CBC
status "C:\\Program Files\\OpenVPN\\log\\status.log"
log "C:\\Program Files\\OpenVPN\\log\\openvpn.log"
verb 4
mute 20
And here are the client config
dev tun
proto udp
remote 185.44.78.72 1194
cipher DES-CBC
auth SHA1
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
#auth-user-pass
ca ca.crt
cert client3.crt
key client3.key
Client log
Tue Jun 16 10:26:53 2020 OpenVPN 2.4.9 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 16 2020
Tue Jun 16 10:26:53 2020 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Jun 16 10:26:53 2020 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Tue Jun 16 10:26:53 2020 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue Jun 16 10:26:53 2020 Need hold release from management interface, waiting...
Tue Jun 16 10:26:54 2020 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue Jun 16 10:26:54 2020 MANAGEMENT: CMD 'state on'
Tue Jun 16 10:26:54 2020 MANAGEMENT: CMD 'log all on'
Tue Jun 16 10:26:54 2020 MANAGEMENT: CMD 'echo all on'
Tue Jun 16 10:26:54 2020 MANAGEMENT: CMD 'bytecount 5'
Tue Jun 16 10:26:54 2020 MANAGEMENT: CMD 'hold off'
Tue Jun 16 10:26:54 2020 MANAGEMENT: CMD 'hold release'
Tue Jun 16 10:26:54 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Jun 16 10:26:54 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]185.44.78.72:1194
Tue Jun 16 10:26:54 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Jun 16 10:26:54 2020 UDP link local: (not bound)
Tue Jun 16 10:26:54 2020 UDP link remote: [AF_INET]185.44.78.72:1194
Tue Jun 16 10:26:54 2020 MANAGEMENT: >STATE:1592296014,WAIT,,,,,,
Tue Jun 16 10:26:54 2020 MANAGEMENT: >STATE:1592296014,AUTH,,,,,,
Tue Jun 16 10:26:54 2020 TLS: Initial packet from [AF_INET]185.44.78.72:1194, sid=cd649b2e 0b8a55b2
Tue Jun 16 10:26:54 2020 VERIFY OK: depth=1, C=IT, ST=Bologna, L=Bologna, O=StarBetBot, OU=DBOL, CN=DBOL, name=server.domain.it, emailAddress=mirko@gmail.com
Tue Jun 16 10:26:54 2020 VERIFY OK: depth=0, C=IT, ST=Bologna, L=Bologna, O=StarBetBot, OU=DBOL, CN=servuk, name=server.domain.it, emailAddress=mirko@gmail.com
Tue Jun 16 10:26:54 2020 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1541', remote='link-mtu 1542'
Tue Jun 16 10:26:54 2020 WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
Tue Jun 16 10:26:54 2020 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
Tue Jun 16 10:26:54 2020 [servuk] Peer Connection Initiated with [AF_INET]185.44.78.72:1194
Tue Jun 16 10:26:55 2020 MANAGEMENT: >STATE:1592296015,GET_CONFIG,,,,,,
Tue Jun 16 10:26:55 2020 SENT CONTROL [servuk]: 'PUSH_REQUEST' (status=1)
Tue Jun 16 10:26:55 2020 PUSH: Received control message: 'PUSH_REPLY,route 172.16.10.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 172.16.10.6 172.16.10.5,peer-id 1,cipher AES-256-GCM'
Tue Jun 16 10:26:55 2020 OPTIONS IMPORT: timers and/or timeouts modified
Tue Jun 16 10:26:55 2020 OPTIONS IMPORT: --ifconfig/up options modified
Tue Jun 16 10:26:55 2020 OPTIONS IMPORT: route options modified
Tue Jun 16 10:26:55 2020 OPTIONS IMPORT: peer-id set
Tue Jun 16 10:26:55 2020 OPTIONS IMPORT: adjusting link_mtu to 1624
Tue Jun 16 10:26:55 2020 OPTIONS IMPORT: data channel crypto options modified
Tue Jun 16 10:26:55 2020 Data Channel: using negotiated cipher 'AES-256-GCM'
Tue Jun 16 10:26:55 2020 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Jun 16 10:26:55 2020 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Jun 16 10:26:55 2020 interactive service msg_channel=0
Tue Jun 16 10:26:55 2020 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=18 HWADDR=d0:37:45:74:c1:0e
Tue Jun 16 10:26:55 2020 open_tun
Tue Jun 16 10:26:55 2020 TAP-WIN32 device [Подключение по локальной сети 2] opened: \\.\Global\{41B52E7C-0D42-433B-BD1F-13F6AF7CFEE5}.tap
Tue Jun 16 10:26:55 2020 TAP-Windows Driver Version 9.24
Tue Jun 16 10:26:55 2020 Notified TAP-Windows driver to set a DHCP IP/netmask of 172.16.10.6/255.255.255.252 on interface {41B52E7C-0D42-433B-BD1F-13F6AF7CFEE5} [DHCP-serv: 172.16.10.5, lease-time: 31536000]
Tue Jun 16 10:26:55 2020 Successful ARP Flush on interface [12] {41B52E7C-0D42-433B-BD1F-13F6AF7CFEE5}
Tue Jun 16 10:26:55 2020 MANAGEMENT: >STATE:1592296015,ASSIGN_IP,,172.16.10.6,,,,
Tue Jun 16 10:27:01 2020 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Tue Jun 16 10:27:01 2020 MANAGEMENT: >STATE:1592296021,ADD_ROUTES,,,,,,
Tue Jun 16 10:27:01 2020 C:\WINDOWS\system32\route.exe ADD 172.16.10.0 MASK 255.255.255.0 172.16.10.5
Tue Jun 16 10:27:01 2020 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=25 and dwForwardType=4
Tue Jun 16 10:27:01 2020 Route addition via IPAPI succeeded [adaptive]
Tue Jun 16 10:27:01 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Jun 16 10:27:01 2020 Initialization Sequence Completed
Tue Jun 16 10:27:01 2020 MANAGEMENT: >STATE:1592296021,CONNECTED,SUCCESS,172.16.10.6,185.44.78.72,1194,,
besides that error continuously i see
Tue Jun 16 10:29:31 2020 write to TUN/TAP : Unknown error (code=122)
On the server the connections are bridged and IPEnableRouter = 1 in the registry
here is the server VPN adapter status^
here is the link to the screenshot of the adaper settings (cannot isnert correct link here)
http://joxi.ru/J2bXXKzf0KNlOr