Skip to content

Commit 9b3f429

Browse files
authored
Merge pull request #7635 from Brenduns/14414523-tunnel-server-ip-tables-module-manual-reload
Edits for the reload of ip_tables module
2 parents 8e1d832 + 4c940bc commit 9b3f429

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

memdocs/intune/protect/microsoft-tunnel-prerequisites.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords:
55
author: brenduns
66
ms.author: brenduns
77
manager: dougeby
8-
ms.date: 03/03/2022
8+
ms.date: 05/18/2022
99
ms.topic: how-to
1010
ms.service: microsoft-intune
1111
ms.subservice: protect
@@ -50,12 +50,11 @@ The following sections detail the prerequisites for the Microsoft Tunnel, and pr
5050
Set up a Linux based virtual machine or a physical server on which Microsoft Tunnel Gateway will install.
5151

5252
> [!NOTE]
53-
> Only the opearating systems and container versions that are listed in the following table are supported. Versions not listed are not supported. Only after testing and supportability are verified are newer versions added to this list.
53+
> Only the operating systems and container versions that are listed in the following table are supported. Versions not listed are not supported. Only after testing and supportability are verified are newer versions added to this list.
5454
55+
- **Supported Linux distributions** - The following table details which versions of Linux are supported for the Tunnel server, and the container they require:
5556

56-
- **Supported Linux distributions** - The following table details which versions of Linux are supported for the Tunnel server, and the container they require:
57-
58-
|Distributon version | Container requirements | Considerations |
57+
|Distribution version | Container requirements | Considerations |
5958
|-----------------------|--------------------------|--------------------|
6059
| CentOS 7.4+ | Docker CE | CentOS 8+ isn’t supported |
6160
| Red Hat (RHEL) 7.4+ | Docker CE | |
@@ -64,7 +63,6 @@ Set up a Linux based virtual machine or a physical server on which Microsoft Tun
6463
| Ubuntu 18.04 | Docker CE | |
6564
| Ubuntu 20.04 | Docker CE | |
6665

67-
6866
- **Size the Linux server**: Use the following guidance to meet your expected use:
6967

7068
|# Devices | # CPUs | Memory GB | # Servers | # Sites | Disk Space GB |
@@ -83,7 +81,6 @@ Set up a Linux based virtual machine or a physical server on which Microsoft Tun
8381
- **Install Docker CE or Podman**: Depending on the version of Linux you use for your Tunnel server, you'll need to install one of the following on the Linux server:
8482
- Docker version 19.03 CE or later
8583
- Podman version 3.0
86-
8784

8885
Microsoft Tunnel requires Docker or Podman on the Linux server to provide support for containers. Containers provide a consistent execution environment, health monitoring and proactive remediation, and a clean upgrade experience.
8986

@@ -94,7 +91,7 @@ Set up a Linux based virtual machine or a physical server on which Microsoft Tun
9491
> The preceding link directs you to the CentOS download and installation instructions. Use those same instructions for RHEL 7.4. The version installed on RHEL 7.4 by default is too old to support Microsoft Tunnel Gateway.
9592
- [Install Docker Engine on Ubuntu](https://docs.docker.com/engine/install/ubuntu/)
9693
- [Install Podman on Red Hat Enterprise Linux 8.4 and 8.5 (scroll down to RHEL8)](https://podman.io/getting-started/installation)
97-
These versions of RHEL don't support Docker. Instead, these versions use Podman, and *podman* is part of a module called "container-tools". In this context, a module is a set of RPM packages that represent a component and are usually installed together. A typical module contains packages with an application, packages with the application-specific dependency libraries, packages
94+
These versions of RHEL don't support Docker. Instead, these versions use Podman, and *podman* is part of a module called "container-tools". In this context, a module is a set of RPM packages that represent a component and that usually install together. A typical module contains packages with an application, packages with the application-specific dependency libraries, packages
9895
with documentation for the application, and packages with helper utilities. For more information, see [Introduction to modules](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/installing_managing_and_removing_user-space_components/introduction-to-modules_using-appstream) in the Red Hat documentation.
9996

10097
- **Transport Layer Security (TLS) certificate**: The Linux server requires a trusted TLS certificate to secure the connection between devices and the Tunnel Gateway server. You’ll add the TLS certificate, including the full trusted certificate chain, to the server during installation of the Tunnel Gateway.
@@ -287,14 +284,13 @@ The following details can help you configure an internal proxy when using Podmam
287284

288285
3. Restart the Tunnel Gateway server: Run `mst-cli server restart`
289286

290-
291-
Be aware that RHEL uses SELinux. Because a proxy that doesn't run on a SELinux port for *http_port_t* can require additional configuration, check on the use of SELinux managed ports for http. Run the following command to view the configurations: `sudo semanage port -l | grep “http_port_t” `
287+
Be aware that RHEL uses SELinux. Because a proxy that doesn't run on a SELinux port for *http_port_t* can require extra configuration, check on the use of SELinux managed ports for http. Run the following command to view the configurations: `sudo semanage port -l | grep “http_port_t”`
292288

293289
Example of the results of the port check command. In this example, the proxy uses 3128 and isn't listed:
294290

295291
:::image type="content" source="./media/microsoft-tunnel-prerequisites/check-selinux-ports.png" alt-text="Screen shot of the port check.":::
296292

297-
- If your proxy runs on one of the SELinux ports for **http_port_t**, then you can continue with the Tunnel Gateway install process.
293+
- If your proxy runs on one of the SELinux ports for **http_port_t**, then you can continue with the Tunnel Gateway install process.
298294
- If your proxy does't run on a SELunux port for **http_port_t** as in the preceding example, you'll need to make extra configurations.
299295

300296
**If your proxy port is not listed for** ***http_port_t***, check if the proxy port is used by another service. Use the *semnage* command to first check the port that your proxy uses and then later if needed, to change it. To check the port your proxy uses, run: `sudo semanage port -l | grep “your proxy port”`
@@ -372,7 +368,6 @@ The Microsoft Tunnel Gateway permissions group grants the following permissions:
372368

373369
- **Read** - View Microsoft Tunnel Gateway server configurations and sites. Server configurations include settings for IP address ranges, DNS servers, ports, and split tunneling rules. Sites are logical groupings of multiple servers that support Microsoft Tunnel.
374370

375-
376371
## Run the readiness tool
377372

378373
Before you start a server install, we recommend you download and run the most recent version of the **mst-readiness** tool. The tool is a script that runs on your Linux server and does the following actions:
@@ -381,7 +376,7 @@ Before you start a server install, we recommend you download and run the most re
381376

382377
- Confirms that your network configuration allows Microsoft Tunnel to access the required Microsoft endpoints.
383378

384-
- Checks for the presence of the ip_tables module on the Linux server. This check was added to the script on February 11 2022, when support for RHEL 8.5 was added. RHEL 8.5 doesn’t load the ip_tables module by default. If they are missing after the Linux server installs, you must [manually load the ip_tables module](#manually-load-ip_tables).
379+
- Checks for the presence of the ip_tables module on the Linux server. This check was added to the script on February 11 2022, when support for RHEL 8.5 was added. RHEL 8.5 doesn’t load the ip_tables module by default. If they're missing after the Linux server installs, you must [manually load the ip_tables module](#manually-load-ip_tables).
385380

386381
> [!IMPORTANT]
387382
> The readiness tool doesn't validate inbound ports, which is a common misconfiguration. After the readiness tool runs, review the [firewall prerequisites](#firewall) and manually validate your firewalls pass inbound traffic.
@@ -423,7 +418,7 @@ To check for the presence of this module, run the most recent version of mst-rea
423418

424419
If the module isn’t present, the tool stops on the ip_tables module check. In this scenario, you can run the following commands to manually load the module.
425420

426-
**Manually load the ip_tables module**:
421+
#### Manually load the ip_tables module
427422

428423
In the context of sudo, run the following commands on your Linux server:
429424

@@ -433,7 +428,12 @@ In the context of sudo, run the following commands on your Linux server:
433428

434429
3. Rerun the validation to confirm the tables are now loaded: `lsmod |grep ip_tables`
435430

436-
**Configure Linux to load ip_tables at boot**:
431+
> [!IMPORTANT]
432+
> When updating the Tunnel server, a manually loaded ip_tables module might not persist. This can require you to reload the module after the update completes. After your server update is completed, review the server for the presence of the ip_tables module.
433+
>
434+
> If the tables aren't present, use the preceding steps to reload the module, with the additional step to restart the server after the module is loaded.
435+
436+
#### Configure Linux to load ip_tables at boot
437437

438438
In the context of sudo, run the following command on your Linux server to create a config file that will load the ip_tables into kernel during boot time: `echo ip_tables > /etc/modules-load.d/mstunnel_iptables.conf`
439439

0 commit comments

Comments
 (0)