{"id":15148428,"url":"https://github.com/mr-bolle/docker-openvpn-pihole","last_synced_at":"2025-10-24T03:31:52.416Z","repository":{"id":217124879,"uuid":"166660224","full_name":"mr-bolle/docker-openvpn-pihole","owner":"mr-bolle","description":"Create a single docker-compose and use the benefit from pi-hole if you use a Mobiledevice outside your Homenetwork","archived":false,"fork":false,"pushed_at":"2021-01-24T16:56:47.000Z","size":261,"stargazers_count":92,"open_issues_count":1,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-09-27T13:03:45.504Z","etag":null,"topics":["dnssec","docker-openvpn","docker-pi-hole","pi-hole"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mr-bolle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-20T12:44:55.000Z","updated_at":"2024-08-12T19:45:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcde1887-858a-4262-9827-b8f4324ede0e","html_url":"https://github.com/mr-bolle/docker-openvpn-pihole","commit_stats":null,"previous_names":["mr-bolle/docker-openvpn-pihole"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-bolle%2Fdocker-openvpn-pihole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-bolle%2Fdocker-openvpn-pihole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-bolle%2Fdocker-openvpn-pihole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-bolle%2Fdocker-openvpn-pihole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-bolle","download_url":"https://codeload.github.com/mr-bolle/docker-openvpn-pihole/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219866820,"owners_count":16555824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dnssec","docker-openvpn","docker-pi-hole","pi-hole"],"created_at":"2024-09-26T13:03:45.311Z","updated_at":"2025-10-24T03:31:52.033Z","avatar_url":"https://github.com/mr-bolle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-openvpn-pihole\nCreate a single docker-compose and use the benefit from pi-hole if you use a Mobile Device outside your Home network.\n\nRationale for this repository: I want to connect OpenVPN to Pi-Hole as easily as possible. However, the user can make changes (meaningful to me), or just use my preferences.\n\nMany thanks to:  \nGitHub @ [kylemanna/docker-openvpn](https://github.com/kylemanna/docker-openvpn/)  \nGitHub @ [pi-hole/docker-pi-hole](https://github.com/pi-hole/docker-pi-hole/)\n\nNow you can use this repository with the Hardwaretype x86_x64 and amr (Test with **Raspberry Pi 2 (armhf) \u0026 Rasperry Pi Zero W (armv6))**\n\n*YouTube: HowTo create this Container in about 4 Minutes*\n[![HowTo create this Container in about 4 Minutes](https://abload.de/img/screenshotcpjyo.jpg)](https://www.youtube.com/embed/8sRtCERYVzk)\n\n### :newspaper: [Changelog](https://github.com/mr-bolle/docker-openvpn-pihole/blob/master/CHANGELOG.md)\n\n### 1.0. Preparation\n* Docker: [Install Docer](https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository)\n\n```\ncurl -sSL https://get.docker.com | sh\nsudo usermod -aG docker $USER\ndocker --version\n```\n\n* Docker-Compose: [Install Docker Compose](https://docs.docker.com/compose/install/#install-compose)  \nhttps://github.com/docker/compose/releases/latest\n\n* Router Port Forwarding [Howto Forward a Port on any Router](https://portforward.com/router.htm)  \nSetup a Port Forwarding from the external Port *1194* to the Host-Port *1194*\n\n![OpenVPN Pi-Hole Network Map](images/OpenVPN%20Pi-Hole%20Network.png)\n\n\n### 1.1. Download and run install Script:\n```\ngit clone https://github.com/mr-bolle/docker-openvpn-pihole.git\ncd docker-openvpn-pihole \u0026\u0026 bash openvpn-install.sh\n```\n\n#### 1.2. OpenVPN create certificate and first user [Source](https://github.com/kylemanna/docker-openvpn/blob/master/docs/docker-compose.md)\n\nFollow User Entry you have to made\n:bulb: **All [default] values can be accepted with ENTER** :bulb:\n1. `Please enter your dynDNS Addess:` enter your dynDNS Domain (example: `vpn.example.com`)\n2. `Please choose your Protocol (tcp / [udp])` you can change the OpenVPN to tcp, default is udp\n3. `Would you change your Pi-Hole Admin Password` the currend default password read from docker-compose\n4. `Enter PEM pass phrase:` this password is for your ca.key - and you need this to create a User Certificate\n5. `Common Name (eg: your user, host, or server name) [Easy-RSA CA]:` (default Easy-RSA CA)\n6. `Please Provide Your Client Name` with this Name you create your first OpenVPN Client\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-bolle%2Fdocker-openvpn-pihole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-bolle%2Fdocker-openvpn-pihole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-bolle%2Fdocker-openvpn-pihole/lists"}