Networking & VPN¶
WireGuard VPN¶
| Property | Value |
|---|---|
| Interface | wg0 |
| Port | 51820/UDP |
| Subnet | 10.66.66.0/24 |
| Server IP | 10.66.66.1 (VPS3) |
| Config | /etc/wireguard/wg0.conf |
Purpose¶
Provides secure inter-server communication and remote admin access to internal services.
Managing WireGuard¶
# Start/stop
sudo systemctl start wg-quick@wg0
sudo systemctl stop wg-quick@wg0
# Check status
sudo wg show
# Add peer
wg genkey | tee privatekey | wg pubkey > publickey
# Reload config without restart
sudo wg syncconf wg0 <(wg-quick strip wg0)
Adding New Peers¶
- Generate keypair on client
- Add
[Peer]section to/etc/wireguard/wg0.conf - Reload:
sudo wg syncconf wg0 <(wg-quick strip wg0) - Configure client with server public key and endpoint
194.164.28.83:51820
DNS Configuration¶
All DNS is managed via CloudFlare / domain registrar.
| Record Type | Name | Value | Notes |
|---|---|---|---|
| A | kedevo.com | 194.164.28.83 | VPS3 |
| A | www.kedevo.com | 194.164.28.83 | VPS3 |
| A | docs.kedevo.com | 194.164.28.83 | VPS3 |
| A | status.kedevo.com | 194.164.28.83 | VPS3 |
| A | yardpro.uk | 77.68.99.173 | VPS2 |
| A | api.yardpro.uk | 77.68.99.173 | VPS2 |
| A | catalog.yardpro.uk | 77.68.99.173 | VPS2 |
| A | topcoasters.co.uk | 194.164.28.83 | VPS3 |
| MX | kedevo.com | post.kedevo.com |