dperson / openvpn-client

GNU Affero General Public License v3.0
1.05k stars 588 forks source link

Initial setup help - yes, I read the guide #361

Open Ltek opened 3 years ago

Ltek commented 3 years ago

I'm technical but total noob to docker and OpenVPN ... appreciate any help you can provide!

Read the guide here a few times... https://registry.hub.docker.com/r/dperson/openvpn-client/

I have 4 existing/running containers with Radarr, Sonarr, Jackett, Deluge... all bridged to LAN as default, nothing special. I'd like to get a VPN running and route those through them.

Questions:

  1. Where do I place the OPVN file?
  2. Other than the OVPN, anything else for the VPN to connect/work? I use Windscribe
  3. I found the below compose file someone else is using. How do I mod it to work for me?

:: Synology folders... ${ROOT}\docker\CONTAINER_NAME is mapped to /config for each container :: my LAN is 192.168.2.0 :: does the /dev/net folder get auto-created? or do I need to create it via script (attached) as several of the Synology how-to sites explain? tun.sh.txt

` services: vpn: container_name: vpn image: dperson/openvpn-client:latest cap_add:

eddiegrau commented 3 years ago

@Ltek did you ever figure out where to put the ovpn file?

GreenFrogSB commented 2 years ago

It is long time since this question was initially posted but if anyone is still looking for answers, please check this article: How to secure containers traffic using VPN?

There is also a YouTube vide explaining this in here