Skip to content

Instantly share code, notes, and snippets.

@hlx98007
Created July 14, 2018 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hlx98007/5f8dce27bc90191d25d61fe94a97c369 to your computer and use it in GitHub Desktop.
Save hlx98007/5f8dce27bc90191d25d61fe94a97c369 to your computer and use it in GitHub Desktop.
dingo
cat > /etc/systemd/system/dingo.service << EOF
[Unit]
Description=Dingo Google DoH Tunnel
After=network-online.target
[Service]
TimeoutStartSec=0
Type=simple
ExecStart=/usr/local/bin/dingo -gdns:nopad -port 53
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment