OpenVPN status working, but won't connect on Android
Posted: Sat Nov 22, 2014 1:47 pm
Hello,
I have my OpenVPN set up and also have it port-forwarded to the server's local address properly.
I also have the green light from control panel letting me know that OpenVPN is working correctly.
Then I downloaded the OpenVPN android app, and I followed the wiki instructions from here:
https://wiki.amahi.org/index.php/VPNAndroid
I downloaded the 3 files (the two certs and the key file) and I set everything up correctly in the app. But upon trying to connect I get "reconnecting tls-error protecting socket fd 4" and then it fails every time.
I then decided to try a different app, and tried the "OpenVPN Connect" (official app) and it requires a .opvn profile and I have no idea how to make that.
Also when outside my lan network, if I enter my dynamic dns url (*.yourhda.com) into a browser, it fails to connect to anything. But again, my openvpn status is green. From inside my lan if I enter the dynamic dns it takes me straight to my router conig page and not to the server login like I would expect. And im 100% I have port 1194 forwarded to the server ip address.
Any ideas?
Thanks
EDIT:
Ok I figured out how to make a .opvn profile and using the official OpenVPN app with my .ovpn profile it now connects fine on my android. Then I opened the amahi app and clicked on a couple pictures from my amahi server and they loaded fine on Amahi app. Then I went to click another picture and it wouldn't load, and now nothing is loading from within the amahi app anymore. I can see all of my directories from the server and all the file links, but when I click on a file it just shows the loading icon forever. If I click the share button and download the file to the phone, it downloads perfectly fine. So it seems as though the amahi app is for some reason not wanting to display the file even though it has access to it.
Also, is there and app that would allow me to upload files from android devices to my server? If I take a photo that I really like and want to save it remotely to my server from my android. It looks like the Amahi app only allows you to view and download files, but not upload.
I have my OpenVPN set up and also have it port-forwarded to the server's local address properly.
I also have the green light from control panel letting me know that OpenVPN is working correctly.
Then I downloaded the OpenVPN android app, and I followed the wiki instructions from here:
https://wiki.amahi.org/index.php/VPNAndroid
I downloaded the 3 files (the two certs and the key file) and I set everything up correctly in the app. But upon trying to connect I get "reconnecting tls-error protecting socket fd 4" and then it fails every time.
I then decided to try a different app, and tried the "OpenVPN Connect" (official app) and it requires a .opvn profile and I have no idea how to make that.
Also when outside my lan network, if I enter my dynamic dns url (*.yourhda.com) into a browser, it fails to connect to anything. But again, my openvpn status is green. From inside my lan if I enter the dynamic dns it takes me straight to my router conig page and not to the server login like I would expect. And im 100% I have port 1194 forwarded to the server ip address.
Any ideas?
Thanks
EDIT:
Ok I figured out how to make a .opvn profile and using the official OpenVPN app with my .ovpn profile it now connects fine on my android. Then I opened the amahi app and clicked on a couple pictures from my amahi server and they loaded fine on Amahi app. Then I went to click another picture and it wouldn't load, and now nothing is loading from within the amahi app anymore. I can see all of my directories from the server and all the file links, but when I click on a file it just shows the loading icon forever. If I click the share button and download the file to the phone, it downloads perfectly fine. So it seems as though the amahi app is for some reason not wanting to display the file even though it has access to it.
Also, is there and app that would allow me to upload files from android devices to my server? If I take a photo that I really like and want to save it remotely to my server from my android. It looks like the Amahi app only allows you to view and download files, but not upload.