Note: If your device/service supports SHA256 and DH group 14, it is recommended to use these settings instead.
Configuring the tunnel at the Barracuda Management Interface
-
Open the Barracuda Management Interface
-
In the top menu, select Configuration > Virtual Servers > Your virtual server > Assigned Services > VPN (VPN-Service) > Site to Site
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
- Select IPsec IKEv2 Tunnels and create a new tunnel, then fill in the following information:
(1).png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
Phase 1:
- Encryption: AES256
- Hash: SHA256
- Diffie-Hellman Group: 14
- Proposal Handling: Strict
- Lifetime: 28800
Phase 2:
- Encryption: AES256
- Hash: SHA256
- DH-Group: 14
- Proposal Handling: Strict
- Lifetime: 3600
- Traffic Volume (KB): Unlimited
- Next, you will need to configure the Network Settings, go to the Configuration > Site to Site VPN (vpn) and edit or add a new one:
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
- Endpoint Type: IPv4
- One VPN Tunnel per Subnet Pair: Unchecked
- Universal Traffic Selectors: Unchecked
- Force UDP Encapsulation: Unchecked
- IKE Reauthentication: Checked
- Next Hop Routing: 0.0.0.0
- Interface Index: 0
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
Network Local:
- Local Gateway: Barracuda FW Public IP
- Local ID: Barracuda FW Public IP
- Network address: Internal-Network Subnets
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
Network Remote:
- Remote Gateway: the IP of your NordLayer server with a dedicated IP
- Remote ID: the IP of your NordLayer server with a dedicated IP
- Network address: 10.6.0.0
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
Dead Peer Detection:
- Action: Restart
- Delay (seconds): 30
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
- Click OK
Don't forget to click on Send Changes, Activation Pending and Activate:
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
Configuring firewall and static routing
Be sure to allow-list NordLayer private gateway public IP on your firewall rules to allow for incoming traffic, under Firewall > Forwarding Rules:
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
It should appear under the firewalls rules as seen below:
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
It is also necessary to add static routes from the NordLayer subnet (10.6.0.0/20) to the local network and from the local network to the NordLayer subnet (10.6.0.0/20) to the local network through the VPN tunnel gateway.
-
Go to Configuration-> Client Networks
-
Add a new network and set the following:
- Network Address: 172.XXX.0.0/16 (or relevant subnet)
- Gateway: local Barracuda IP
- Name: NordLayer (or any other name you chose for the tunnel).
- Select OK
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
Make sure the tunnel is up
At the Barracuda Management Interface, go to VPN -> Site-to-Site. If the tunnel is up the line will appear in the table:
.png?sv=2026-02-06&spr=https&st=2026-10-16T22%3A18%3A18Z&se=2026-10-16T22%3A30%3A18Z&sr=c&sp=r&sig=WmDk%2Fx91yj9Z8NM0T%2BC6NXc8ty1HgcHpb4TAQ29g9l0%3D)
Ending note:
In order to finalize the site-to-site tunnel, please create a setup in Sites tab of the NordLayer Control Panel.
- Pre-shared key - you can generate it or we can provide it
- Encryption details (AES, SHA and DH group) - AES256, SHA256 and DH group 14 are recommended (also must support IKEv2)
- Remote gateway/router public IP (must be reachable while connected to the server with a dedicated IP)
- Remote subnet and mask (the subnet is used in your local network)
Note: In case you have any questions or issues, press 'Chat with support' at the bottom of the page.