Windows/Wireguard: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
* Install Wireguard | * Install Wireguard | ||
* Setup Wireguard config and connect to Wireguard server | * Setup Wireguard config and connect to Wireguard server | ||
* < | * Find out Wireguard network interface name | ||
<blockquote> | |||
<syntaxhighlight lang="powershell"> | |||
Get-NetConnectionProfile -NetworkCategory 'Public' | Get-NetConnectionProfile -NetworkCategory 'Public' | ||
Get-NetConnectionProfile -NetworkCategory 'Private' | Get-NetConnectionProfile -NetworkCategory 'Private' | ||
</syntaxhighlight> | |||
</blockquote> | |||
* Set wireguard network to "private" | |||
<blockquote> | |||
<syntaxhighlight lang="powershell"> | |||
Set-NetConnectionProfile -InterfaceAlias 'wireguard???' -NetworkCategory 'Private' | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote> | |||
[[Category:Windows]] | [[Category:Windows]] | ||
Revision as of 13:46, 17 September 2025
Windows Server as Wireguard Client
- Install Wireguard
- Setup Wireguard config and connect to Wireguard server
- Find out Wireguard network interface name
Get-NetConnectionProfile -NetworkCategory 'Public' Get-NetConnectionProfile -NetworkCategory 'Private'
- Set wireguard network to "private"
Set-NetConnectionProfile -InterfaceAlias 'wireguard???' -NetworkCategory 'Private'