I use BBEdit which has multi-file find & replace, & GREP find & replace. Your choice of text editor makes a big difference to the job or turning the files into UCI files. Now that they have no extensions they're not. ovpn files according to whatever naming scheme you decide on. My naming scheme is CC_Location where CC is the 2 letter country code. ovpn file into a version of /etc/config/openvpn with the OpenVPN instance names as filenames, without an extension. I've found alphanumeric with hyphens & underscores to be safe. The instance names are limited to 20 characters & a restricted character set. The first line of each definition block includes a name which must be unique withing the file. OpenVPN configuration is defined in a file /etc/config/openvpn with a definition block for each of one or more OpenVPN instance. Keep the charachter set of the new filenames to alphanumeric with hyphens & underscores, & the filenames to 20 characters or less. ovpn files to be shorter & more convenient. Use scp openvpn/* to copy files to that folder.If there is no /etc/openvpn folder, use mkdir /etc/openvpn to create it. Check that you have /etc/openvpn on the router with ls -l /etc in SSH to the router.Unpack the zip file & put the certificates & keys in openvpn. Download zip file containing certificates & keys.Download all the OpenVPN configuration files you want & save them to config.Create a file, openvpn/th, with the username as the first line & the password as the 2nd line, & nothing else. Log into your ExpressVPN account & navigate to Manual Configuration. Uci rename rename del_list ="tun+"Ĭreate two folders at a convenient location on your computer. Log back into Luci & there will now be a menu VPN > OpenVPN. Opkg install -force-overwrite openvpn-openssl luci-app-openvpn These instructions will get ExpressVPN up & running in OpenVPN on OpenWrt. The OpenVPN UCI Directives Cheat Sheet I compiled solve this.I've also posted this as a gist on GitHub.So I'm publishing my solution, so working right now that I'm posting this through it. In my searches I found many trying, but only outdated solutions. An important part of my purpose in putting OpenWrt on my travel router is running ExpressVPN in OpenVPN.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |