Skip to main content

Balancing and Redundancy

Configuring channel redundancy, static and dynamic balancing.


If you have multiple connections to Internet service providers, you can use them in the following ways:

  • Redundancy of one connection so that when it is disconnected, traffic goes through other available connections.
  • Static balancing of traffic between multiple connections. With it, some users of the local network will access the Internet through one provider, some through another.
  • Dynamic balancing of traffic between multiple connections. With it, connections will switch alternately depending on the load, and sessions from all users will be evenly distributed between them.

Preparation

Create an additional connection to the Internet provider. The process of creating connections is described in the article on Ethernet connection. Thus, the server must have at least two Internet connections.

To work with traffic in SafeUTM, it is important to consider two things: routing and NAT. This applies to both balancing and redundancy.


Channel Redundancy

To set up redundancy, go to Services -> Balancing and redundancy and select the Redundancy mode.

image-1661603834145.png

  • The priority of using connections is set by their order in the table, from top to bottom. The connection that is currently in use is marked with tag In use.
  • To change the priority, you can use the corresponding controls (arrow icons).
  • If the Internet has become unavailable through the connection used, the system will switch to a higher priority one that has access to the Internet.

Access to Internet via Specific Connection to Provider (Static Balancing)

Such scheme of connection to several Internet service providers is often used in the following cases:

  • When some resources on the Internet are cheaper to visit through another Internet provider and traffic needs to be routed through it.
  • When it is necessary to grant access to the internal networks of one of the providers to certain users or groups of users.

To configure this connection scheme, follow these steps:

  1. Go to menu section Services -> Routing.
  2. Add routing rules for a specific list of resources traffic to which needs to be directed through the necessary connection to the provider by clicking Add.
Example of a rule:

image-1661603874788.png

In this example, traffic directed to facebook.com from user John Smith will be directed through the connection to provider Connection to provider No1.


Load Balancing Across Multiple Connections (Dynamic Balancing)

To configure this connection scheme, follow these steps:

  1. Go to Services -> Balancing and Redundancy.
  2. Select the operating mode Balancing.

image-1661603942051.png

To evenly distribute sessions between connections, you must specify the value Bandwidth – the maximum Internet speed according to the tariffs of your providers. By default, the bandwidth is set to 100 Mbit/s. The server will automatically balance traffic depending on the load of connections.

You do not need to create routes or perform any other settings to balance traffic. Proxy server traffic will also be balanced automatically.