Skip to content
7 changes: 7 additions & 0 deletions docs/administrator-manual/network/multiwan.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ Here\'s how you can create a custom rule:
- Enter an address or range: specify a single IP address or a CIDR. Only IPv4 is supported.
- Any address: select this option to match any address.
- Select a firewall object: choose from the list of predefined firewall objects.

:::note

Routing by destination domain is currently not supported.

:::

5. Select the created policy for this traffic type: choose the custom policy you created in the first step as the routing preference for this specific type of traffic. By associating the rule with a particular policy, you are instructing the system to route the defined traffic according to the settings specified within that policy.

- `Sticky` option: The sticky option of a rule ensures that traffic originating from the same source IP always exits through the same WAN for a duration of 10 minutes. This can prevent issues when connecting to websites of banks, insurance companies, etc. This option is typically used for HTTPS traffic (443/TCP).
Expand Down
8 changes: 8 additions & 0 deletions docs/administrator-manual/vpn/openvpn_roadwarrior.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ To configure a new OpenVPN server, click **Create Server** button and configure
- `Certificate`: the connecting client must have its own certificate to authenticate; this is the recommended mode for most cases
- `Username password and certificate`: the connecting client must provide a valid username, password and certificate
- `Username, certificate and OTP`: the connecting client must provide a valid username, certificate and also an OTP code used as a password. This mode requires additional configuration in the client to receive to OTP code

:::note

When using `Username, certificate and OTP mode`, the password isn't checked. You just need to provide the username and, when asked for the password, enter the OTP code **only**.
If an incorrect code is entered, the client may report an error related to `static-challenge`.

:::

- `VPN Network`: the virtual network used by clients; every client will receive an IP address taken from this network. NethSecurity already suggests an uncommon network to avoid overlaps with other networks used by the firewall
- `Dynamic range IP start`: the first IP address that will be assigned to clients connecting to the server; the address must be part of the VPN network. When adding an IP reservation to client, make sure that the IP address is outside the dynamic range.
- `Dynamic range IP end`: the last IP address that will be assigned to clients connecting to the server
Expand Down
32 changes: 32 additions & 0 deletions docs/tutorial/nethsecurity-8-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,35 @@ On NethSecurity 8, QoS works differently from NethSecurity 7. The system automat
Custom rules are not currently supported — the tool works well out of the box. If custom rules become necessary, they will be introduced in a future release.

See [Quality of Service (QoS)](../administrator-manual/network/qos.md) for details.

## 11. How can I restore a NethSecurity 7.9 backup directly onto NethSecurity 8 if the source system is no longer accessible?

Direct restoration of a NethSecurity 7.9 backup onto NethSecurity 8 is not supported, to recover your setup, you must follow a two-step process:

* Restore the backup onto a NethSecurity 7 system.
* Run the migration process from NethSecurity 7 to NethSecurity 8.

**Tip:** For speed and simplicity, we recommend spinning up a temporary NethSecurity 7 Virtual Machine (VM) to perform the restoration and subsequent migration.

## 12. How to factory reset a NethServer 7.9 firewall not yet migrated to NethSecurity 8?

On NethServer 7, factory reset is only supported via a bootable USB drive, there is no internal software reset.
This procedure erases all data on the device.

**Prerequisites**
* Connect a monitor/keyboard or serial console.
* Access BIOS to set the USB drive as the primary boot device (check `Hard Drive BBS Priorities` if needed).

**Procedure**
* **Download Image:** [NethSecurity 7.9 NG (`.img.gz`)](https://ns-legacy.ams3.digitaloceanspaces.com/NethServer/nethsecurity-7.9.2009.box-20201130.img.gz)
* **Flash USB Drive:**
* **Linux/macOS:** `zcat nethsecurity-7.9.2009.box-20201130.img.gz | dd of=/dev/sdX bs=1M`
* **Windows:** Extract `.img.gz` with 7-Zip, then write the `.img` using **Win32DiskImager** or **balenaEtcher**.
* **Restore System:**
* Insert USB drive and boot the device.
* Wait for automatic flashing (up to 6 min).
* The box will beep 3 times and shut down when finished. Remove the USB drive.
* **First Boot:**
* Power on without any USB storage devices connected (they can break initial setup), wait up to 3 minutes for storage partitioning and setup.
* **Access Device:**
* Connect to any physical interface at `192.168.1.1`.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ Ecco come puoi creare una regola personalizzata:
- Immettere un indirizzo o un intervallo: specificare un singolo indirizzo IP o un CIDR. Solo IPv4 è supportato.
- Qualsiasi indirizzo: selezionare questa opzione per corrispondere a qualsiasi indirizzo.
- Selezionare un oggetto firewall: scegliere dall'elenco di oggetti firewall predefiniti.

:::note

L'instradamento per dominio di destinazione non è attualmente supportato.

:::

5. Selezionare il criterio creato per questo tipo di traffico: scegliere il criterio personalizzato creato nel primo passaggio come preferenza di routing per questo tipo di traffico specifico. Associando la regola a un criterio particolare, stai istruendo il sistema a instradare il traffico definito secondo le impostazioni specificate all'interno di quel criterio.

- Opzione `Sticky`: L'opzione sticky di una regola garantisce che il traffico proveniente dallo stesso indirizzo IP di origine esca sempre attraverso lo stesso WAN per una durata di 10 minuti. Questo può prevenire problemi durante la connessione a siti Web di banche, compagnie assicurative, ecc. Questa opzione è generalmente utilizzata per il traffico HTTPS (443/TCP).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ Per configurare un nuovo server OpenVPN, fai clic sul pulsante **Create Server**
- `Username and password`: il client che si connette deve fornire un nome utente e una password validi; solo gli utenti con una password impostata possono utilizzare questa modalità
- `Certificate`: il client che si connette deve avere il proprio certificato per autenticarsi; questa è la modalità consigliata per la maggior parte dei casi
- `Username password and certificate`: il client che si connette deve fornire un nome utente, una password e un certificato validi
- `Username, certificate and OTP`: il client che si connette deve fornire un nome utente, un certificato e anche un codice OTP utilizzato come password. Questa modalità richiede una configurazione aggiuntiva nel client per ricevere il codice OTP
- `Username, certificate and OTP`: il client che si connette deve fornire un nome utente, un certificato e anche un codice OTP utilizzato come password. Questa modalità richiede una configurazione aggiuntiva nel client per ricevere il codice OTP.

:::note

Quando si utilizza la modalità `Username, certificate and OTP`, la password non viene controllata: è sufficiente fornire lo username e, quando viene richiesta la password, inserire **solo** il codice OTP.In caso di codice errato il client potrebbe riportare un errore relativo alla static-challenge.

:::
- `VPN Network`: la rete virtuale utilizzata dai client; ogni client riceverà un indirizzo IP dalla rete. NethSecurity suggerisce già una rete inusuale per evitare sovrapposizioni con altre reti utilizzate dal firewall
- `Dynamic range IP start`: il primo indirizzo IP che sarà assegnato ai client che si connettono al server; l'indirizzo deve far parte della rete VPN. Quando si aggiunge una prenotazione IP a un client, assicurati che l'indirizzo IP sia al di fuori dell'intervallo dinamico.
- `Dynamic range IP end`: l'ultimo indirizzo IP che sarà assegnato ai client che si connettono al server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,42 @@ Su NethSecurity 8 il QoS funziona diversamente da NethSecurity 7. Il sistema ind
Al momento non sono previste regole personalizzate — lo strumento funziona ottimamente out-of-the-box. Se le regole custom si renderanno necessarie, verranno introdotte in una versione futura.

Consulta [Qualità del servizio (QoS)](../administrator-manual/network/qos.md) per i dettagli.

## 11.Come posso ripristinare un backup di NethSecurity 7.9 direttamente su NethSecurity 8 se il sistema sorgente non è più accessibile?

Il ripristino diretto di un backup di NethSecurity 7.9 su NethSecurity 8 non è supportato, per recuperare la configurazione è necessario seguire un processo in due passaggi:

* Ripristinare il backup su un sistema NethSecurity 7.
* Eseguire la migrazione da NethSecurity 7 a NethSecurity 8.

**Consiglio:** Per maggiore semplicità e velocità, si consiglia di creare una Macchina Virtuale (VM) temporanea con NethSecurity 7 su cui effettuare il ripristino e la successiva migrazione.

## 12. Come ripristinare alle impostazioni di fabbrica un firewall NethServer 7.9 non ancora migrato a NethSecurity 8?

Su NethServer 7, il ripristino alle impostazioni di fabbrica è supportato solo tramite un'unità USB avviabile; non esiste un ripristino software interno.
Questa procedura cancella tutti i dati presenti sul dispositivo.

**Prerequisiti**

* Collegare un monitor/tastiera oppure una console seriale.
* Accedere al BIOS per impostare l'unità USB come dispositivo di avvio principale (controllare `Hard Drive BBS Priorities` se necessario).

**Procedura**

* **Scaricare l'immagine:** [NethSecurity 7.9 NG (`.img.gz`)](https://ns-legacy.ams3.digitaloceanspaces.com/NethServer/nethsecurity-7.9.2009.box-20201130.img.gz)
* **Masterizzare l'unità USB:**

* **Linux/macOS:** `zcat nethsecurity-7.9.2009.box-20201130.img.gz | dd of=/dev/sdX bs=1M`
* **Windows:** estrarre `.img.gz` con 7-Zip, quindi scrivere il file `.img` utilizzando **Win32DiskImager** o **balenaEtcher**.
* **Ripristinare il sistema:**

* Inserire l'unità USB e avviare il dispositivo.
* Attendere il flashing automatico (fino a 6 minuti).
* Al termine, il dispositivo emetterà 3 segnali acustici e si spegnerà. Rimuovere l'unità USB.
* **Primo avvio:**

* Accendere il dispositivo senza alcun dispositivo di archiviazione USB collegato (potrebbero interrompere la configurazione iniziale), quindi attendere fino a 3 minuti per il partizionamento e la configurazione dello spazio di archiviazione.
* **Accedere al dispositivo:**

* Collegarsi a una qualsiasi interfaccia fisica all'indirizzo `192.168.1.1`.

Loading