I am very very new to this and want to set up a VPN for myself by using a windows EC2 server. And my client is my own PC windows 10 connected to Xfinity wifi at home. My PC has IP 10.0.0.130. Meanwhile, I have already checked several methods to solve the problem, but whenever I modified my configs, I cannot connect to the server anymore. Thus, I am here for help. If I know how to solve the problem, I will post it here, so follow this post if it helps.
Tried methods:
1. Shutdown firewalls on the client (still the same, connected but no access)
2. Install the app the reinstall (still the same)
3. Try to add 'push' something like that, and get a UDP connection error (10054).
4. Add 'ccd' to the program, get another UDP connection error (10054).
My server config:
port 9474
proto udp
dev tun
dev-node “OpenVPN TAP-Windows6"
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\issued\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\private\\server.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\dh.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\ta.key" 0 # This file is secret
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1
Below is my client configuration:
client
dev tun
dev-node "OpenVPN TAP-Windows6"
proto udp
remote XX.XX.XX.XX 9474
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\keys\\47-100-16-67\\ca.crt" # ca.crt
cert "C:\\Program Files\\OpenVPN\\keys\\47-100-16-67\\my-pc.crt" # client.crt
key "C:\\Program Files\\OpenVPN\\keys\\47-100-16-67\\my-pc.key" # client.key
remote-cert-tls server
tls-auth "C:\\Program Files\\OpenVPN\\keys\\47-100-16-67\\ta.key" 1
cipher AES-256-CBC
verb 3