ISCSi Config

Initiator config /etc/iscsi/initiatorname.iscsi Enter name as per example below: <code>InitiatorName=iqn.2004-04.com.qnap:ts-259:iscsi:nasportland:c5d1f7</code> Discover target # iscsiadm -m discovery -t sendtargets -p 192.168.1.104 Confirm status # iscsiadm -m node -o show # BEGIN RECORD 2.1.1 node.name = iqn.2004-04.com.qnap:ts-259:iscsi.nasportland.c5d1f7 . . node.discovery_address = 192.168.1.104 . . node.conn[0].address = 192.168.1.104 node.conn[0].port = 3260 . . # END RECORD Login # iscsiadm -m node --login Logging in to [iface: default, target: iqn.2004-04.com.qnap:ts-259:iscsi.nasportland.c5d1f7, portal: 192.168.1.104,3260] Logging in to [iface: default, target: iqn.2004-04.com.qnap:ts-259:iscsi.nasportland.c5d1f7, portal: 169.254.100.100,3260] Login to [iface: default, target: iqn.2004-04.com.qnap:ts-259:iscsi.nasportland.c5d1f7, portal: 192.168.1.104,3260] successful. ...

February 3, 2026 · 1 min

Mail AntiSpam

SPF v=spf1 ip4:22.23.24.25 include:another-domain-that-can-send-email-for-us.com -all v=spf1 – This simply states that version 1 of SPF is being implemented. There is no other version at this point, so this should always stay “v=spf1”, at least until another version is released. (If you’re curious, there was another version at one time – SenderID – but it’s been discontinued.) ip4:22.23.24.25 – This is the IP address of the mail server and/or domain that’s authorized to send email for that domain. Multiple IPs can be used. So if your mail provider rotates IPs, all IP addresses can be listed either individually (ip4:22.23.24.25 ip4:12.13.14.15) or through a CIDR range (ip4:22.23.24.0/20). Note that both IPv4 and IPv6 addresses should be listed if both are used by the mail server. ...

February 3, 2026 · 2 min

SSL CA Cert Config

Configure CA environment # mkdir -p /etc/pki/LDAP_CA/private # touch /etc/pki/LDAP_CA/index.txt # echo 01 > /etc/pki/LDAP_CA/serial Generate CA key # cd /etc/pki/LDAP_CA/private # openssl genrsa -out ca_server.key 4096 Generating RSA private key, 4096 bit long modulus (2 primes) .......................................++++ .............................................................................................++++ e is 65537 (0x010001) Generate CA certificate # cd /etc/pki/LDAP_CA # openssl req -new -x509 -days 365 -key private/ca_server.key -out ca_server.pem You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:GB State or Province Name (full name) [Some-State]:England Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]:Intellitect Water Organizational Unit Name (eg, section) []: Common Name (e.g. server FQDN or YOUR name) []:ubuntu2004.localdomain Email Address []:jpmigue@gmail.com ...

February 3, 2026 · 3 min