Mindblown: a blog about my mind

  • SPF,DKIM and DMARC

    Architecture We Are Building SPF โ€“ Allow your server to send email In your domain DNS (for example yourdomain.id), create a TXT record: Field Value Host @ Type TXT Value v=spf1 ip4:103.xx.xx.xx mx -all Replace 103.xx.xx.xx with your Postfix serverโ€™s public IP address. Meaning: Install OpenDKIM Configure OpenDKIM Edit the configuration file: Ensure the following…

  • Install Postfix โ€“ Ubuntu 24.04

    Set hostname (REQUIRED) Postfix is very sensitive to the system hostname. Edit /etc/hosts: Add: Verify: The output must be: Install Postfix When the setup wizard appears, choose: Check Postfix service Postfix must be listening on port 25. Basic Postfix hardening Edit the configuration file: Ensure the following settings: Restart Postfix: Test local email delivery Check…

  • menghitung hpp produk

    HPP (Harga Pokok Penjualan) =Total biaya untuk menghasilkan 1 produk siap dijual, Artinya: semua uang yang keluar supaya produk itu lahir. 2๏ธโƒฃ Komponen utama HPP HPP itu bukan cuma bahan baku. Minimal ada 4 kelompok: A. Bahan langsung Yang nempel di produkContoh: B. Tenaga kerja langsung Yang mengerjakan produk Kalau kamu kerjain sendiri โ†’ tetap…

  • L2TP in OpenWRT

    #opkg update #opkg install strongswan-full xl2tpd install for module ipsec, if you not using ipsec skip this: #opkg install kmod-crypto-aes kmod-crypto-sha1 kmod-ipsec config xl2tpd: #vi /etc/xl2tpd/xl2tpd.conf [global]port = 1701 [lac mikrotik]lns = IP_MIKROTIKpppoptfile = /etc/ppp/options.l2tplength bit = yes #vi /etc/ppp/options.l2tp name openwrtpassword 123456refuse-eaprequire-chapnoccpnoauthmtu 1460mru 1460persistdefaultrouteusepeerdns open your l2tp port on your openwrt uci add firewall…

  • setting aruba controller

    Using the CLI To increase the power level of the specific AP, issue these commands: (Aruba2400) (config) #rf arm-profile <arm profilexxx> (Aruba2400) (Adaptive Radio Management (ARM) profile “arm profilexxx”) # (Aruba2400) (Adaptive Radio Management (ARM) profile “arm profilexxx”) #min-tx-power 24 (Aruba2400) (config) #rf dot11g-radio-profile < rf dot 11g profilexxx > (Aruba2400) (802.11g radio profile ” rf dot…

  • SSH Tunnel

    1. You are using SSH key-based authentication If the server already has your authorized_keys configured, then when you run: โ€ฆand it doesnโ€™t ask for a password, it means the connection is successful because your SSH key is already recognized by the server. To check if the tunnel is actually active: Or using ss: You should…

  • radius problem

    RADIUS cannot run with the following log error: Solved:by adding the following command in the SQL server:

  • Script mikrotik: check-internet

    :local target 8.8.8.8:if ([/ping $target count=5] = 0) do={/ip route set [find comment=”ISP1″] disabled=yes/ip route set [find comment=”ISP2″] disabled=no:log warning “ISP1 DOWN! Switch ke ISP2”} else={/ip route set [find comment=”ISP1″] disabled=no/ip route set [find comment=”ISP2″] disabled=yes}Scheduler (tiap 1 menit): /system scheduler add name=check-internet interval=1m on-event=check-internet

  • Tips and Tricks for VyOS 1.2

    In VyOS, most routing operations are quite similar to other routers such as Juniper or Cisco. You can easily work with the routing table, BGP peers, and static routes using the commands below. 1. Check BGP Peer Status To check the status of your BGP peers, use the following command: Example: 2. Show Received Routes…

  • Script PCC Load balancing

    here our script, will help you generate pcc mikrotik automaticaly https://vyos.web.id/mikrotik/index.php

Got any book recommendations?