Goal: Only allow networks that fall under the ban through a VPN, the rest should go directly. The convenience of connecting devices, cross-platform, speed and security are also important. All steps were performed on CentOS 7. Install the EPEL repository if it is not already in the system and install the necessary packages: Create a … Continue reading "OpenVPN – Selective traffic (mail.ru, yandex.ru, vk.com, ok.ru, kaspersky.ru)"
Goal: Allow traffic from any device via VPN. The maximum convenience is connecting new devices without creating accounts, creating passwords, etc. Fast and encrypted connection. All steps were performed on CentOS 7. Install the EPEL repository if it is not already in the system and install the necessary packages: Create a configuration file:
Goal: Link 2 remote nodes in between so that communication between them is "transparent". Channel stability, speed and, of course, safety are also important. Imagine that there are 2 nodes: Server – IP 126.96.36.199 Client – IP 188.8.131.52 Install OpenVPN on them CentOS: Ubuntu:
Example Nginx configuration file for WordPress CMS:
In this example, there are 3 servers with Docker installed on it. If docker is not installed, you can see the installation here. There will be one manager and two workers: Master – manager (IP: 184.108.40.206) Slave_1 – worker (IP: 220.127.116.11) Slave_2 – worker (IP: 18.104.22.168) Required ports for Docker Swarm to work: 2376 and … Continue reading "Docker Swarm over TLS"
All steps are relevant for distributions with systemd (tested on CentOS 7 and Ubuntu 18.04) We look at the Docker launch command: Ubuntu 18.04 has a different path, "/lib/systemd/system/docker.service" We get something similar: Now create the "override.conf" file, just enter: We insert the following there:
CentOS 7: Install the necessary utilities: Add the Docker repository to install the current version: Install Docker: