Jump to:navigation, search
Wiki





notempty
Dieser Artikel bezieht sich auf eine nicht mehr aktuelle Version!

notempty
Der Artikel für die neueste Version steht hier

notempty
Zu diesem Artikel gibt es bereits eine neuere Version, die sich allerdings auf eine Reseller-Preview bezieht































De.png
En.png
Fr.png






Set up multipath routing on the UTM
Last adaption: 08.2023
New:
  • Layout adjustments
notempty
This article refers to a Resellerpreview

11.7

Access: UTM-IP:Port or UTM-URL:Port
Port as configured at Network / Appliance Settings / Webserver
Default-Port: 11115
i.e.: https://utm.ttt-point.de:11115
Default: https://192.168.175.1:11115
→ Network →Network configurationTab Routing


Preliminary note

General

This HowTo explains what multipath routing is and how it can be set up on a Securepoint UTM. It also describes how traffic from specific services/end devices can be routed over a specific line.


What is multipath routing?

The combination of several Internet lines into one logical "Internet" is called multipath routing. Here, two or more default routes exist on the firewall and the packets are distributed accordingly. In addition to multipath routing, the Securepoint UTM also handles the distribution of data traffic (load balancing). In load balancing, a desired weighting can be entered for the individual routes. The Securepoint UTM can thus, for example, load two or more lines with a respective bandwidth of e.g. 16 MBit/s and 100 MBit/s equally.


Set-up

This manual explains two typical set-up options. One is multipath routing with two directly connected DSL lines (Scenario I) and the other is with one DSL line and one router connection (Scenario 2).



Example scenario 1

Two DSL lines are connected to the Securepoint UTM (wan0 and wan1). Line 1 (wan0) has a bandwidth of 50 MBit/s and line 2 (wan1) has a bandwidth of 25 MBit/s.

Zones

Scenario 1, Step 1 - Zones

The PPP interfaces are configured so that both have unique zones. In this example, we create the zones "external-2" and "firewall-external-2" and assign them to the interface wan1. The wan0 has the zones "external" and "firewall-external". The zones are necessary so that corresponding network objects and rules can be created later.

UTM v12.4 Netzwerkkonfiguration PPoE-en.png
Scenario 1, network interfaces

Routes

Scenario 1, Step 2 - Routes

A default route is required for each line so that data traffic can be sent over both lines. This can be created under → Network →Network configurationTab Routing. Since the lines have different bandwidths (50 MBit/s and 25 MBit/s respectively), an even load on the lines can be achieved using the Weighting option.

UTM v12.4 Netzwerkkonfiguration Routing-en.png
Scenario 1, Routing

Create network objects

Scenario 1, Step 3 - Create network objects

Rules are created in Securepoint UTM using network objects under → Firewall →PortfilterTab Network objects Button + Add object. Since there is no network object for a second line by default, it must now be created. On the one hand we need the network object for the network (Internet-2) and on the other hand the network object for the interface of the firewall in this zone (external-interface-2).
The network objects should look like the following:

Name: Internet-2 Choose a name UTM v12.4 Portfilter Netzwerkobjekt hinzufügen-en.png
Internet-2-Object
Type: Network (Address) Select types in the drop-down menu
Address: 0.0.0.0/0 Network IP for the entire internet
Zone: external-2 Select created zone
Groups:    
Save Click here to directly create the next network object
Name: external-interface-2 Choose a name UTM v12.4 Portfilter Netzwerkobjekt external interface 2-en.png
external-interface-2-Object
Type: Dynamic interface Select types in the drop-down menu
Address: wan1 Select Wan1 as interface
Zone: firewall-external-2 Select created zone
Groups:    
Save and close Click here to complete the creation of network objects

Create rules

Scenario 1, Step 4 - Create rules
Now the rules are created. In this example, "default-internet" must be released to the Internet.
Here it must be ensured that the Internet object matches the selected HideNAT object as a rule!
The rules will then look like this:
UTM v12.5 Firewall Portfilter Regel anlegen Ziel Internet-en.png
Rules in the port filter
# Source Destination Service NAT Action Active
Dragndrop.png 9 Network.svg internal-network World.svg internet Service-group.svg default-internet HN Accept On
Dragndrop.png 10 Network.svg internal-network World.svg internet-2 Service-group.svg default-internet HN Accept On

Example scenario 2

A modem is connected to LAN0 of the firewall, with the Securepoint UTM taking over dialing in. A Fritzbox, which acts as a router, is connected to LAN2. Line 1 (wan0) has a bandwidth of 50 MBit/s and line 2 (LAN2) has a bandwidth of 25 MBit/s.

Zones

Scenario 2, Step 1 - Zones

The external interfaces (wan0 and LAN2) are configured so that both have unique zones. In this example, the zones "external-2" and "firewall-external-2" are also created and assigned to LAN2. The wan0 has the zones "external" and "firewall-external". The zones are necessary so that corresponding network objects and rules can be created later.

Routes

Scenario 2, Step 2 - Routes

In order for the data traffic to be send over both lines, a default route is required for each line. In this scenario, however, there is a special feature due to the router in front of the LAN2:
For routes to specify LAN2 as the gateway interface, it is necessary to tell the firewall the gateway for this interface. This works via the Route-Hint IPv4 option in the eth2 settings. The gateway 192.168.178.1 is specified here. Now the LAN2 can be specified as the default gateway.
Now the two default routes must be created. Since the lines have different bandwidths (50 MBit/s and 25 MBit/s respectively), the Weighting option can be used to achieve an even load on the lines.

MTU: 1500 Default UTM v12.4 Netzwerkkonfiguration Einstellung Route hint IPv4-en.png
Route-Hint-Settings eth2
Autonegotion: On Must be activated
Route Hint IPv4: 192.168.178.1/---  Specify the IPv4 address here
Route Hint IPv6:    /---  If available, enter the IPv6 address here
This is what the created default routes look like. UTM v12.5 Netzwerkkonfiguration Routing LAN2-en.png
Created default routes

Create network objects

Scenario 2, Step 3 - Create network objects
Rules are created in Securepoint UTM using network objects under → Firewall →PortfilterTab Network objects Button + Add object. Since there is no network object for a second line by default, it must now be created. On the one hand we need the network object for the network (Internet-2) and on the other hand the network object for the interface of the firewall in this zone (external-interface-2).


The network objects should look like the following:

Name: Internet-2 Choose a name UTM v12.4 Portfilter Netzwerkobjekt hinzufügen-en.png
Internet-2-Object
Type: Network (Address) Select types in the drop-down menu
Address: 0.0.0.0/0 Network IP for the entire internet
Zone: external-2 Select created zone
Groups:    
Save Click here to directly create the next network object
Name: external-interface-2 Choose a name UTM v12.4 Portfilter Netzwerkobjekt external interface 2-en.png
external-interface-2-Object
Type: Dynamische Schnittstelle Select types in the drop-down menu
Interface: wan1 Select Wan1 as interface
Zone: firewall-external-2 Select created zone
Groups:    
Save and close Click here to complete the creation of network objects

Create rule

Scenario 2, Step 4 - Create rules
Now the rules are created. In this example, "default-internet" must be released to the Internet.
Here it must be ensured that the Internet object matches the selected HideNAT object as a rule!
The rules will then look like this:
UTM v12.5 Firewall Portfilter Regel anlegen Ziel Internet-en.png
Rules in the port filter
# Source Destination Service NAT Action Active
Dragndrop.png 9 Network.svg internal-network World.svg internet Service-group.svg default-internet HN Accept On
Dragndrop.png 10 Network.svg internal-network World.svg internet-2 Service-group.svg default-internet HN Accept On

Routing for specific end devices and services

Since data traffic always "jumps" from line to line in multipath routing, this can lead to errors in certain scenarios. For example, an external server must always be addressed via the same source IP. To implement this, the "rule routing" function is used. As an example, the SBS with the IP 203.0.113.203 should always be sent via the line wan0.

Network object for the server

Step 1 - Network object for the server

First, a network object is created for the server so that it can be specified later in the rule.
In this example, the network object looks like this:

Name: Server Choose a name UTM v12.5 Portfilter Netzwerkobjekt hinzufügen Server-en.png
SBS-Netzwerk object
Type: Host Select the type host
Address: 203.0.113.203/---  Specify IP address
Zone: internal Select "internal" as zone
Gruppen:    

Create rule

Step 2 - Create rule
Now a rule can be defined with the network object. In the rule, the rule routing must then be specified and set to wan0 so that the server always communicates to the outside via this interface. notempty
It is imperative that the destination network object (Internet) matches the HideNAT object (external-interface) and the rule routing interface (wan0)! Otherwise the rule routing will not work.
Active: On The rule must be active UTM v12.5 Portfilter Regel hinzufügen LAN2-en.png
Rule-Routing-Rules
Source: Host.svg Server Select server
Destination: World.svg Internet Specify the "Internet" as the destination
Service: default-internet choose "default-internet"
Action: ACCEPT Choose "Accept"
Groups: Rule-Routing Choose "Rule-Routing"
NAT
Type: HIDENAT Must select
Network object (Node): Interface.svg external-interface Choose "external-interface"
Service:
Extras
Rule Routing: wan0 Specify interface
QOS:
Time profile:
Add and close Click here to add a rule

Rule positioning

Step 3 - Rule positioning
Since the ruleset in the Securepoint UTM is processed from top to bottom, it is essential that the rule routing rule comes before the "global" rule. To be on the safe side, it is best to create a new rule group that is positioned at the top of the port filter. All rule routing rules are then created in this rule group and thus take effect first.
UTM v12.5 Portfilter Rule-Routing-en.png
Positioning
Rule routing can of course also "route" individual services, such as HTTP, over a specific line. The rule must then be adapted accordingly.