Initial commit: Alfred Proxy with OAuth, TTS, and FCM push notifications
- Environment-based configuration (no hardcoded secrets) - OAuth authentication via Authentik - ElevenLabs TTS integration via SAG CLI - FCM push notification support - User preferences sync system - Multi-user support with per-user context files - No internal IPs or service accounts in tracked files
This commit is contained in:
30
open-firewall.ps1
Normal file
30
open-firewall.ps1
Normal file
@@ -0,0 +1,30 @@
|
||||
# Open Windows Firewall for Alfred Proxy
|
||||
# Run as Administrator
|
||||
|
||||
Write-Host "Opening firewall for Alfred Proxy (port 18790)..." -ForegroundColor Cyan
|
||||
|
||||
# Remove old rule if it exists
|
||||
Get-NetFirewallRule -DisplayName "Alfred Proxy" -ErrorAction SilentlyContinue | Remove-NetFirewallRule
|
||||
|
||||
# Create new rule
|
||||
New-NetFirewallRule `
|
||||
-DisplayName "Alfred Proxy" `
|
||||
-Direction Inbound `
|
||||
-LocalPort 18790 `
|
||||
-Protocol TCP `
|
||||
-Action Allow `
|
||||
-Profile Any `
|
||||
-Enabled True
|
||||
|
||||
Write-Host "✅ Firewall rule created successfully!" -ForegroundColor Green
|
||||
Write-Host " Port 18790 is now open for incoming connections" -ForegroundColor Gray
|
||||
|
||||
# Test if port is listening
|
||||
Write-Host "`nTesting if proxy is listening..." -ForegroundColor Cyan
|
||||
$listening = Get-NetTCPConnection -LocalPort 18790 -ErrorAction SilentlyContinue
|
||||
if ($listening) {
|
||||
Write-Host "✅ Proxy is listening on port 18790" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "⚠️ No service is listening on port 18790 yet" -ForegroundColor Yellow
|
||||
Write-Host " Start the proxy with: cd ~/.openclaw/workspace/alfred-proxy && npm start" -ForegroundColor Gray
|
||||
}
|
||||
Reference in New Issue
Block a user