mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-19 11:13:05 +02:00
- Added comprehensive Windows client setup guide (docs/client-windows.md) - Documented the common "parameter is incorrect" error in troubleshooting.md - Added step-by-step solution for Windows networking stack reset - Included WireGuard setup instructions and common issues - Added Windows documentation links to README.md This addresses the frequently reported issue #1051 where Windows users encounter "parameter is incorrect" errors when connecting to Algo VPN. The fix involves resetting Windows networking components and has helped many users resolve their connection issues. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
3.6 KiB
3.6 KiB
Windows Client Setup
This guide will help you set up your Windows device to connect to your Algo VPN server.
Supported Versions
- Windows 10 (all editions)
- Windows 11 (all editions)
- Windows Server 2016 and later
WireGuard Setup (Recommended)
WireGuard is the recommended VPN protocol for Windows clients due to its simplicity and performance.
Installation
- Download and install the official WireGuard client for Windows
- Locate your configuration file:
configs/<server-ip>/wireguard/<username>.conf
- In the WireGuard application, click "Import tunnel(s) from file"
- Select your
.conf
file and import it - Click "Activate" to connect to your VPN
Alternative Import Methods
- QR Code: If you have access to the QR code (
wireguard/<username>.png
), you can scan it using a mobile device first, then export the configuration - Manual Entry: You can create a new empty tunnel and paste the contents of your
.conf
file
IPsec/IKEv2 Setup (Legacy)
While Algo supports IPsec/IKEv2, it requires PowerShell scripts for Windows setup. WireGuard is strongly recommended instead.
If you must use IPsec:
- Locate the PowerShell setup script in your configs directory
- Run PowerShell as Administrator
- Execute the setup script
- The VPN connection will appear in Settings → Network & Internet → VPN
Troubleshooting
"The parameter is incorrect" Error
This is a common error that occurs when trying to connect. See the troubleshooting guide for the solution.
Connection Issues
- Check Windows Firewall: Ensure Windows Firewall isn't blocking the VPN connection
- Verify Server Address: Make sure the server IP/domain in your configuration is correct
- Check Date/Time: Ensure your system date and time are correct
- Disable Other VPNs: Disconnect from any other VPN services before connecting
WireGuard Specific Issues
- DNS Not Working: Check if "Block untunneled traffic (kill-switch)" is enabled in tunnel settings
- Slow Performance: Try reducing the MTU in the tunnel configuration (default is 1420)
- Can't Import Config: Ensure the configuration file has a
.conf
extension
Performance Optimization
- Use WireGuard: It's significantly faster than IPsec on Windows
- Close Unnecessary Apps: Some antivirus or firewall software can slow down VPN connections
- Check Network Adapter: Update your network adapter drivers to the latest version
Advanced Configuration
Split Tunneling
To exclude certain traffic from the VPN:
- Edit your WireGuard configuration file
- Modify the
AllowedIPs
line to exclude specific networks - For example, to exclude local network: Remove
0.0.0.0/0
and add specific routes
Automatic Connection
To connect automatically:
- Open WireGuard
- Select your tunnel
- Edit → Uncheck "On-demand activation"
- Windows will maintain the connection automatically
Multiple Servers
You can import multiple .conf
files for different Algo servers. Give each a descriptive name to distinguish them.
Security Notes
- Keep your configuration files secure - they contain your private keys
- Don't share your configuration with others
- Each user should have their own unique configuration
- Regularly update your WireGuard client for security patches
Need More Help?
- Check the main troubleshooting guide
- Review WireGuard documentation
- Create a discussion for help