User Tools

Site Tools


man:vpn

This is an old revision of the document!


Connection to our vpn

  1. Install Wireguard and check that it works:
    modinfo wireguard
  2. Generate your keys:
    sudo mkdir -p /etc/wireguard/keys; wg genkey | sudo tee /etc/wireguard/keys/server.key | wg pubkey | sudo tee /etc/wireguard/keys/server.key.pub
  3. send generated key appeared on screen to DA and ask him for configuration file, e.g. my_wg0.conf.
  4. put configuration file to /etc/wireguard/
  5. To turn on vpn run:
    sudo wg-quick up my_wg0
  6. To turn of vpn run:
    sudo wg-quick down my_wg0
man/vpn.1675536987.txt.gz · Last modified: 2023/02/04 21:56 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki