Ir para o conteúdo principal

Alterações no arquivo de configuração - Servidor

wg syncconf wg0 <(wg-quick strip wg0)


Se alterar essas configurações, precisa reiniciar o serviço
  • Address
  • ListenPort
  • PrivateKey
  • MTU
  • Table, PreUp, PostUp, regras de firewall
wg-quick down wg0
wg-quick up wg0

Ou, se estiver usando systemd: -> systemctl restart wg-quick@wg0