Commit 0e1099df by César Galvis

docs: updated readme

parent 7f208845
......@@ -51,59 +51,12 @@ 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.
- Add the backup file, the password and clic the `Ok` button.
#### Enable proxy
In Windows, open the `squid` program from the Windows menu. Right clicking on `Squid Server` tray icon and select the option `Open Squid Configuration`.
Replace the file content with [this file](src/config/squid-proxy.conf).
> **NOTE:** Change your local network value in `squid-proxy.conf` file
Then, restart the `squid` service.
#### Add proxy in host
Test your proxy with `curl`:
```sh
curl -x http://windows-vpn:3128 -I http://www.google.com
```
Add the proxy `windows-vpn:3128` in your network settings or web browser.
#### Add proxy in git
Steps from [here](https://gist.github.com/evantoli/f8c23a37eb3558ab8765)
> **NOTE:** Add your git server IP or domain in `GIT_PRIVATE_SERVER` variable
```sh
# Add proxy by git server domain or IP
GIT_PRIVATE_SERVER=http://domain.com
PROXY_SERVER=http://windows-vpn:3128
git config --global "http.$GIT_PRIVATE_SERVER.proxy" $PROXY_SERVER
# Check global configuration
cat ~/.gitconfig
```
#### Add proxy in NMAP
#### Enable VPN
```sh
nmap --proxies http://windows-vpn:3128 $PRIVATE_DOMAIN_OR_IP
nmcli connection import type wireguard file "files/WireGuard/client.conf"
```
#### Add proxy for SSH connection
> `corkscrew` required
```sh
# Install corkscrew (in Debian-based distributions)
sudo apt -y install corkscrew
# Install sshpass password provider for plain text data
sudo apt -y install sshpass
```
Copy and check the bash scripts [here](src/scripts/bash/).
## Useful commands
```sh
......@@ -115,4 +68,6 @@ vagrant halt
vagrant destroy
# Reload configuration from Vagrantfile
vagrant reload
# Make provioning
vagrant provision
```
\ 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