PrivateBin is a minimalist open source web service that allows you to create a paste of your text output and bind it to a single URL that you can then share. This method is perfect for sharing private information inside a Facebook chat, WhatsApp chat or any other IM platform, email, etc. The end-user would just click on the link and get the output in a browser. The information will be automatically deleted/destroyed at a time of your choice: as soon as the receiver reads it, after a few minutes, after a week or several months etc. Data is encrypted and decrypted in the browser using 256bit AES in Galois Counter mode. In this step by step guide I will show you how to install PrivateBin on your Synology NAS using Docker.
Install Docker via Synology “Package Center”.
Follow my step by step guide on how to activate your synology.me DDNS on DSM 7
Follow my step by step guide on how to activate your synology.me DDNS on DSM 6.2.4
Note: If you already own a synology.me DDNS, skip this STEP.
Add Wildcard Certificate to your synology.me DDNS.
Note: If you already own a synology.me Wildcard DDNS certificate, skip this STEP.
Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it privatebin. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the images below.
Once you click on User-defined script a new window will open. Follow the instructions below:
- General: In the Task field type in Install Privatebin. Uncheck “Enabled” option. Select root User.
- Schedule: Select Run on the following date then select “Do not repeat“.
- Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker run -d --name privatebin \ -p 8092:8080 \ -v /volume1/docker/privatebin:/srv/data \ --restart always \ privatebin/nginx-fpm-alpine chmod -R 0777 /volume1/docker/privatebin
After you click OK on STEP 7 a new warning pop up window will open. Click OK.
After you click OK on STEP 8, select your “Install Privatebin” Task then click the “Run” tab. You will be asked to run Install Privatebin – click Yes. Follow the instructions in the image below.
Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.
Now click the “Create” button. Follow the instructions in the image below.
After you click the Create button, the window below will open. Follow the instructions in the image below.
On General area, set the Reverse Proxy Name description: type in Privatebin. After that, add the following instructions:
Go back to STEP 1 or you will deal with karma 🙂
Now open your browser and type in https://privatebin.yourname.synology.me in my case https://privatebine.mariushosting.synology.me If everything goes right you will see the Privatebin dashboard page. Add your text, select the expiration time, burn after reading, optionally set up a password then click Send. Follow the instructions in the image below.
You should now see your synology.me DDBS link with a really long green alphanumerical code. Copy the link and send it wherever you want.
Note: Which is the best: Tornote or PrivateBin? For sure PrivateBin.
Note: If you need more information about PrivateBin, you can take a look at their official website.
Note: Find out how to update PrivateBin container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: Instead of a free DDNS you can also set up your own domain name using Reverse Proxy.
Note: How to Schedule Start & Stop For Docker Containers.
This post was updated on Thursday / October 21st, 2021 at 9:41 PM