Hey guys, I have openvpn installed on my server and wanted to use it with my router running lede. The only thing is on my server it creates a .ovpn file for each connection.
I can not see where I upload this file to the router.
Any help would be great and sorry if it's been asked before I'm a newbie.
Utilize SSH to copy/paste the output from the ovpn into /etc/openvpn
Utilize SCP/SFTP to transfer the file to the router
If using Windows, WinSCP is a must have that will make management easier.
While what @lleachii suggested would work, I personally wouldn't recommend using a web server to transfer the file(s), as depending on how you've configured your VPN server, there's going to be sensitive data in the ovpn that should only be readable by the user and OpenVPN (the PSK for instance, among others).
Are you intending on your router to be the server, or a client that connects back to your server that's running an OpenVPN server?
As a general FYI, you're going to want to manage or troubleshoot OpenVPN on OpenWrt via cli (SSH), not via LuCI.
Hey I wanted my router as a client so all traffic goes through my server not my home connection. Was thinking of making a WiFi network connection just for the VPN if that's possible... Home/home5g/homevpn.
I'm still a bit stuck I have uploaded the openvpn file to ect/openvpn what happens next with the setup, do you know of any tutorials that would help me. Or if you can and have time guide me through it.
This would not be recommended if /root is not backed up by default by sysupgrade. IIRC, /etc/openvpn/ is added to the sysupgrade config upon installing openvpn.