I installed openvpn server on my pc with windows server with this configuration:
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\ServerVPN.crt"
key "C:\\Program Files\\OpenVPN\\config\\ServerVPN.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist "C:\\Program Files\\OpenVPN\\log\\ipp.txt"
push "redirect-gateway def1 bypass-dhcp"
keepalive 10 120
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 0 # This file is secret
cipher AES-256-CBC
persist-key
persist-tun
verb 3
explicit-exit-notify 1
Then I installed the openvpn client on my android smartphone with this configuration (I also use the same config on Windows 10 with the same problem):
client
dev tun
proto udp
remote mon_adresse_noip 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\ClientVPN.crt"
key "C:\\Program Files\\OpenVPN\\config\\ClientVPN.key"
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
verb 3
The connection between the client and the server seems to be going perfectly. However, I can’t access files on my local network with the IP address: 192.168.0.55. Default gateway: 192.168.0.1
How do I fix this, what am I doing wrong or not doing?
In advance, thank you for your help