Posts

http://api.ipify.org

 http://api.ipify.org

Geoblock Threat Feeds

Image
Geoblock Threat Feeds dns/geoblock.txt at main · wallacebrf/dns · GitHub

Fortigate show dynamic ip addresses

Image
Fortigate show dynamic ip addresses diag ip address list diagnose vpn ike gateway list

Automatically Upgrade you router firmware & OS (v.7.x).

Image
  Automatically Upgrade you router firmware & OS (v.7.x). /system/script add dont-require-permissions=no name=RB_Upgrade owner=reinis policy=\     ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":if\     \_([/system routerboard get current-firmware] != [/system routerboard get up\     grade-firmware]) do={\     \n\r\     \n/system routerboard upgrade;\     \n\r\     \n:delay 10;\     \n\r\     \n/system reboot} else={\r\     \n:log warning \"No RouterBoard update is available\"}\     \n" add dont-require-permissions=no name=system_upgrade owner=reinis policy=\     ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/sy\     stem/package/update/check-for-updates;\r\     \n:if ([/system package update get status] = \"New version is available\") d\     o={\     \n\r\   ...

Notepad ++ port auth

Image
  Notepad ++ port auth

raw.githubusercontent.com/stamparm IP addresse Block List

Image
raw.githubusercontent.com/stamparm IP addresse Block List   GitHub - stamparm/ipsum: Daily feed of bad IPs (with blacklist hit scores)

Mikrotik BGP Attributs

Image
Mikrotik BGP Attributes    https://rickfreyconsulting.com/wp-content/uploads/2022/04/ROSv7-Filters-Cheat-Sheet-1.pdf

Update Mikrotik 6.49.xx to 7.16.xx

Image
Update Mikrotik 6.49.xx to 7.16.xx 1. upgrade MikroTik RouterOS from a stable 6.xx.xx version 2. upgrade MikroTik RouterOS from a stable 7.12.xx version 3. upgrade MikroTik RouterOS (7.xx.xx) till newest version.

How to Enable God Mode in Windows 11 or 10

Image
  How to Enable God Mode in Windows 11 or 10 Right click on the desktop and select New->Folder. Rename the folder  as follows: GodMode.{ ED7BA470-8E54-465E-825C-99712043E01C}

PowerShelll Check If Port Is Open

Image
  PowerShelll Check If Port Is Open PS C:\Users\User> Test-NetConnection rpc.acronis.com -Port 443

OSPF: Type-1 vs Type-2

Image
OSPF: Type-1 vs Type-2 Type 1: Considered close to the AS. Metric is based on the sum of the internal and external costs. Type 2: Considered far away from the AS. Metric is based on the external cost only.   OSPF router prefers a type 1 external router over a type 2.   Each external route is assigned a metric. There are two types of external-route metrics. A type 1 metric is the sum of the external cost plus the internal cost to reach the ASBR. A type 2 metric is only the external cost (the internal cost is not considered). If there are two external routes to the same destination, one type 1 and one type 2, an OSPF router selects the type 1 route over the type 2 route. That is represented in E1 and E2.

Windows CLI adding IP Address

Image
  Windows CLI adding IP Address netsh interface ipv4 set address name="Ethernet" static 192.168.3.123 255.255.255.0 192.168.3.1

Reset ESXi 6 Evaluation License

Image
Reset ESXi 6 Evaluation License Note: Running these commands will cause ESXi to appear offline/down. For example, my UPS virtual machine connected to my actual UPS began shutting down VMs because it believed ESXi ran into a problem. Shut down those VMs firstly before running this command then bring them back up later. Turn on SSH and log in to the host. Remove the current license rm -r /etc/vmware/license.cfg Copy over the new evaluation license, which is already on the host cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg Restart ESXi services /etc/init.d/vpxa restart Confirm the new license Automatic Script The commands above can be run automatic to keep your ESXi license reset on a set schedule using cron. I have also created a script which powers off and on a VM of your choice (such as a UPS agent) in case it shuts down the host. First create the script (reset-eval.sh) somewhere accessible to ESXi. I chose to put in my ZFS0 datastore (/vmfs/volumes/ZFS0/reset.eval) #!/bin/sh #...

Unifi keystore

Image
  https://gist.github.com/hdml/8a446dc1b0ad4f94b7a17a67a33286ab ##Installing a custom SSL cert on Unifi Controller Requirements: Domain certificate (.crt) Certificate key (.key) Intermediate certificate from CA (*.crt, *.pem) Permissions to restart the unifi service Debian or Ubuntu Unifi Controller installation ###Backup your current keystore cd /var/lib/unifi sudo cp keystore keystore.bkp ###Create pkcs12 certificate openssl pkcs12 -export -in domain_certificate.crt -inkey domain_certificate_priv.key -out domain_certificate.p12 -name unifi -CAfile "intermediate_cert_from_CA.crt" -caname root -password pass:aircontrolenterprise Copy your new cert to /etc/ssl/private sudo cp domain_certificate.p12 /etc/ssl/private ###Replace certificate in keystore with newly created cert sudo keytool -importkeystore -deststorepass aircontrolenterprise -destkeypass aircontrolenterprise -destkeystore /usr/lib/unifi/data/keystore -srckeystore /etc/ssl/private/domain_certificate.p12 -srcstoretyp...

Firefox - ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Image
ERR_SSL_VERSION_OR_CIPHER_MISMATCH about:config => security.tls.version.enable-deprecated = true

Hyper-V - WARNING: neither Intel VT-x or AMD-v found

Image
  WARNING: neither Intel VT-x or AMD-v found (EVE-NG) Set-VMProcessor -VMName "eve-ng" -ExposeVirtualizationExtensions $True

Windows Hyper-V NAT Mode

Image
  Step 1: Creating Internal NAT Virtual Switch: To create NAT switch, we need to run the below command on Windows Administrator PowerShell and check the status. PS C:\> New-VMSwitch -Name NATSWITCH -SwitchType Internal After running the command you will get the display shown below. Run the Get-NetAdapter command to get the ifindex (connected interface) and Virtual Switch details. Step 2: Run the below command to configure NAT Gateway IP. PS C:\> New-NetIPAddress –IPAddress 192.168.103.185 -PrefixLength 24 -InterfaceIndex 14 For above command: NAT Switch IP Address is: 192.168.103.185(NAT GATEWAY IP) Prefix Length: 24 (Subnet mask) Interface Index: 14 Connected interfaces (See above screenshot for interfaces) After running this command and it displays the required brief details, refer below screenshot. Step3: Now run the below command in order to configure NAT Network. To assign NAT IP segment(192.168.103.0/24), we have to use Host Machine VMs. PS C:\> New-NetNat -Name NATS...

Mikrotik v.7 Using cell lock on LHG LTE18

Image
  There  is  a way to do a cell lock on EG18-EA modem, it worked for me on LHG LTE18 kit. All information below is taken from  this thread on the Quectel forum . You will need to figure out PHY-CELLID (ID of the cell itself) and EARFCN (frequency that will be locked as primary band). You can get a list of cells around you and corresponding frequencies using cell monitor via web UI or console with: Code:  Select all interface / lte / cell - monitor lte1 You will get something like this: Code:  Select all PHY - CELLID BAND EARFCN RSRP RSRQ RSSI AGE 247 B7 2850 - 99dBm - 9dB - 68dBm 1s 99 B7 2850 - 104dBm - 15dB - 79dBm 1s 258 B7 2850 - 107dBm - 16dB - 83dBm 1s 69 B7 2850 - 111dBm - 20dB - 79dBm 1s 362 B7 2850 - 115dBm - 20dB - 85dBm 1s Next, use the following command to  set a cell lock : Code:  Select all interface /...