-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add new VPN providers? #45
Comments
Hey, It should be almost that easy. You just have to do some modification to the .ovpn files so that it will actually read the username/password that is provided etc. I have tried to script this however, and depending on the .ovpn files it should do all the work for you. Try this:
For reference, here are my two commits for adding IPVanish provider. The first adds all the configs: The second has the modifications made by adjustConfigs.sh script: Apart from this I also add a symlink to one of the .ovpn files and call the link "default.ovpn". That will be chosen as config if no OPENVPN_CONFIG is provided. Give it a go and create a PR to the dev branch if you get it working. Or if you give me a link to the configs I can add it for you. I should probably add a section to the README on how to add new providers :) |
I am French, I use Google Translation Hello, It would be possible to detail a procedure? I'm far from an expert and would like to make a mistake ... My goal would be to connect to the VPN Server of my little VPS. thank you beforehand |
CooperBarret, here is a little update on my results. In short, it works fine. -- I cloned the repository to a local folder using git on my Synology NAS It was quite simple to setup. I am a complete noob with Docker and my Synology NAS and this took me about an hour. Good luck! |
I am French, I use Google Translation @makloda Thank you for your explanation is very clear. Unfortunately I can not test this week but I will test with my VPS and give back information on the result. Again thank you, your procedure will help me a lot. |
I am French, I use Google Translation Obviously, it does not work ... I try to add the VPN "Cryptostorm". Here is the message that I when I run "adjustconfig.sh"
I'm on Qnap (ts-253pro), I do not know if I can install the program that executes "tput". I also tried with my personal VPN created from a small VPS and I have the same error message. If you have any solutions, I'm interested. Thank you beforehand |
Sorry for the late reply here. Have you gotten any further? You don't need to use the script to adjust the configs if it doesn't work for you. All it does is to change the device name, paths for ca- and auth-files plus add some triggers for interface up and down to start/stop transmission. It's the changes that are done to all configs in this commit: f10b134 |
hello, thanks fort these information, i tried it yesterday, but i always have the same problem to add HMA provider the logs are : unable to find HMA provider. i create a new image with openvpn/HMA folder with all ovpn files, but always the same error, is it a list of all vpn providers in a config file ? thanks |
There is no list of vpn providers. It just converts the OPENVPN_PROVIDER parameter to lowercase and checks for that folder under openvpn folder. The logs says "Could not find OpenVPN provider: HMA", right? Don't know what you're doing wrong. I can add HMA as provider for you, but this week is very busy for me. Maybe I'll have some time before the weekend, maybe not :) I'll follow up in issue #53 |
ahhh ! you gave a big point ! my folder was in uppercase
I rename it in lowercase and it works (some few problems with my HMA authentication, but it works now) if U want to add them for others people, you can find HMA ovpn files here thanks a lot for all ! i will rebuild it and put it in my synology ! |
Good stuff! 👍 |
it is my first time on GitHub, your project is very interessant, so during my weekend, i installed an ubuntu virtual machine, i learnt Docker (using video courses) and registrer on docker website to create my own image and container ! it was a very good geek weekend :) thanks :D PS : i don't understand "pull request" i added you as collaborator on my github if you can do yourself a PR for U, my copy of your stuff is https://github.com/gaeldevo/docker-transmission-openvpn-master i have the issue on my synology for the tun/tap error, i'm working on it ... |
👍 Sounds like a good weekend indeed! ;) Glad to hear you found it interesting, Docker is a really cool piece of tech. Hmm, yeah. I see you've created a new GitHub repo. I can do a diff towards mine and get your changes, but usually you would just fork my repo and then be able to create a pull request as they call it where your changes(commits) are merged into my repository. Good luck with the tun/tap! Post your findings if you have some good ones, I should make an entry of it in the readme. Just been swamped at work lately :) |
I am also interested by that ! has anyone succeeded to add it on synology & HMA ? |
I have updated the readme with info on how to add providers, and since the providers discussed here are already added I'm closing this issue. |
Hi, thanks for this amazing container, seems a lot of work has already gone into it. Are there any instructions on how to add other VPN providers, for docker newbies like myself? I am using PureVPN. Is it just a matter of adding a new directory and copying the .ovpn files into it?
The text was updated successfully, but these errors were encountered: