Commit 6d6c1969 by César Galvis

feat: squid proxy in private network working

parent ffdae270
...@@ -51,11 +51,16 @@ Copy your `FortiClient` backup file in `./files` folder and follow these steps: ...@@ -51,11 +51,16 @@ Copy your `FortiClient` backup file in `./files` folder and follow these steps:
- In `System`, click the `Restore` button and select your backup file in `C:\vagrant\files` path. - In `System`, click the `Restore` button and select your backup file in `C:\vagrant\files` path.
- Add the backup file, the password and clic the `Ok` button. - Add the backup file, the password and clic the `Ok` button.
#### Enable VPN #### Enable proxy
```sh In Windows, open the `squid` program from the Windows menu. Right clicking on `Squid Server` tray icon and select the option `Open Squid Configuration`.
nmcli connection import type wireguard file "files/WireGuard/client.conf" Replace the file content with [this file](src/config/squid-proxy.conf).
```
Then, restart the `squid` service.
#### Add proxy in host
Add the proxy `192.168.56.10:3128` in your network settings or web browser.
## Useful commands ## Useful commands
......
...@@ -12,7 +12,7 @@ Vagrant.configure("2") do |config| ...@@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|
config.vm.hostname = "windows-vpn" config.vm.hostname = "windows-vpn"
## Enable bridge network ## Enable bridge network
config.vm.network "public_network" config.vm.network "private_network", ip: "192.168.56.10"
# VirtualBox settings # VirtualBox settings
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
......
http_port 3128 http_port 3128
acl localnet src 192.168.56.0/24 # Change to your local network! acl localnet src 192.168.56.0/24
http_access allow localnet http_access allow localnet
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment