OVPN - Building out this VPN network #111
Replies: 5 comments 6 replies
-
Okay so, I've come a bit of a ways - https://github.com/derekcentrico/vpn-configs-contrib-ovpnwork/tree/main/openvpn/ovpn. I need to screw around a bit more with updating/cleaning up the scripts. My ignorance here is trying to use NordVPN as an example. I have no training to lean on here. I'm wondering about having a country selector, UDP vs. TCP selector, and standard vs. multi-hop selector. My thoughts are that somehow a script could read the country abbreviations (first part of the ovpn name). Next, I can have udp or tcp within the names. Finally, I have multihop in the name if it's such a setup. If anyone can help me that would be great. At this point my copy/paste skills allowed me to mimic IPVanish by adding the random selecting bash script. |
Beta Was this translation helpful? Give feedback.
-
Okay if I am reading https://github.com/haugene/docker-transmission-openvpn/blob/master/openvpn/start.sh correctly, then the main docker should see the "configure-openvpn.sh" script in OVPN. So at least there's that - random selection can occur. Not optimal by any means so figuring out how to select based on the filename would be great. Now I'm a bit stumped. (beer) |
Beta Was this translation helpful? Give feedback.
-
I think I have stuff good to go. My problem now is that it keeps trying to read the nonexistent default.ovpn instead of using the script. https://github.com/derekcentrico/vpn-configs-contrib-ovpnwork/tree/main/openvpn/ovpn @pkishino Mind helping me understand how can I get the docker to read the configure-openvpn.sh file? I added three new environmental vars to the docker-compose:
These should provide the answers for the configuration script which then processes to select the local OVPN file found within the same directory accordingly. Happy to push this to master and maintain it once I get things fully functional. |
Beta Was this translation helpful? Give feedback.
-
@edgd1er perhaps you can help him out here based on your nordvpn stuff. |
Beta Was this translation helpful? Give feedback.
-
Well everything works. This was a fun learning experience when time permitted. haugene/docker-transmission-openvpn#2282 should people have a desire to let others benefit from the internal script and variables. |
Beta Was this translation helpful? Give feedback.
-
I just switched to OVPN from NordVPN due to port forwarding issues. At any rate, I'm only connecting to Swedish servers. I see that the default.ovpn is linked to Sweden.ovpn within the repo.
Happy for a couple week beer project to port in the OVPN configurations. But, I don't want to spend the time if it won't be utilized because we default solely to Sweden for OVPN.
Beta Was this translation helpful? Give feedback.
All reactions