The goal here is to provide quick and easy but secure client VPN that can be configured natively without any additional software on:
- Linux
- iOS
- Android
- Windows
- OSX
| # https://www.atpeaz.com/disable-zscaler-temporarily-on-your-mac/ | |
| # disable | |
| sudo launchctl unload /Library/LaunchDaemons/com.zscaler.service.plist && sudo launchctl unload /Library/LaunchDaemons/com.zscaler.tunnel.plist | |
| # Reenable | |
| sudo launchctl load /Library/LaunchDaemons/com.zscaler.service.plist && sudo launchctl load /Library/LaunchDaemons/com.zscaler.tunnel.plist |
| #!/bin/bash | |
| # read from stdin | |
| while read line | |
| do | |
| echo "$line" | |
| done < "${1:-/dev/stdin}" | |
| # read from file | |
| while read line |
| apt-get clean autoclean | |
| apt-get autoremove --yes | |
| rm -rf /var/lib/{apt,dpkg,cache,log}/ |
| @ECHO off | |
| :top | |
| CLS | |
| ECHO Choose a shell: | |
| ECHO [1] cmd | |
| ECHO [2] bash | |
| ECHO [3] PowerShell | |
| ECHO [4] Python | |
| ECHO. | |
| ECHO [5] restart elevated |
| # CentOS-Vault.repo | |
| # | |
| # CentOS Vault holds packages from previous releases within the same CentOS Version | |
| # these are packages obsoleted by the current release and should usually not | |
| # be used in production | |
| #----------------- | |
| [C6.0-base] | |
| name=CentOS-6.0 - Base | |
| baseurl=http://vault.centos.org/6.0/os/$basearch/ |
| # content has to be in .config/fish/config.fish | |
| # if it does not exist, create the file | |
| setenv SSH_ENV $HOME/.ssh/environment | |
| function start_agent | |
| echo "Initializing new SSH agent ..." | |
| ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV | |
| echo "succeeded" | |
| chmod 600 $SSH_ENV | |
| . $SSH_ENV > /dev/null |