Port Forwarding apache2 default port to 8080 using IP Tables

ubuntu@server1:~$ sudo vi /etc/apache2/ports.conf Listen 80 Our default port for apache2 service is 80, now we test this by using the curl command ubuntu@server1:~$ curl server1:80 => should output apache2 default html ubuntu@server1:~$ curl server1:8080 => should output “curl: (7) Failed to connect to localhost port 8080: Connection refused” We’re going to use ip tables […]

PPPoE ipv4 6wind BNG using Radius Auth

In this case we will use this topology: PPPoE Server First setup uplink for the internet side and link pppoe-client side, in this case we use dhcp on interface eth0 and just enable interface eth1 for pppoe-client. Next, setup pppoe-tunnel instance inside ppp-server menu with link-interface eth1. After setup pppoe-tunnel, it mandatory to setup authentication […]

Install LibreNMS Ubuntu 20.04

Development Platform : Ubuntu Server 20.04 Web Server Nginx version 1.18.0 LibreNMS version 24.1.0 PHP version 8.2.15 python version 3.8.10 MariaDB version 10.3.39 Update Ubuntu Linux Server Install Required Packages Add libreNMS user and set password for user librenms Clone libreNSM to /opt directory Change Owner Permission and Acl Install PHP Dependency SET timezone Ensure […]

M2M_Client SElink Agent on Rocky Linux 8.9

Platform : Rocky-8.9-x86_64-minimalAgent Ver : B5_m2mClient-1_6_1-Rocky_x64 Update Rocky linux Repository install dependency package make sure the SElinux run on permisive mode Create a folder (e.g. /root/selink) with the m2m agent binary and the configuration file om.b5. add execution permission make file om.b5 execute the binary Make SELink as linux service make file start.sh on /root/selink […]

Creating LVM with group Permissions (Complete Guide).

sudo groupadd <groupname> sudo usermod -aG <groupname> <User> sudo yum install lvm2 (For Centos) sudo apt install lvm2 (For Ubuntu) sudo pvcreate /dev/vdb /dev/vdc sudo vgcreate <volume name> /dev/vdb /dev/vdc sudo lvcreate -L <size>(m/G) <path> note: if you want to make use of all the size available use: vgdisplay  (check for free allocation) Mkfs.xfs <Logical […]

Integrate Authenticate 6wind using Radius.

Server Radius run the apt update and upgrade command below to update and refresh the package index on your system.  Install Linux, Apache, MySQL, PHP (LAMP) stack on server. First, install Apach and once the installation is finished, you’ll need to adjust your firewall settings to allow HTTP traffic. Since this is a fresh Apache installation and […]

Best Practice: Restart Service switchd on Cumulus MLAG-Pair Switch

Sometimes we/user want to restart service switchd on the one of MLAG-Pair switch Cumulus, or maybe testing to cut off the peerlink between that MLAG-Pair switch (like UAT or similar activity). But if we don’t know who is the primary switch on that MLAG-Pair, we could get into trouble like the Host will disconnected from […]

Create DHCP Server on 6wind Router

State and enable DHCP server configuration. Define subnet and interface gateway on dhcp server. eg: gateway on interface eth1 with IP 192.168.10.1/24 Set default network address lease time assigned to DHCP clients for this subnet (in seconds, at least 180s). Set maximum network address lease time assigned to DHCP clients for this subnet (in seconds, […]

Configure Galera Cluster on Almalinux 9

Run the following command as root on all 3 nodes: dnf -y install mariadb-server-galera Configure the All Nodesvi /etc/my.cnf.d/galera.cnfChange the following line below wsrep_on=1 wsrep_cluster_name=”Galera_Cluster” wsrep_cluster_address=”gcomm://<All Nodes IP Address>” wsrep_node_address=”10.0.0.31″ <Current Node IP Address> Execute the following command on 1st Node:galera_new_clustersystemctl enable mariadbmysql_secure_installation Execute the following command on other nodes:systemctl enable –now mariadb Check the […]