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
25a280db
Commit
25a280db
authored
Mar 21, 2025
by
César Galvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: added setup for squid proxy install
parent
ad561f73
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
Vagrantfile
Vagrantfile
+7
-0
squid-proxy.conf
src/config/squid-proxy.conf
+4
-0
ChocolateyInstallPackages.ps1
src/scripts/ChocolateyInstallPackages.ps1
+3
-2
No files found.
Vagrantfile
View file @
25a280db
...
...
@@ -15,6 +15,8 @@ Vagrant.configure("2") do |config|
config
.
vm
.
box
=
"gusztavvargadr/windows-11"
config
.
vm
.
box_version
=
"2302.0.2409"
config
.
vm
.
hostname
=
"windows-vpn"
## Enable bridge network
config
.
vm
.
network
"public_network"
# VM setup
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
...
...
@@ -34,6 +36,11 @@ Vagrant.configure("2") do |config|
config
.
vm
.
provision
"shell"
,
path:
"src/scripts/ChocolateyInstall.ps1"
## Install Chocolatey packages
config
.
vm
.
provision
"shell"
,
path:
"src/scripts/ChocolateyInstallPackages.ps1"
## Print the current IP address
config
.
vm
.
provision
"shell"
,
inline:
<<-
SHELL
Write-Output "=== Virtual machine network settings ==="
ipconfig
SHELL
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
...
...
src/config/squid-proxy.conf
0 → 100644
View file @
25a280db
http_port
3128
acl
localnet
src
192
.
168
.
56
.
0
/
24
# Change to your local network!
http_access
allow
localnet
\ No newline at end of file
src/scripts/ChocolateyInstallPackages.ps1
View file @
25a280db
choco install forticlientvpn --yes
\ No newline at end of file
choco install forticlientvpn --yes
choco install squid --yes
\ No newline at end of file
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