How to setup ikev2 vpn server on ubuntu 22.04

Setting up an IKEv2 VPN server on Ubuntu 22.04 allows secure remote connections with strong encryption and authentication.  Step 1: Install Required Packages To run an IKEv2 VPN, you need strongSwan and other supporting tools installed: sudo apt update sudo apt install strongswan strongswan-pki libcharon-extra-plugins -y Step 2: Generate Server Certificates Certificates are required to […]

how to setup ikev2 vpn server on mikrotik

IKEv2 VPN is one of the most secure and stable VPN protocols, widely used for remote access and site-to-site connections. Setting up an IKEv2 VPN server on MikroTik provides strong encryption, fast performance, and seamless client connectivity.  Step 1: Generate VPN Server Certificates To establish a secure connection, you first need to generate certificates that […]

how to setup pptp vpn on ubuntu 24.04

PPTP (Point-to-Point Tunneling Protocol) is one of the simplest methods to configure a VPN connection on Linux. Step 1: Install PPTP Client First, install the required PPTP client package so your system can connect to PPTP VPN servers: sudo apt update sudo apt install pptp-linux -y Step 2: Create VPN Configuration File You need to […]

how to set proxy in CentOs 8 command line

Setting up a proxy on CentOS 8 can be useful when you are behind a corporate network or want to route your internet traffic through a proxy server for privacy and control. Step 1: Temporary Proxy for Session You can apply proxy settings that only last until you close the terminal. This is useful for […]

How to set proxy in Debian 12 command line

Setting a proxy in Debian 12 allows you to route your system’s internet traffic through a designated server, which can help with network restrictions, security, and accessing resources behind a firewall. Step 1: Check Current Proxy Settings Before making changes, it’s useful to verify whether any proxy is already configured on your system. This helps […]

how to set proxy in ubuntu 25.04 command line

Setting a proxy on Ubuntu 25.04 via command line is useful for controlling internet access and routing traffic. Step 1: Set a Temporary Proxy This method sets the proxy only for the current terminal session; it resets after closing the terminal: export http_proxy=”http://proxy.example.com:8080″ export https_proxy=”http://proxy.example.com:8080″ Check if the proxy variable is set: echo $http_proxy Step […]

How to Change SSH Port on Red Hat

Changing the default SSH port can help reduce automated attacks targeting the default port 22. Step 1: Connect to Your Server via SSH To begin, securely log into your Red Hat server using SSH to ensure you have the necessary access for configuration changes: ssh your-username@your-server-ip Step 2: Open the SSH Configuration File Next, open […]

How to Change SSH Port on CentOS 8

By default, SSH runs on port 22. Changing it helps avoid automated scans and basic attacks. Step 1: Pick a New SSH Port Select a custom port between 1024 and 65535 that’s not already in use. We’ll use `2222` as an example: NEW PORT=2222 You’ll need this value in the next steps. Step 2: Open […]

How to Change SSH Port on Debian 12

Changing the default SSH port from 22 to a custom one is a simple security measure that helps reduce unwanted login attempts. Step 1: Pick a New Port Choose an unused TCP port above 1024 to avoid conflicts with system services. For this example, we’ll use port `2222`. NEW PORT=2222 You can replace 2222 with […]

How to Change SSH Port on Ubuntu 25.04

SSH is one of the most used services on any Linux server, but leaving it on the default port (22) makes it a common target for automated attacks. Changing the SSH port is a simple way to reduce the number of brute-force login attempts and add a small layer of security. Step 1: Choose and […]