Skip to content

Instantly share code, notes, and snippets.

@lsgrep
Created November 11, 2023 12:52
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 lsgrep/c9b3bbb2313c434628f3c2098344e512 to your computer and use it in GitHub Desktop.
Save lsgrep/c9b3bbb2313c434628f3c2098344e512 to your computer and use it in GitHub Desktop.
wg-proxy.json
[Unit]
Description=Wireguard Proxy Server
After=multi-user.target
[Service]
ExecStart=+/usr/local/bin/wg-proxy -confPath /etc/wg-proxy/config.json
CapabilityBoundingSet=CAP_NET_ADMIN
AmbientCapabilities=CAP_NET_ADMIN
Type=simple
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment