battery13v
Hello Everyone this is my first topic here and i'm a begineer in openvpn,
my setup is that i want to host different servers from my client computer (My Home Laptop) through MY VPS's IP Address Using OpenVPN (i want tot hide my real public ip and in the same time my isp do not let me open ports publicly) so i bought a VPS from OVH.com (Windows Server 2012 R2) and i installed OpenVPN GUI, i configure it by following one of the tutorials over the web and i have this problems :
1- No internet access with the client (and i enabled redirect-gateway def1 but did not work)
2- i don't know how to configure my Open VPN Server To Forward Any request that come to Port 8080 For example to the Client of this private ip 10.0.x.x which is listening on this port locally
This is My server.ovpn Configuration :
------------------------
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh4096.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
keepalive 10 120
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1
------------------------
This is my CLien.ovpn Configuration :
------------------------
client
dev tun
proto udp
remote 54.37.X.X 1194
resolv-retry infinite
nobind
redirect-gateway def1
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\NeoCLient.crt"
key "C:\\Program Files\\OpenVPN\\config\\NeoCLient.key"
remote-cert-tls server
cipher AES-256-CBC
verb 3
-----------------------