VPN
Why Use a VPN?¶
Using a VPN provides an essential layer of security. It ensures that sensitive business data—such as administration panels, statistics, and internal documentation—cannot be accessed from outside the corporate network.
How to Set Up¶
1. Install WireGuard¶
Follow the installation steps corresponding to your operating system on the official WireGuard website.
2. Set Up Keys¶
You need to generate a public and private key pair to authenticate your connection. Run the following commands in your terminal:
3. Create the Interface¶
Create your WireGuard configuration file and paste the following snippet. Make sure to replace the placeholder variables with your actual keys and assigned IP address.
[Interface]
Address = 10.0.0.3/24 # <- Your assigned VPN IP (provided by the administrator)
PrivateKey = <CLIENT_PRIVATE_KEY> # <- Your private key
DNS = 10.0.0.1
[Peer]
PublicKey = <SERVER_PUBLIC_KEY> # <- Server public key
Endpoint = ssh.moviesxmovies.jonaykb.com:51820
AllowedIPs = 10.0.0.0/24
4. Request Access¶
Next, you must contact [email protected] to get your public key whitelisted. Please include the following information in your email:
Required Information via Email
Subject: <FULL_NAME> - VPN ACCESS
Description:
5. Connect and Verify¶
Once your setup is complete and access is granted, bring up the interface to connect:
To verify that the connection was successful, check your WireGuard status:
Success Check: You should now be able to reach internal services (for example, Grafana at 10.0.0.1:3000). Additionally, the output of
sudo wg showshould display alast handshakeline, confirming an active and healthy connection.