I have my config files for each client set up the same way:
Code: Select all
client
dev tun
proto udp
remote x.x.x.x 1194
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
remote-cert-tls server
key-direction 1
cipher AES-128-CBC
comp-lzo
verb 3
mute 20
<ca>
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxx
-----END RSA PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
xxxxxxxxxxxxxxxxxxxxx
-----END OpenVPN Static key V1-----
</tls-auth>
I am using FX Explorer to connect to the share. I specify the IP address of the RPi server with the directory I'm trying to connect to, and the user and password are correct but it doesn't work.
Furthermore, when I am on my home network (without VPN connection), I CAN connect to the SMB share by specifying the hostname of the server with the directory, and it works.
I am puzzled as to what causes this, and appreciate any help you can give me. I'm willing to give you further information if needed.
Thanks!