in CCD Folder I've 2 file:
client_PcSolergyEtantonio__xxx containing iroute 192.168.1.0 255.255.255.0
client_MaestroEnelCtPassoMartino__212_237_33_65 containing iroute 172.18.0.0 255.255.0.0
this is the server config
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "route 172.18.0.0 255.255.0.0"
push "route 192.168.1.0 255.255.255.0"
client-config-dir ccd
route 172.18.0.0 255.255.0.0
route 192.168.1.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
cipher AES-256-CBC
auth SHA512
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 4
explicit-exit-notify 1
management localhost 7505
this is the pc client configuration running on Windows10
client
dev tun
proto udp
remote xxxxxxxxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
auth SHA512
comp-lzo
verb 3
<ca>
-----BEGIN CERTIFICATE----
xxxx
-----END CERTIFICATE-----
</ca>
<cert>
xxx
</cert>
<key>
xxx
</key>
<tls-auth>
xxx
</tls-auth>
when I try to ping from the PC to the E225 router 172.18.0.1 through the openvpn server I've this message on the server log
Thu Aug 13 07:01:46 2020 us=839927 MULTI: Learn: 172.18.0.1 -> client_MaestroEnelCtPassoMartino__xxxx/yyyy:39028
and also
Thu Aug 13 07:42:15 2020 us=496864 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_VER=2.4.9
Thu Aug 13 07:42:15 2020 us=497015 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_PLAT=win
Thu Aug 13 07:42:15 2020 us=497155 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_PROTO=2
Thu Aug 13 07:42:15 2020 us=497273 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_LZ4=1
Thu Aug 13 07:42:15 2020 us=497390 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_LZ4v2=1
Thu Aug 13 07:42:15 2020 us=497504 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_LZO=1
Thu Aug 13 07:42:15 2020 us=497618 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_COMP_STUB=1
Thu Aug 13 07:42:15 2020 us=497736 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_COMP_STUBv2=1
Thu Aug 13 07:42:15 2020 us=497886 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_TCPNL=1
Thu Aug 13 07:42:15 2020 us=497982 client_PcSolergyEtantonio__xxx.153:28759 peer info: IV_GUI_VER=OpenVPN_GUI_11
Thu Aug 13 07:42:15 2020 us=498246 client_PcSolergyEtantonio__xxx.153:28759 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu Aug 13 07:42:15 2020 us=498366 client_PcSolergyEtantonio__xxx.153:28759 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu Aug 13 07:42:15 2020 us=524749 client_PcSolergyEtantonio__xxx.153:28759 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA