I am trying to setup a VPN to change my IP address when I work from abroad as amazon have been banning long time accounts that use previously flagged ip addresses, I will also need to access NAS.
My current config files are as follows:
# SERVER
port 1194
proto udp
dev tap0
dev-node "OpenVPN TAP-Windows6"
ca "\\ca.crt"
cert "\\server.crt"
key "\\server.key"
dh "\\dh.pem"
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.4 255.255.255.0 192.168.1.50 192.168.1.100
server-bridge
push "redirect-gateway def1 bypass-dhcp"
client-to-client
keepalive 10 120
tls-auth "\\ta.key" 0
cipher AES-256-CBC
max-clients 1
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1
push "route 192.168.1.1 255.255.255.0"
# Client
client
dev tap
dev-node "OpenVPN TAP-Windows6"
proto udp
remote <server ip> 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
verb 3
redirect-gateway def1
The server machine (windows 10) connects and sets up the VPN, the client (windows 10) also connects and says it's assigned the IP 192.168.1.50.
Running ping 192.168.1.50 on the server machine gives Destination host unreachable
The server machine is still connected with "Ethernet Internet connection" and also "Unidentified network No internet connection(which is the OpenVPN TAP-Windows6 adapter I'm guessing)"
The client machine is still connected to the internet connection with "Wifi Internet access" but also says "Network No internet access", the public IP of the client does not change and I can not ping any of the IP addresses on the VPN network.
I have disabled firewall momentarily for these tests.
When running ipconfig /all on the client the VPN adapter has no information about the default gateway and the DHCP server is set to 192.168.1.0 (the router on the VPN network is 192.168.1.1). The WiFi adapter still has all of the same ip addresses as before connecting to openVPN.
I am totally at a loss for how to fix this problem, any help would be much appreciated.