Skip to content

sets up a docker compose consisting of WireGuard and Pihole server on a macvlan to appear as physical devices on the physical network.

Notifications You must be signed in to change notification settings

coc0nut/WireGuard-and-Pihole-on-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WireGuard server with Pihole DNS on Docker

Docker WireGuard PiHole

using macvlan to appear on the physical network.


git clone https://github.com/coc0nut/WireGuard-and-Pihole-on-Docker.git \
&& cd WireGuard-and-Pihole-on-Docker \
&& chmod +x *.sh \
&& ./install.sh

It will spin it up automatically regarding to the network environment for the dockerhost running this. It will find your ip for the dockerhost, see what subnet it resides in.

  • The WireGuard container will have an ip of x.x.x.230 and can be adminsitered at http://x.x.x.230:51821

  • The Pihole container will have the ip x.x.x.231 and can be administered at http://x.x.x.231/admin

  • It will automatically set up the routing.

  • Be sure to know your public hostname or ip, a password you would like to use for WG admin and Pihole admin.

  • There is also an uninstall script to undo everything.

./uninstall will remove everything. Then you can also reinstall with ./install.sh

About

sets up a docker compose consisting of WireGuard and Pihole server on a macvlan to appear as physical devices on the physical network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages