- Directorios: PascalCase (p2601_dasuten → P2601_Dasuten) - Planes: numeración pura (P2601_6.1.A → P2601.06.01) - Sin caracteres especiales en nombres de archivo - 07_proyectos.md: convención RFC-ADN-01 integrada, P2604/P2605 agregados - evento:listar: nueva opción --detalle para descripciones completas
19 lines
803 B
PowerShell
19 lines
803 B
PowerShell
# Script para configurar proxy SOCKS5 via SSH en dc-dasuten
|
|
# Ejecutar en dc-dasuten via PowerShell/CMD
|
|
|
|
# Configurar el proxy del sistema para usar el tunnel SSH
|
|
$proxyServer = "127.0.0.1:1080"
|
|
|
|
# Configurar proxy WinHTTP
|
|
netsh winhttp set proxy $proxyServer
|
|
|
|
# Configurar proxy para Internet Explorer / sistema
|
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 1
|
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer -Value $proxyServer
|
|
|
|
# Para PowerShell (si es necesario)
|
|
[System.Net.WebRequest]::DefaultWebProxy = [System.Net.WebRequest]::GetSystemWebProxy()
|
|
|
|
Write-Host "Proxy configurado: $proxyServer"
|
|
Write-Host "Ahora el tráfico de Windows irá a través del tunnel SSH"
|