Squid as Transparent Proxy on CentOs 6.4 Rumi, March 6, 2020 In this tutorial I am going to configure squid acting as transparent proxy what does it means? It means we have no part of configurations on the client end, just to setup squid in transparent proxy mode so it will sits between client and internet. And redirect their port 80 requests to 3128 port which is… Continue Reading
Reset lost root password on Ubuntu 18.04 Bionic Beaver Linux Rumi, March 5, 2020 Boot Into GRUB menu The first step is to reboot into the GRUB menu. If Ubuntu 18.04 Bionic Beaver is the only operating system installed you need to keep pressing SHIFT for the GRUB menu to show up. Edit Grub Menu Using arrows select the Ubuntu menu or the menu… Continue Reading
install and Configure SAMBA in Debian Squeeze Rumi, March 4, 2020March 6, 2020 Samba is a free software re-implementation of SMB/CIFS networking protocol, originally developed by Australian Andrew Tridgell. As of version 3, Samba provides file and print services for various Microsoft Windows clients and can integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a domain… Continue Reading
Change cluster node IP in Proxmox Rumi, March 4, 2020 To update the present cluster host proxmox following files need to be updated: /etc/network/interfaces /etc/hosts /etc/pve/corosync.conf (only on one node necessary) However, corosync.conf needs special way to edit the file! Edit corosync.conf Editing the corosync.conf file is not always very straightforward. There are two on each cluster node, one in… Continue Reading
Enable and install SSL on Debian 8 apache server Rumi, February 29, 2020 Configure Apache2 for SSL. root@www:~# vi /etc/apache2/sites-available/default-ssl.conf # line 3: change to webmaster’s email ServerAdmin webmaster@srv.world # line 32,33: change to the one created in [1] SSLCertificateFile /etc/ssl/private/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key root@www:~# a2ensite default-ssl Enabling site default-ssl. Continue Reading
How to define outgoing firewall rules on pFSense Rumi, February 24, 2020 LAN rules are defining rights to access internet services from your local network. So, if you block port 80 and 443 nobody from your LAN will be able to access internet. WAN rules are defining access to the resources in your LAN (or DMZ) from the internet. In this short… Continue Reading
Set DNS server address temporarily Rumi, February 24, 2020 Write it into /etc/resolv.conf: echo “nameserver 1.2.3.4″ | sudo tee /etc/resolv.conf Upon successful DHCP connection, it should be overwritten back to the “correct” DNS server. Continue Reading
Boot CentOS 8 / RHEL 8 Server in Single User Mode or root password reset Rumi, February 24, 2020February 24, 2020 Using “rd.break” keyword Reboot Your CentOS 8 or RHEL 8 Server and go to grub boot loader screen by interrupting auto boot and choose first line which includes the kernel (In case you have multiple kernel lines choose the appropriate one which suits to your environment). Below is the CentOS… Continue Reading
Clone KVM-based Virtual Machines on Redhat / CentOS Linux Rumi, February 24, 2020 Prerequisite: Operating System and Software Versions Operating System: – Redhat 7.3 Software: – libvirtd (libvirt) 2.0.0 Obtain Source Virtual Machine’s information Before we begin cloning any virtual machine we first need to obtain some basic information about it. The absolute minimum information required about the source virtual machine we are… Continue Reading
Ubuntu 18.04: Disable Netplan switch back to networking /etc/network/interfaces Rumi, February 24, 2020June 17, 2020 The following procedure works for Ubuntu 18.04 (Bionic Beaver) I. Reinstall the ifupdown package: # apt-get update # apt-get install ifupdown II. Configure your /etc/network/interfaces file with configuration stanzas such as: source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback allow-hotplug enp0s3 auto enp0s3 iface enp0s3 inet static address 192.168.1.133 netmask 255.255.255.0 broadcast 192.168.1.255… Continue Reading