# How to Add Egress

{% embed url="<https://youtu.be/CJVqDC_tXxU>" %}

### Purpose

How to Configure Egress Routes in a Netmaker Network

### Introduction to Egress Networking

Egress networking is a powerful feature in Netmaker that enables secure remote access to entire local networks (LANs) through a single gateway device. This eliminates the need to install Netclient endpoints on every individual device at a remote location, such as printers, IP cameras, or legacy servers. Instead, one or more Netmaker nodes act as a router, forwarding traffic from the overlay network into the local site's infrastructure.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/11f906de-1dfc-4ff5-a8ef-84becc15eee7-screenshot_0_0.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183216Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=80ff9c779d2d9b2cfc86d2184a10241218a0086863dd7d281bcbf88ec7dbc49f" alt=""><figcaption></figcaption></figure>

#### Core Concepts and Use Cases

By designating a node as an egress gateway, you can facilitate connectivity for various environments, including:

* **Office Networks:** Providing remote employees access to local file shares and internal resources.
* **Edge and Retail Sites:** Managing IoT devices or point-of-sale systems at distributed locations.
* **Factories:** Accessing industrial equipment on specialized subnets.

#### Prerequisites for Egress Setup

To begin setting up egress, you must first identify the nodes that will serve as the traffic gateways. These nodes must be physically located at the site and have reachability to the local network you wish to expose.

1. Navigate to the Netmaker dashboard and select the appropriate network from the **Networks** menu.
2. Click on the **Nodes** section in the left sidebar to manage your network endpoints.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/a830c600-9980-4606-96de-b319561fc70f-screenshot_1_8.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183216Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=6f307a1162dfe8e026deaa682c3ead3a97772f744baf9ddbc93eb55228e46409" alt=""><figcaption></figcaption></figure>

3. Ensure the **Devices** tab is selected at the top of the dashboard to view the connected hardware.
4. Identify the target nodes (e.g., **site-linux-1** and **site-linux-2**) and verify their **STATUS** is **Online**. Having multiple nodes allows for redundant routing if one gateway fails.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/8e525665-22a9-482f-8071-63b0010d4c2e-screenshot_2_56.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183217Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=0adb84bf64bc2321992b0defb611031d81c93e3e067d7d5c3f1e2eff832ddb39" alt=""><figcaption></figcaption></figure>

### Configuring Egress Routes for Netclient Nodes

Egress gateways allow your Netmaker network to reach remote local networks—such as office LANs, retail sites, or factory floors—using a single installed device as a router. This eliminates the need to install Netmaker endpoints on every individual device at the remote site.

#### Initiating the Egress Route

To begin, identify the nodes that will act as the gateway. Ensure they are online and connected to your network. Navigate to the Netmaker dashboard and select the **Egress** section from the left-hand sidebar menu.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/0fe557e6-8981-4fbd-acb8-c633ba3620b7-screenshot_3_70.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183216Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=9fadb34307a2b239fcd58a6f36f77c0f34826fe9ab1f951b86a29784825a1bdd" alt=""><figcaption></figcaption></figure>

1. Click the blue **+ Add route** button located in the top-right corner of the dashboard.
2. In the **Name** field, enter a descriptive label for the route, such as `Remote Site Network`.
3. Provide additional context in the **Description** field, for example, `Edge Location`.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/7a5876fb-8f3b-43d7-8021-c5ca1cd9dbbf-screenshot_4_76.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183217Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=b03e2dd737db666471317fc61e46fc61a515a52a7c0be0f929164e1be8e3d77c" alt=""><figcaption></figcaption></figure>

#### Network and Routing Configuration

After naming the route, you must define the technical parameters for traffic forwarding and target addresses.

* **Enable NAT:** Ensure the **Enable NAT for egress traffic** toggle is switched to the **ON** position. This is the standard setting for most environments unless you have established custom NAT rules manually.
* **Define Subnet:** In the **Egress** field, enter the CIDR range of the local network you wish to reach (e.g., `192.168.57.0/24`).

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/42f8f60a-8f15-4140-b5cc-61befd75e9f4-screenshot_5_100.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183216Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=c1fb7d819b9cf12108e67ae71d35108786680c5c18b5c0b235702221619a03a0" alt=""><figcaption></figcaption></figure>

#### Assigning Nodes and Redundancy

Click **Next** to proceed to node assignment. Netmaker allows you to assign multiple nodes to a single egress route to ensure high availability.

1. From the **Select node** dropdown, choose your primary node (e.g., `site-linux-1`).
2. To implement redundancy, click the **+ Add node** button.
3. Select a secondary node (e.g., `site-linux-2`) from the additional dropdown. If the primary node fails, the secondary node will automatically take over the routing tasks for that traffic.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/95ca9769-5f10-43af-8d6b-d68eaf724369-screenshot_6_110.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=3d6a73ef652176f3cf0658c61ff6b6303a55c2cd5e12370c115d590f09218b77" alt=""><figcaption></figcaption></figure>

### Access Policies and Granular IoT Routes

After defining the target network and assigning gateway nodes, Netmaker allows you to refine who can actually use these routes through access control policies. This ensures that only authorized users or groups can reach the remote infrastructure.

#### Configuring Egress Access Policies

By default, access can be restricted to specific user groups. Within the **Create new egress route** wizard, navigate to the **Egress access policies** step. Toggle the **Users Policy** switch to the **Enabled** position. From the **Source** dropdown, you can select specific groups, such as the **All Networks User Group**, to grant broad access to all network members.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/d6a5a6ae-8c37-499c-847f-ac55e462f4d6-screenshot_7_120.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183216Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=efa108696c98830461faedab3396b99a2f41e6962935c0f45df7e3c7922e7449" alt=""><figcaption></figcaption></figure>

Once the policy is defined, clicking **Finish** will finalize the route. A notification confirming 'Egress Route Created' will appear, and the route will be active immediately.

#### Adding Granular Routes for IoT Devices

Egress routes are not limited to entire subnets; they can be configured for individual IP addresses to provide granular access to specific hardware, such as an IoT camera or a single server.

1. Click the **+ Add route** button on the Egress dashboard.
2. Provide a descriptive name and description, such as **'IoT Device On Site'** and **'Camera running on site'**.
3. In the **Egress** field, instead of a CIDR range, enter the specific IP address of the device (e.g., `192.168.57.45`).
4.

```
<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/8a0f5e43-4fc7-4c9f-9e90-95e691d2f5d7-screenshot_8_164.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=41c2613f75803d1f1c4ea56b02f1df869b0ea0de67cb35d2784dbf90875b76df" alt=""><figcaption></figcaption></figure>
```

5. Assign a gateway node (e.g., **site-linux-1**) to handle the traffic for this specific device.
6. Set a more restrictive access policy if necessary. For instance, you may choose to grant access only to an **'admin'** user rather than a whole group.

After clicking **Finish**, the new granular route will appear in the **Egress** tab alongside your broader network routes, allowing for precise management of remote device access.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/c4477f96-7c61-440a-a6d9-e0e17d31c85e-screenshot_9_192.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=d50d5b16bc49e40fc2abf6f5885c2d9ce9d56aeab074c677ed5d70239400615e" alt=""><figcaption></figcaption></figure>

### Configuring Egress via WireGuard Static Configs

For devices where the Netclient cannot be installed—such as hardware routers or specialized IoT appliances—Netmaker allows you to configure egress routing using static WireGuard configuration files. This method involves manually defining additional network addresses and routing scripts within the dashboard before deploying the configuration to the target device.

#### Accessing Configuration Files

To begin, navigate to the **Nodes** section from the left-hand sidebar. Unlike standard nodes, static configurations are managed under a separate view.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/40af32e1-7619-4786-943f-e04c96061855-screenshot_10_206.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=ef06f3da95e0e2f4336659cff066753314186a329cb2a743364d11e610c76cf0" alt=""><figcaption></figcaption></figure>

1. Select the **Config files** tab at the top of the Nodes dashboard.
2. Identify the configuration file for your target device (e.g., **'edge-server'**).
3. Click the three-dot menu icon on the right and select **Edit** to open the **Update Config File** modal.

#### Defining Egress Networks

Once inside the configuration editor, you must define which remote networks the device should provide access to. This is handled through the **Advanced Settings** menu.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/0ef6d62e-0526-434a-9a4b-b723c1109ece-screenshot_11_222.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183216Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=7175ba9934ec884fd7d3543aaf835d29fdf3e8c1672c5d2502cd1a80afe40e49" alt=""><figcaption></figcaption></figure>

In the **Additional Addresses (Optional)** field, enter the CIDR range of the local network you wish to expose (e.g., `10.45.0.0/16`). These addresses will be automatically added to the `AllowedIPs` section of the generated WireGuard configuration.

#### Implementing Routing and Forwarding Scripts

Because static WireGuard nodes do not benefit from NetClient's automated routing management, you must manually define traffic forwarding rules using **Post Up** and **Post Down** scripts. These are typically implemented via `iptables` to enable NAT masquerading.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/ab371f0c-40ab-4256-a955-f11d3efcbedb-screenshot_12_258.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183217Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=efa57c1855b894a7a680ad2cb23ae664549008c8b68c1a213167075b384aeb2b" alt=""><figcaption></figcaption></figure>

* **Post Up:** Enter the command to enable traffic forwarding when the interface starts. For example:\
  `iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE`
* **Post Down:** Enter the command to remove the rule when the interface stops to keep the host routing table clean:\
  `iptables -t nat -D POSTROUTING -o eth1 -j MASQUERADE`

*Note: Replace `eth1` with the actual WAN or local interface of your device.*

#### Saving and Verification

After finalizing the settings, click the **Update Config File** button. The dashboard will refresh to show the updated status.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/0fc942bb-e26c-4e1d-a6b9-9ff8bb82f24c-screenshot_13_286.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=0a8cc8f98a980865dbc5589638388bf652284bea7ece7552f067fa3468e05497" alt=""><figcaption></figcaption></figure>

Verify that the new CIDR ranges appear in the **EGRESS** column for that node. Because this is a static configuration, you must now click **View/Download config** to retrieve the updated `.conf` file and manually apply it to your device to finalize the routing path.

### Deploying Updated Configs on Local Devices

When using static WireGuard configuration files instead of the NetClient, updates made within the Netmaker dashboard do not synchronize automatically. You must manually retrieve the updated configuration and apply it to your local edge server or router to activate new egress routes or routing rules.

#### Retrieving the Updated Configuration

To begin, navigate to the **Config files** tab in the Nodes section and click on the specific node name. In the **Client Information** window that appears, select **View/Download config** at the bottom of the screen.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/600d265c-b932-4575-a659-47376e22545b-screenshot_14_292.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=6d4dbd33ae6ff6d11d40fa805921bd02681185aa77452a3ceda17cd697af650a" alt=""><figcaption></figcaption></figure>

Copy the generated WireGuard configuration text. It is critical to verify that the `AllowedIPs`, `PostUp`, and `PostDown` lines are included, as these contain the necessary CIDR ranges and NAT masquerading rules for your egress traffic.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/83f43df7-8906-436f-b1c1-ef9cc84c1197-screenshot_15_298.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=5a0a57a97a455e8a45a570e6c12ae20d970a91130a3f2ec712c59be986f6364a" alt=""><figcaption></figcaption></figure>

#### Applying Changes via the Terminal

Once you have the new configuration, access the command-line interface of your gateway node. You must replace the existing configuration file and restart the interface for the changes to take effect.

1. **Shut down the interface:** Disable the current WireGuard connection by running `wg-quick down [config_name]`.
2. **Clean the network device:** If necessary, ensure the device is fully removed by executing `ip link delete dev [config_name]`.
3. **Replace the configuration file:** Remove the outdated file using `rm /etc/wireguard/[config_name].conf`.
4. **Update the file:** Create a new configuration file at the same path using a text editor like **vim** and paste the updated content into it.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/f2fa2c68-3729-46bf-9d88-febf367fef5d-screenshot_16_310.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=702e47326972be711f4f92fff5302cd126894a25b916d246861c345ec093758c" alt=""><figcaption></figcaption></figure>

#### Verifying Egress Parameters

Before finalizing, inspect the file within your text editor. Confirm that the `AllowedIPs` field under the `[Peer]` section includes the remote network CIDR ranges you defined in the dashboard. Additionally, ensure the `PostUp` and `PostDown` scripts correctly reference your local network interface (e.g., `eth1`) for iptables forwarding.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/f56eda8b-1ab6-4546-abf6-7b645845dcbf-screenshot_17_332.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183218Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=23b18820c63a7950c502d5ce2e642e09fb08a308a76e406a114a3940435bc688" alt=""><figcaption></figcaption></figure>

#### Creating New Static Configs

If you are deploying a new node rather than updating an existing one, you can use the **+ Add config file** button in the Nodes view. During the setup wizard, navigate to the **Egress (Optional)** section to define external routes and traffic forwarding rules before the file is generated for download.

<figure><img src="https://limesync-general-production.000da24485a2eb1df827157d23f74fdc.r2.cloudflarestorage.com/c0d109fb-1725-4769-a8ed-443da5e18a40/6681c732-5ec0-44f2-a03e-ba3f00c20d36/57f5ef7b-1ec3-423a-9e7e-68b8b0c1cb77/daf709ec-8091-4329-b3d7-b821fc54306d-screenshot_18_362.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=934e8b232ee153ba21e195ef724a2066%2F20260121%2Fauto%2Fs3%2Faws4_request&#x26;X-Amz-Date=20260121T183219Z&#x26;X-Amz-Expires=3600&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=4357f43370b4217a85f1321b2e517ae3884b1aa867226353b6f6561a902ce466" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.netmaker.io/getting-started/walkthrough/how-to-add-egress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
