WireGuard: Difference between revisions
→Proxy client setup: Route for specific user |
manually start and stop wg0 |
||
Line 561: | Line 561: | ||
] | ] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Manually start and stop wg0 === | |||
The above steps will set up a <tt>wg0</tt> interface, managed by networkctl command. | |||
You can start it by typing the following in your terminal: | |||
<syntaxHighlight lang="sh"> | |||
sudo networkctl up wg0 | |||
</syntaxHighlight> | |||
To stop the service: | |||
<syntaxHighlight lang="sh"> | |||
sudo networkctl down wg0 | |||
</syntaxHighlight> | |||
=== Route for specific user === | === Route for specific user === |