bruh moment
whitespace/formatting diff
This commit is contained in:
12
wg/all_proxied/PreDown copy.ps1
Normal file
12
wg/all_proxied/PreDown copy.ps1
Normal file
@@ -0,0 +1,12 @@
|
||||
# WireGuard tunnel details
|
||||
$wgInterface = Get-NetAdapter -Name $env:WIREGUARD_TUNNEL_NAME
|
||||
|
||||
# Delete the default 0.0.0.0/0 route using the interface index
|
||||
route delete 0.0.0.0 mask 0.0.0.0 0.0.0.0 if $wgInterface.ifIndex
|
||||
|
||||
Set-Location "<path>\<to>\3proxy-0.9.4-x64\bin64\"
|
||||
|
||||
# Terminate any running instances of 3proxy.exe
|
||||
# Stop-Process -Name "3proxy" -Force
|
||||
# prefer taskkill for the /t option to end child processes
|
||||
taskkill.exe /f /t /im 3proxy.exe
|
||||
Reference in New Issue
Block a user