{% extends "base.html" %} {% block title %}Site-to-Site & Branch Networks - Enterprise VPN Hub{% endblock %} {% block content %}

Site-to-Site & Branch Networks

Connect local company networks, Headquarters, and remote branches to this VPN Hub

🏢

Primary Company Network (Headquarters)

Permanent site-to-site tunnel. Connected remote users are automatically routed into this primary network.

⬇️ Download Router Config (.conf)
Users will be routed to this subnet.
Public key of the main network's router / gateway.
Leave empty if HQ router initiates outbound connection.
🌐

Connected Branch Networks ({{ branches|length }})

Branches can be configured in Routed Mode (Layer 3) or Full Extension Mode (Layer 2 Bridged).

{% if branches %}
{% for b in branches %} {% endfor %}
Branch Name Subnet Connection Mode Tunnel IPs Peer Endpoint Router Config & Actions
{{ b['name'] }} {{ b['branch_subnet'] }} {% if b['mode'] == 'routed' %} 🔀 Routed into Main Network {% else %} 🔗 Full Extension (L2 Bridge) {% endif %} {{ b['tunnel_peer_ip'] }} {{ b['peer_endpoint'] or 'Inbound' }} ⬇️ Download Config
{% else %}
No branch networks configured yet. Click "Add Branch Network" to connect a remote office.
{% endif %}
{% endblock %}