The DS115j is one of the more affordable models, running Version 5 of the Synology DiskStation Manager (DSM). I needed to set the “Interface listening behavior” to “Listen on all interfaces” in pihole network settings as pihole defaults to not existing eth0 (the virtual adapter for testnet is named like way we get a separate docker network to use for bridging docker containers to the local network like we do in other virtualization environments without dealing with firewalls or virtual NAT and IPs can be managed with Nethserver DHCP.To free up my other Raspberry Pi from being a DNS server and to use an already existing NAS on my local LAN, I decided to try to install NxFilter (my favourite DNS filtering solution) to a Synology DS115j NAS device. Run the docker run command, like in this example for pihole:ĭocker run -d -name pihole -e TZ="Europe/Vienna" -e WEBPASSWORD="admin" -v "$(pwd)/etc-pihole/:/etc/pihole/" -v "$(pwd)/etc-dnsmasq.d/:/etc/dnsmasq.d/" -cap-add NET_ADMIN - net=testnet - mac-address=0e:6f:47:f7:26:1a -restart=unless-stopped pihole/pihole:latest We need to set the new created network and a fixed unique MAC address else the containers get random ones on restart and that breaks DHCP reservations. You need a bridge to connect to (could be created in UI, if you use NSDC you already have one).Ĭreate the docker network testnet with bridge br0:ĭocker network create -d devplayer0/net-dhcp:latest -ipam-driver null -o bridge=br0 testnet Yes, the docker-net-dhcp plugin worked perfectly.īTW, I tested with the nxfilter image first and noticed the latest nxfilter image does not start, there’s an open issue.ĭocker plugin install devplayer0/net-dhcp If docker is bridged to Green, can dhcp server be used for a reservation? I also noted that yum install of results in a failed connection. Loading mirror speeds from cached hostfile Loaded plugins: changelog, fastestmirror, nethserver_events Installng the nethserver-docker via yum install -enablerepo=nethforge-testing nethserver-docker resulted in the following ~]# yum install -enablerepo=nethforge-testing nethserver-docker I was playing around with Guacamole and ran into problems trying to deploy nethserver-docker on a fresh NS demo.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |