User Tools

Site Tools


man:vpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
man:vpn [2023/02/04 21:56] adminman:vpn [2023/02/04 21:57] admin
Line 1: Line 1:
 === Connection to our vpn === === Connection to our vpn ===
   - Install [[https://www.wireguard.com/install/|Wireguard]] and check that it works: <code>modinfo wireguard</code>    - Install [[https://www.wireguard.com/install/|Wireguard]] and check that it works: <code>modinfo wireguard</code> 
-  - Generate your keys: <code>+  - Generate your encryption keys: <code>
 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 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
 </code> </code>
-  - send generated key appeared on screen to DA and ask him for configuration file, e.g. **my_wg0.conf**.  +  - Send generated key appeared on screen to DA and ask him for configuration file, e.g. **my_wg0.conf**.  
-  - put configuration file to **/etc/wireguard/**+  - Put configuration file to **/etc/wireguard/**
   - To turn on vpn run: <code>sudo wg-quick up my_wg0</code>   - To turn on vpn run: <code>sudo wg-quick up my_wg0</code>
   - To turn of vpn run: <code>sudo wg-quick down my_wg0</code>   - To turn of vpn run: <code>sudo wg-quick down my_wg0</code>
  
man/vpn.txt · Last modified: 2023/02/04 22:01 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki