@echo on
cd /d "%~dp0"
net session >nul 2>&1
if %errorlevel% neq 0 (
  echo [ERROR] Must run as Administrator. Port 53 bind needs admin.
  pause
  exit /b 1
)
if not exist "SurfGuardDns.exe" (
  echo [FATAL] SurfGuardDns.exe not found in this folder.
  echo Current folder: %CD%
  dir
  pause
  exit /b 2
)
SurfGuardDns.exe
echo.
echo [Proxy exited. Press any key to close.]
pause
