/ip firewall filter add action=drop chain=forward dst-address-list=TikTok src-address=10.0.0.0/24 /ip firewall mangle add action=add-dst-to-address-list address-list=TikTok address-list-timeout=4w2d chain=prerouting content=.tiktok.com src-address=10.0.0.0/24 add action=add-dst-to-address-list address-list=TikTok address-list-timeout=4w2d chain=prerouting content=.tiktokv.com src-address=10.0.0.0/24 add action=add-dst-to-address-list address-list=TikTok address-list-timeout=4w2d chain=prerouting content=.tiktokcdn.com src-address=10.0.0.0/24 add action=add-dst-to-address-list address-list=TikTok address-list-timeout=4w2d chain=prerouting content=.byteoversea.com src-address=10.0.0.0/24 add action=add-dst-to-address-list address-list=TikTok address-list-timeout=4w2d chain=prerouting content=.ibyteimg.com src-address=10.0.0.0/24 add action=add-dst-to-address-list address-list=TikTok address-list-timeout=4w2d […]
Technical
Manually change the management IP of a VMware ESXi 6.7 host Open a SSH session to the current management IP and run the below, where 10.0.16.4 is the IP that you want to change to. So just substitute the IP to suit your network. esxcli network ip interface ipv4 set […]
We can change the IP address of the domain controller as below. Change the IP address on DC and run the following command to make the changes take effect: Type ipconfig /flushdns and click Enter.Type Net Stop DNS and click Enter.Type Net Start DNS click Enter.Type Net Stop Netlogon click […]
If you have a user that can only log into a PPP (L2TP, PPTP etc) session on a Mikrotik during a certain time period, you can create scripts that run on a schedule to enable the user at the desired time and disable the user when their work day ends. […]
If you ever have the need to only allow PPP connection(s) (L2TP, PPTP etc) for a certain time period, you can use the below in a script or add directly to a schedule to terminate a PPP user that has an active connection. Replace user.name with the actual name /ppp […]
DHCP Process Discover – Client sends a broadcast Discover Offer – Server replies with an offer of IP details Request – Client has received the offer and requests the IP details offered Acknowledge – Server answers back with an acknowledgement of the IP details
Unplug your device from the power Press and hold the reset button and apply the power When LED starts flashing, release the button
IP=”$(echo $SSH_CONNECTION | cut -d ” ” -f 1)”HOSTNAME=$(hostname)NOW=$(date +”%e %b %Y, %a %r”) echo ‘Someone from ‘$IP’ logged into ‘$HOSTNAME’ on ‘$NOW’.’ | mail -s ‘SSH Login Notification’ YOUR_EMAIL_ADDRESS — -f FROM_EMAIL_ADDRESS
Stop unathorised access Block unwanted ports Classify and mark connections and packets for QOS or Routing Policy Firewall Functions: Filter packets using filter rules NAT: SRCNAT and DSTNAT to translate source and destination addresses Mangle: to mark connections and/or packets RAW: drop or bypass packets before reaching the connection tracking […]
Try these steps to use both WiFi and Ethernet as same time: Open Registry Editor. Go to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WcmSvc\Local. Create/change the fMinimizeConnections registry DWORD to 0. Close Registry Editor and reboot. The above is referenced from https://docs.microsoft.com/en-us/windows-hardware/drivers/mobilebroadband/understanding-and-configuring-windows-connection-manager.
In a cmd prompt run the below command net user username newpassword if the username contains a space do the below net user “user name” new password If you want to remove the password try the below net user username “”
OverviewRouterOS provides SSH client that supports SSHv2 logins to SSH servers reachable from the router. RequirementsFor this command to be available router has to have system and security packages installed. SSH/system ssh [remote-ip]In this case the username thats provided to the remote host is the one that is logged into […]
The below will open tcp port 10000 on FirewallD to get access to webmin firewall-cmd –permanent –zone=public –add-port=10000/tcp A reload of FirwwallD is needed to activate the permanent rule into the running environment firewall-cmd –reload