In the context of VPN, a site-to-site connection refers to a connection between two different physical locations or networks. This type of connection is commonly used to allow communication between different offices or branches of a company.
Open the Site-to-site page.

Click Create site-to-site.

Then a window shows up with the following fields:
| Field | Description |
|---|---|
| Site label | Name of the site. |
| Tunnel type | switch (default, Layer 2: broadcast and multicast are forwarded) or router (Layer 3: only routed IP unicast; each member announces its subnets). |
| Site members | Gateways that belong to the site. For each member: Forward broadcast (ticked by default) and the subnets it exposes (router mode). |
Windows hosts, servers and gateways with an old firmware are not listed. After confirmation the configuration is sent automatically to the members.
In this mode Subnet variables in the host configuration files will be used to form a routing table. Only unicast packets of routable protocols (IPv4 and IPv6) are supported in this mode.
Brodcast / multicast data will not be forwarded. Layer 3
In this mode the MAC addresses of the packets on the VPN will be used to dynamically create a routing table just like an Ethernet switch does. Unicast, multicast and broadcast packets of every protocol that runs over Ethernet are supported in this mode at the cost of frequent broadcast ARP requests and routing table updates.
This mode is primarily useful if you want to bridge Ethernet segments. By selecting switch mode, Subnet parameter will be ignored.
Brodcast / multicast data will be forwarded. Layer 2
Select nodes you want in your site.

After confirmation, nodes will be automaticaly updated. You can see the state of the bridge on a device.