Wireguard

WireGuard is a modern, fast, and secure VPN tunnel protocol. It uses state-of-the-art cryptography and aims to be simpler and more efficient than IPsec and other VPN protocols. WireGuard operates at the network layer and can be used for various tunneling scenarios.

Features of WireGuard

  • High Performance: Extremely fast with minimal overhead, suitable for high-speed connections.
  • Modern Cryptography: Uses cutting-edge cryptographic algorithms like ChaCha20 and Curve25519.
  • Simple Configuration: Easy to set up with minimal configuration files.
  • Small Codebase: Compact and auditable code, reducing security vulnerabilities.
  • Cross-Platform: Available on Windows, macOS, Linux, Android, and iOS.

WireGuard and Clash

Clash for Windows supports WireGuard protocol and can import subscription links containing WireGuard nodes. Configuring WireGuard requires the following parameters:

  • server: Server address
  • port: Server port
  • privateKey: Client private key
  • publicKey: Server public key
  • ip: Client IP address in the VPN network
  • reserved: Reserved bytes for obfuscation (optional)