Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
windows-vm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pem
windows-vm
Commits
a84fd086
Commit
a84fd086
authored
Apr 09, 2025
by
César Galvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: added small changes in wireguard install script
parent
1a34c9e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
WireguardInstall.ps1
src/scripts/ps/WireguardInstall.ps1
+3
-5
No files found.
src/scripts/ps/Wireguard
Setup
.ps1
→
src/scripts/ps/Wireguard
Install
.ps1
View file @
a84fd086
# Wireguard setup
# install-wireguard.ps1
# Wireguard install
# Define download URL for WireGuard official MSI installer
$wgInstallerUrl
=
"https://download.wireguard.com/windows-client/wireguard-installer.exe"
...
...
@@ -21,9 +19,9 @@ Start-Sleep -Seconds 10
$wgPath
=
"C:\Program Files\WireGuard"
$configPath
=
"
$wgPath
\Configurations"
$serverConfigFile
=
"
$configPath
\server.conf"
$outputPath
=
"C:\vagrant\files\wireguard
\Configurations
"
$outputPath
=
"C:\vagrant\files\wireguard"
# Create configuration and outp
o
t folders if it doesn't exist
# Create configuration and outp
u
t folders if it doesn't exist
New-Item
-ItemType Directory -Force -Path
$configPath
New-Item
-ItemType Directory -Force -Path
$outputPath
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment