2

When I install dnscrypt-proxy, I found no dnscrypt-proxy.service here.

I write a bash to launch it, and write a desktop file here, ~/.config/autostart/dnscrypt.desktop

#!/bin/bash

zenity --password --title="sudo"|tr -d '\n'|sudo -S dnscrypt-proxy -R cisco -a 127.0.0.2:53 -u `whoami`

But it no work after input password. I can not found gksudo and gnome-keyring-query in the repo, so I use zenity.

0

The distribution tarballs include a sample dnscrypt-proxy.service.

Alternatively you can just use the one suggested in the official binary packages -- adjust the paths as required

[Unit]
Description=DNSCrypt client proxy
After=network.target
Before=nss-lookup.target

[Service]
Type=simple
ExecStart=/usr/local/sbin/dnscrypt-proxy /etc/dnscrypt-proxy.conf

[Install]
WantedBy=multi-user.target
|improve this answer|||||
  • paste.fedoraproject.org/paste/… Considering that the dnscrypt-proxy is missing some files and not a complete package, I would like to install dnscrypt-proxy-gui. but this package is depend on so many packages, I hesitate. – utopic eexpress May 24 '17 at 5:51
  • 1
    Ouch, this package is very incomplete indeed. A lot of features are not available and the server won't even start with the default configuration file. – Frank Denis May 24 '17 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.