Siema stecula, tu masz instrukcje co i jak. zgadajmy sie rano, pozdro
Setup Guide
1. Install WireGuard
# Debian/Ubuntu
sudo apt install wireguard
# Arch
sudo pacman -S wireguard-tools
# Windows: download from https://www.wireguard.com/install/
2. Generate keys
wg genkey | tee privatekey | wg pubkey > publickey
cat publickey # send this to Mateusz
3. Create WireGuard config
[Interface]
PrivateKey = <your_private_key>
Address = 10.0.0.3/24
[Peer]
PublicKey = vVsAxtsXyPXsX2O7Xxaw0s11SSWNqjb7OlVDB1kiIRU=
Endpoint = 178.104.50.250:51166
AllowedIPs = 10.0.0.0/24
PersistentKeepalive = 25
4. Connect
# Linux
sudo wg-quick up wg0
# Windows: import config file in WireGuard app and click Activate
5. SSH into server
# Send Mateusz your SSH public key first (~/.ssh/id_ed25519.pub)
# Then:
ssh user@10.0.0.2