mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-25 12:11:46 +00:00
added SOCKS proxy example configuration
This commit is contained in:
parent
03063a7582
commit
fec0d007a0
21
configs/socks.example.json
Normal file
21
configs/socks.example.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "SOCKS",
|
||||
"cmd": "[void] 'Toggle SOCKS v5'; $PRSW_ARG",
|
||||
"set": [
|
||||
{
|
||||
"args": [
|
||||
"Start-Process -FilePath 'cmd.exe' -ArgumentList '/c', 'start', 'ssh', '-D', 'PORT', '-q', '-C', '-N', '-f', 'HOST'"
|
||||
],
|
||||
"type": "variable",
|
||||
"discard": true
|
||||
}
|
||||
],
|
||||
"unset": [
|
||||
{
|
||||
"args": [
|
||||
"TASKKILL /F /PID ((Get-NetTCPConnection -LocalPort 1337).OwningProcess | Select -First 1)"
|
||||
],
|
||||
"type": "variable"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user