WireGuard VPN
The data used for connection
The service is managed in the WireGuard control panel with a web interface. The link is located in Invapi:
Here are the data for authorization:
Link: in the “webpanel” tag;
Login: in the “user_name” tag;
Password: in the “password” tag.
The server usage
To work with VPN, you need to create a user under which the connection will be performed. For more information about connection, read the “Connecting to the WireGuard VPN Server” section.
Creating a new user:
- Open the control panel of the WireGuard VPN server using the link from the "Connection data" section;
- Choose "Wireguard Clients" in the left menu;
- Click the "New Client" button in the upper right corner:
- Fill in the required "Name" field. Do not change the rest of the fields unless necessary:
- IP Allocation - is automatically filled;
- Allowed IPs - is automatically filled. 0.0.0.0/0 means that access to all network resources will go through the VPN while connecting to a VPN server;
- In the "Preshared Key" item, you can put down the "-" sign. This will disable additional encryption, which is required for resistance to hacking, but at the moment of technological development is not in demand:
- Click the "Submit" button;
- Click the "Apply config" button in the upper right corner (next to the "New Client" button).
Connection to the VPN server
Mac/Windows
- Install the WireGuard client on your device;
- Open the control panel of the WireGuard VPN server using the link from the "Connection data" section;
- Choose "Wireguard Clients" in the left menu;
- Find the right client;
- Download the configuration file for this client by clicking on the “Download” button:
- Launch the WireGuard client on your device;
- Click on the "Import tunnels from files" button and choose the downloaded configuration file. A new connection will appear with the username specified earlier, the connection status will be “Disconnected”;
- Click the "Connect" button, the status will be changed to "Connected".
IOS и Android
- Install the WireGuard app from Google Play Market for Android or AppStore for IOS;
- Open the control panel of the WireGuard VPN server using the link from the "Connection data" section;
- Choose "Wireguard Clients" in the left menu. Find the right client. Open the QR code of this client by clicking on the “QR Code” button:
- Open the WireGuard app on your phone;
- Click the "Add tunnel" button. Choose the option "Create from QR code";
- Scan the QR code. Name the connection;
- Allow the application to change the VPN settings by following the phone's prompts;
- To connect to the VPN server, switch to the “on” state.
Linux
Download the configuration file and run the command:
Using a VPN Server as HTTP Proxy
A server with WireGuard installed can be used as an HTTP proxy server for all popular browsers. You can use your browser's default settings to set up an HTTP proxy connection, or you can take advantage of additional controls of HTTP proxy in browsers, such as SwitchyOmega, ProxMate, Proxy-Switcher, and others.
In this manual, we will analyze the installation and use of SwitchyOmega.
Follow the steps below to install and use SwitchyOmega:
1. Install the SwitchyOmega extension for the Google Chrome or Mozilla Firefox browser;
2. Create a proxy server profile in SwitchyOmega:
- Open the browser and click on the SwitchyOmega icon in the upper right corner of the browser window;
- Choose "New Profile" in the menu;
- Enter the name of the profile in the "Profile name" field;
- Choose the type of proxy server in the menu "Protocol" - HTTP;
- Enter the internal address of the VPN server 10.252.1.1 and its port 3128 in the appropriate fields;
- Press the "Save" button.
3. Enable the proxy server profile in SwitchyOmega.
- Click on the SwitchyOmega icon in the upper right corner of the browser window;
- Choose the previously created proxy server profile in the menu;
- The proxy server profile should become active and its name should appear at the top of the list in the SwitchyOmega menu.
An example of settings in Google Chrome:
VPN Performance Check
To check the connection to the server, you can enter "What is my IP" in your browser's search bar or visit whatismyipaddress.com. If a successful connection has been made, the IP address and region will be displayed: