Концепция:
- Сервер A (условно Нидерланды):
Конечный сервер, на нем работает telemt.
Внутренний IP в туннеле —10.10.10.1. - Сервер B (РФ):
Точка входа, принимает трафик пользователей через HAProxy (порт 443).
Внутренний IP в туннеле —10.10.10.2.
| @(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b | |
| #:: double-click to run or just copy-paste into powershell - it's a standalone hybrid script | |
| sp 'HKCU:\Volatile Environment' 'Edge_Removal' @' | |
| $also_remove_webview = 1 | |
| $host.ui.RawUI.WindowTitle = 'Edge Removal - AveYo, 2022.10.03' | |
| ## targets | |
| $remove_win32 = @("Microsoft Edge","Microsoft Edge Update"); $remove_appx = @("MicrosoftEdge") | |
| if ($also_remove_webview -eq 1) {$remove_win32 += "Microsoft EdgeWebView"; $remove_appx += "Win32WebViewHost"} |
| # fork of https://gist.github.com/ringe/2593827 | |
| # added the following features: | |
| # - filter common social networks | |
| # - only included email if it was found at least 2 times | |
| # - extract display name | |
| # - write to tab seperated file | |
| require 'mail' # uses the mail gem => gem install mail | |
| def sanitize_display_name(name) | |
| name.gsub!(/["']/, "") |
This bash script offers quick shortcuts to simulate slower network connections. It is useful when you need to simulate a wireless network on a Linux network server, especially when you are using a virtual machine guest on your local machine or in the cloud.
slow 3G # Slow network on default eth0 down to 3G wireless speeds
slow reset # Reset connection for default eth0 to normal
slow vsat --latency=500ms # Simulate satellite internet with a high latency
slow dsl -b 1mbps # Simulate DSL with a slower speed than the default
slow modem-56k -d eth0 # Simulate a 56k modem on the eth1 device. eth0 is unchanged.