Monthly Archives: January 2020

Rogue DHCP Server DHCP Snooping Cisco Switch

การตั้งค่า DHCP Snooping บน Cisco Switch
  1. เปิดการทำงานของ DHCP Snooping บน Global
  2. เปิดการทำงานของ DHCP Snooping สำหรับ VLAN ที่ต้องการ
  3. กำหนดพอร์ต Trusted และ Untrusted
  4. ปิดการทำงาน Option 82

Continue reading

IIS Redirect HTTP to HTTPS

Setting up an HTTP/HTTPS redirect in IIS

Once the SSL certificate is installed, your site still remains accessible via a regular insecure HTTP connection. To connect securely, visitors must specify the https:// prefix manually when entering your site’s address in their browsers.

In order to force a secure connection on your website, it is necessary to set up a certain HTTP/HTTPS redirection rule. This way, anyone who enters your site using a link like “yourdomain.com” will be redirected to “https://yourdomain.com” or “https://www.yourdomain.com” (depending on your choice) making the traffic encrypted between the server and the client side.

Below are steps to setup a IIS HTTPS redirect: Continue reading

Installing Webmin on Ubuntu 18.04

  1. Start by updating the packages list and installing the dependencies:
    sudo apt updatesudo apt install software-properties-common apt-transport-https wget
  2. Next, import the Webmin GPG key using the following wget command:
    wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -

    And enable the Webmin repository by typing:

    sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
  3. Install the latest version of Webmin by typing:
    sudo apt install webmin

    Once the installation finishes, the following output will be displayed:

    Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/
    as root with your root password, or as any user who can use sudo
    to run commands as root.

    The Webmin service will start automatically.

Continue reading