First of all, I'm an exec, not a tech :/
My goal here is to access an .exe application (we are all using Windows) that relies on dependencies on a network drive labelled N:\. I cannot change the reliance on N:\. I have created a network drive, N:\ on my computer (running Win 8.1) which will act as the server. I want to use the VPN to allow Agents to connect from outside my LAN (internal can just access N:\ as a shared folder).
I created a server config:
;local 172.21.0.3
port 443
proto tcp
dev tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh2048.pem"
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
;push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
cipher AES-128-CBC # AES
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 5
and my client config:
client
dev tun
proto tcp
remote <xxx>.dynamic-dns.net 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\program files\\openvpn\\config\\ca.crt"
cert "C:\\program files\\openvpn\\config\\cmaley.crt"
key "C:\\program files\\openvpn\\config\\cmaley.key"
ns-cert-type server
remote-cert-tls server
cipher AES-128-CBC
comp-lzo
verb 5
mute 20
What's happening now:
I activate OpenVPN on the server, it works, and the server is assigned 10.8.0.1.
Craig (my remote that is acting as a guinea pig to help test this) connects, and is assigned 10.8.0.5.
I ping Craig from the server, and get 4 responses (ok)
Craig pings me from his computer, and gets 4 responses (ok).
However, Craig cannot see the network drive that I have shared. My Windows firewall opened incoming and outgoing on 443, and my router has 443 forwarded to 173.21.0.9 (my local IP, which I changed from 192.168.xx.xx to prevent client conflicts)
This is probably something simple, and hopefully is resolvable through the file sharing settings or something else really simple.
What I have done to attempt to access the shared folder from Craig's computer is "Map Network Drive", drive N:\, and I have used both of these as the path to the shared folder:
"\\10.8.0.1\Users\User\"
"\\CHRIS\Users\User\"
I also tried
"\\172.21.0.9\Users\User"
His computer just doesn't find it. And I'm lost. Any help would be greatly appreciated.
-Chris