fallocate -l 4G /swapfilechmod 600 /swapfilemkswap /swapfileswapon /swapfile If RAM = 4GBUse swap = 4GB–8GB If RAM = 8GBSwap = 2GB–4GB is fine
Computing
Step 1 – Install the QEMU Guest Agent inside Debian sudo apt updatesudo apt install qemu-guest-agent -y Step 2 – Enable and Start the Service sudo systemctl enable qemu-guest-agentsudo systemctl start qemu-guest-agent Check its running sudo systemctl status qemu-guest-agent Step 3 – Enable the Guest Agent in Proxmox Now switch […]
Set up a virtual IP on proxmox cluster apt updateapt install keepalived -y nano /etc/keepalived/keepalived.conf run this on all nodes on the master node add this to the keepalived.conf vrrp_instance VI_1 {state MASTERinterface vmbr0virtual_router_id 51priority 150advert_int 1 } on the slave nodes add this to keepalived.conf vrrp_instance VI_1 {state BACKUPinterface […]
From a Windows powershell terminal in the above just change name/ip-here to the name or ip of what you are testing then change port-number-here to the port number you need to check. Test-NetConnection -ComputerName 8.8.8.8 -Port 53 The above example is checking if TCP/IP port 53 (DNS) is open on […]
This is a simple and crude method to disable an interface based on the volume of data that has gone through it. In the below example we will be using the rx bytes on ether4 In the example above the above script is scheduled to run every 5 mins, if […]
These are the domains to harvest IP addresses for; .facebook.com.fbcdn.net.facebook.net Add your local src IP Subnet to the rule below, then repeat twice more using .fbcdn.net and .facebook.net chain=forward action=add-dst-to-address-list src-address=YourLocalIpSubnet address-list=Facebook IPs address-list-timeout=4d content=.facebook.comlog=no log-prefix=”” Next add the rule below, this rule will block any IP on your local […]
The best way is to create a new firewalld zone and we add the specific IP to that zone. To start with lets create an appropriate zone, in this example we will call the zone webmin-access and open webmin to 1 specific IP address. The port will be 10000 tcp […]
nmap -sT targetIP/hostname nmap –script vuln targetIP/hostname -O trys to identify Operating System, example nmap -sT -O targetIP/hostnam