Soluții

Creating a cloudflare tunnel (for safely accessing your SOHO from outside your LAN)

This is useful if you want to access your internal network applications from outside by creating a secure tunnel linked to your domain

1. Create a tunnel

  • Log in to Zero Trust ↗ and go to Networks > Tunnels
  • Select Create a tunnel
  • Choose Cloudflared for the connector type and select Next
  • Enter a name for your tunnel. We suggest choosing a name that reflects the type of resources you want to connect through this tunnel (for example, enterprise-VPC-01)
  • Select Save tunnel
  • Next, you will need to install cloudflared and run it. To do so, check that the environment under Choose an environment reflects the operating system on your machine, then copy the command in the box below and paste it into a terminal window. Run the command.
  • Once the command has finished running, your connector will appear in Zero Trust.Connector appearing in the UI after cloudflared has run
  1. Select Next.

The next steps depend on whether you want to connect an application or connect a network.

2a. Connect an application

Before you connect an application through your tunnel, you must:

Follow these steps to connect an application through your tunnel. If you are looking to connect a network, skip to the Connect a network section.

  1. In the Public Hostnames tab, select Add a public hostname.
  2. Enter a subdomain and select a Domain from the dropdown menu. Specify any subdomain or path information.
  3. Specify a service, for example https://localhost:8000
  4. Under Additional application settings, specify any parameters you would like to add to your tunnel configuration
  5. Select Save hostname.

The application is now publicly available on the Internet. To allow or block specific users, create an Access application.

2b. Connect a network

Follow these steps to connect a private network through your tunnel.

  1. In the Private Networks tab, add an IP or CIDR
  2. Select Save tunnel.

To configure Zero Trust policies and connect as a user, refer to Connect private networks.

3. View your tunnel

After saving the tunnel, you will be redirected to the Tunnels page. Look for your new tunnel to be listed along with its active connector.

Tunnel appearing in the Tunnels table

[mai mult...]

Creating a ZFS pool in Proxmox-VE

We can use ZFS as a local or external storage option for the VMs and containers with Proxmox VE. In order to do so, we must run the following steps:

Steps to add ZFS storage to Proxmox

1. Set Proxmox VE on the servers we intend to use for managing VMs and containers.

2. Create a ZFS pool on the disks we need to assign to VMs and containers using local storage on the VE server. Make that the pool is already established and reachable from the Proxmox VE host if we install external ZFS storage from a different server.

3. Proxmox VE employs LVM as its storage backend by default. In order to use ZFS as a storage option, enable ZFS on the Proxmox VE host. It includes installing the ZFS package and turning on the ZFS service.

4. With ZFS enabled, a ZFS dataset will be created and used by VE as a pool. Typically, this dataset is connected to a particular ZFS pool path.

5. We’ll add this dataset as storage using the VE web interface (GUI). Choose “ZFS” as the storage type by going to “Datacenter” >> “Storage” >> “Add”. After that, give the pertinent information, such as the dataset path and storage choices.

6. In order to give VE the access rights necessary to read and write data to the storage, we need to modify the permissions of the ZFS dataset.

7. After installing the ZFS storage, it’s crucial to make that Proxmox VE can access and use the ZFS dataset as needed.

8. Finally, create Virtual Machines and Containers that Use ZFS Storage. Now that the ZFS storage has been configured, we may produce virtual machines and containerized software that utilizes the ZFS storage. We can pick the ZFS storage pool we previously installed while creating a virtual machine (VM) or container by selecting the storage location option.

[mai mult...]

Cum rulați programe vechi pe Windows 11 cu setări de compatibilitate?

Ați încercat vreodată să rulați un program vechi pe Windows 11 și v-ați trezit cu coduri de eroare pe care nu le înțelegeți? Din fericire, Windows are câteva setări de compatibilitate care pot ajuta la salvarea situației.

Ce face modul compatibilitate?
Aplicațiile concepute pentru anumite versiuni de Windows verifică adesea versiunea sistemului de operare instalat. Pe versiunile mai noi de Windows, această neconcordanță de versiune poate împiedica adesea rularea programelor mai vechi. Aici intervine modul Compatibilitate, deoarece nu toate programele sunt compatibile cu versiunile anterioare, atât din punct de vedere hardware, cât și software.

În esență, modul Compatibilitate din Windows face ca un program să creadă că rulează pe o versiune mai veche de Windows. Acest lucru permite programelor moștenite să ruleze corect pe versiunile moderne de Windows, în ciuda schimbărilor în căile de sistem, biblioteci, sisteme de fișiere, API-uri și multe altele.

Există alte câteva caracteristici de compatibilitate, cum ar fi modul de culoare redus, dezactivarea optimizărilor pe tot ecranul și utilizarea gestionării culorilor ICC moștenite, printre altele. De asemenea, permite unele căi speciale de foldere care au încetat să mai existe de la Windows XP. De exemplu, „Documents and Settings” a devenit „Users” în Vista, în timp ce „Local Settings” și „Application Data” s-au transformat în „AppData/Local” și „AppData/Roaming”.

Rețineți că modul Compatibilitate nu va rezolva incompatibilitățile fundamentale. Nu veți putea neapărat să rulați un joc sau un program vechi din Windows XP pe Windows 11 prin simpla schimbare a setărilor de compatibilitate. Există încă tone de API-uri, cerințe hardware, drivere și multe altele care s-au schimbat semnificativ pe măsură ce Windows a evoluat.

Din fericire, utilizarea soluționatorului de probleme de compatibilitate a programului vă poate ajuta să identificați o anumită problemă de compatibilitate cu care vă puteți confrunta.

[mai mult...]