Cara menambah Bridge di proxmox

Bila dalam pc proxmox terdapat multi ether / NIC  bisa untuk pengetesan router misal mikrotik -nano /etc/network/interface   auto lo iface lo inet loopback iface eno2 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.25.212 netmask 255.255.255.0 gateway 192.168.25.1 bridge_ports eno2 bridge_stp off bridge_fd 0 iface eno1 inet manual auto vmbr1 iface vmbr1 inet … Read more

IMAP and POP3 authentication DOS attack cpanel

gunakan commnad berikut untuk mengetahui fail autentikasi per IP # awk ‘/auth failed/ {for (i=1;i<=NF;i=i+1) if ($i~/rip/) print $i}’ /var/log/maillog |sort|uniq -c|sort -n| tail 12 rip=223.255.228.87, 13 rip=114.124.141.10, 14 rip=111.94.212.75, 15 rip=103.10.67.166, 15 rip=103.23.202.26, 15 rip=223.255.228.94, 18 rip=223.255.228.105, 18 rip=223.255.228.89, 25 rip=2406:2400:c0:a708:1014:156e:9dcd:8d7a, 504 rip=111.68.124.38, 2. blok di csf misal : IP 111.68.124.38 504 kali fail … Read more

Cara Blok recepient / Mail sending out di postfix

— buat file sender_access cd /etc/postfix nano blacklisted_domains — isi nya misal ( bisa untuk domain global , atau user account ) abusivecustomer.net REJECT kucing@customer.net REJECT   — masukan ke Data Base postmap /etc/postfix/blacklisted_domains — edit / masukan line berikut di main.cf  ( tambahkan diawal baris ) nano /etc/postfix/main.cf smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/blacklisted_domains, reject_non_fqdn_recipient,   … Read more

Membuat Backup dari Centos ke Synology

— Misal kita ingin membackup cacti dari centos ke Synology 1.buat dahulu script nya di server centos mkdir -p  /usr/local/scripts/ -backup mysql nano mysql-dump.sh #!/bin/bash TIME=`date +%F` # This Command will add date in Backup File Name. FILENAME=games-mysql-$TIME.sql # Here i define Backup file name format. DESDIR=/home/backup # Destination of backup file. find $DESDIR/games-mysql-* -mtime … Read more