trailofbits / algo

Set up a personal VPN in the cloud
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
GNU Affero General Public License v3.0
28.49k stars 2.3k forks source link

what is the process to switch to a different port? #14684

Closed letitfly closed 4 months ago

letitfly commented 5 months ago

The wireguard uses port 51820, which can be blocked by the great firewall if you are inside china. Is there a way to switch to a different port and how to go about it?

thanks in advance!

techscw commented 4 months ago

use the config.cfg in the root of the installation directory, and change the value for the 'wireguard_port' variable. hope that helps