Skip to content

WireSock VPN Gateway: Command Line Reference

Maximize Your VPN Gateway with Advanced Features and Commands

Add a new peer and restart the WireGuard tunnel for immediate connectivity:

powershell
wg-quick-config -add -restart

Gracefully stop the WireGuard tunnel, ensuring a secure closure of your VPN connection.

powershell
wg-quick-config -stop

Initiate the WireGuard tunnel, establishing your secure VPN connection swiftly.

powershell
wg-quick-config -start

Generate a QR code for the first client, simplifying the process of connecting mobile devices.

powershell
wg-quick-config -qrcode 1

Switching Modes: From PROXY to NAT

For those requiring a change from the default PROXY mode to NAT mode, perform the following commands with Administrator privileges:

powershell
wiresock-service uninstall

wiresock-service install -start-type 2 -mode nat -interface wiresock -log-level none

sc start wiresock-service