Ubuntu netplan config file

 Ubuntu netplan config file

Creat file 01-netcfg.yaml in /etc/netplan

pico /etc/netplan/01-netcfg.yaml

network:
    version: 2
    ethernets:
        ens192:
            addresses:
            - 10.20.1.16/24
            dhcp4: false
            gateway4: 10.20.1.216
            nameservers:
                addresses:
                - 10.20.1.11
                search:
                - mpro.gov
            routes:
             - to: 10.0.0.0/8
               via: 10.20.0.254

NGINX - To allow a specific User-Agent from one IP address only

Step 1: Define the Map BlocksAdd this configuration inside the http {} block of your /etc/nginx/nginx.conf file. This logic evaluates the in...

Mais vistos