Last active
September 25, 2019 23:29
-
-
Save aphex3k/f3d27d98792dc559317c20e7d5b73a15 to your computer and use it in GitHub Desktop.
Start WireGuard when connection to the listen port is made
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=WireGuard wg0 socket | |
[email protected] | |
[email protected] | |
[Socket] | |
ListenDatagram=51228 | |
Accept=false | |
[Install] | |
WantedBy=sockets.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment