# Connectivity Gateway 1.8

> Documentation for Connectivity Gateway 1.8. Every page is linked as markdown. The index of all documentation is at https://docs.cennso.com/llms.txt.

## Introduction

- [Introduction](https://docs.cennso.com/components/cgw/1.8.md): Connectivity Gateway (CGW) is a network function that allows you to introduce inbound and outbound connectivity into a Kubernetes cluster. As standard Kubernetes Ingress and Egress support only layer 4 and 7 of the OSI network stack, CGW can do more.
- [Routing basics](https://docs.cennso.com/components/cgw/1.8/introduction/routing_basics.md): To announce routes to external partners, we use the Border Gateway Protocol (BGP). Using this, the routers connect and create a session, and announce network prefixes. In the example above, the router C2 announces the prefix 2001:db8:2000::/64 through 2001:db8:1000::2.
- [Policy and route-based VPN](https://docs.cennso.com/components/cgw/1.8/introduction/policy_route_based_vpn.md): By default, strongSwan and the older models of IPsec VPNs use the policy-based routing mode.
- [Bidirectional Forwarding Detection](https://docs.cennso.com/components/cgw/1.8/introduction/bfd.md): Bidirectional Forwarding Detection (BFD) is a protocol to test if a connection is still active or if it is lost. This is very useful in case of Ethernet links, as well as for longer IP paths in case of MPLS.

## Architecture

- [Overview](https://docs.cennso.com/components/cgw/1.8/architecture/overview.md): The Architecture section presents different architecture models on implementing connectivity to other sides. These includes VPN, firewalling, routing, and any combination of these. High availability models require measures to retain a service if any of the components fails.
- [Site-to-site route-based VPN](https://docs.cennso.com/components/cgw/1.8/architecture/s2s-route-based-vpn.md): The picture presents the overall architecture of the site-to-site route-based VPN model and the functions on each part.
- [BGP routing with external default route](https://docs.cennso.com/components/cgw/1.8/architecture/bgp-default-route.md): CGW architecture consists of local routers on our side, as well as on the side of the other party.
- [High available routed attachment over VPN-secured links with liveness probes](https://docs.cennso.com/components/cgw/1.8/architecture/bgp-ha-two-sides-full-vpn-bfd.md): This document explains which protocols are running on which links and how they are stacked. This may be useful if debugging becomes necessary. The following picture shows the overall architecture, as well as labels the links, components, and interfaces…

## Installation

- [Installation](https://docs.cennso.com/components/cgw/1.8/installation/install.md): The Connectivity Gateway (CGW) component is provided as a Helm chart. The installation procedure is similar to any usual Helm chart…
- [CGW chart configuration](https://docs.cennso.com/components/cgw/1.8/installation/cgw-chart.generated.md): The following table lists the configurable parameters of the Connectivity Gateway (CGW) chart and their default values.
- [CGW Support chart configuration](https://docs.cennso.com/components/cgw/1.8/installation/cgw-support-chart.generated.md): The Connectivity Gateway (CGW) Support chart allows you to install a Grafana Dashboard and a Service Monitor. The following table lists the configurable parameters of the CGW Support chart and their default values.

## Configuration

- [General configuration](https://docs.cennso.com/components/cgw/1.8/configuration/general-values.md): This section describes root-level settings you can apply to the values.yaml file of the Connectivity Gateway (CGW) component. For more detailed configuration, follow the Tutorials section.
- [IPsec configuration](https://docs.cennso.com/components/cgw/1.8/configuration/ipsec.md): If you don't want Strongswan to install routes into the routing table, set ipsec.vti_key: true. This is strongly advised when using VTI interfaces and route-based VPN.
- [BGP configuration](https://docs.cennso.com/components/cgw/1.8/configuration/bgp.md): To use Border Gateway Protocol (BGP) in the Connectivity Gateway (CGW) deployment, enable BIRD Internet routing daemon as follows…
- [GRE configuration](https://docs.cennso.com/components/cgw/1.8/configuration/gre.md): You can add a Generic Routing Encapsulation (GRE) or GRETAP interface for tunneling of IP or Ethernet traffic respectively. See the configuration example…
- [VRRP configuration](https://docs.cennso.com/components/cgw/1.8/configuration/vrrp.md): You can activate and configure Virtual Router Redundancy Protocol (VRRP) based on keepalived. It is possible to create multiple instances, but the names and router IDs must be different. See the configuration example…
- [Traffic capturing and exposure](https://docs.cennso.com/components/cgw/1.8/configuration/traffic.md): This document explains how to capture traffic using PCAP configuration and how to publish the captured traffic using rclone.
- [Router advertisement](https://docs.cennso.com/components/cgw/1.8/configuration/router-adv.md): To enable router advertisement of IPv6 routing, enable the daemon as follows…
- [Monitoring configuration](https://docs.cennso.com/components/cgw/1.8/configuration/monitoring.md): The monitoring component of Connectivity Gateway (CGW) supports ICMP echoes to the defined endpoints and exposes them through an HTTP endpoint in the Prometheus format.
- [Debug container](https://docs.cennso.com/components/cgw/1.8/configuration/debug.md): By default, a debug container with networking tools is created during the Connectivity Gateway (CGW) deployment. To disable it, adjust these parameters…

## Tutorials

- [Imperative IP configuration](https://docs.cennso.com/components/cgw/1.8/tutorials/01-imperative-ip-configuration.md): This tutorial explains how to configure IP-related entities, such as addresses, interfaces, or tunnels using a shell script. This is the preferred way for setting up IP addresses, GRE tunnels, and VTI devices.
- [Set up a VPN connection with IPsec](https://docs.cennso.com/components/cgw/1.8/tutorials/02-setup-vpn-ipsec.md): In the current implementation of CGW, strongSwan is used as the software for VPN termination using the IPsec protocol. The following example describes how to set up an IPsec connection for the CGW Helm chart.
- [Set up a certificate-based VPN](https://docs.cennso.com/components/cgw/1.8/tutorials/03-setup-certificate-vpn.md): CGW has the option to use certificates for VPN connections. To use them, the certificates and keys must be managed as Kubernetes Secrets. These Secrets are later mounted into the CGW pod. To configure CGW to use Secrets for VPN connections, there are two steps to fulfil…
- [Set up a route-based VPN](https://docs.cennso.com/components/cgw/1.8/tutorials/04-route-based-vpn.md): This tutorial uses the result of the Policy-based VPN tutorial as a starting point. It is recommended that you read this tutorial first.
- [Secure CGW using a firewall](https://docs.cennso.com/components/cgw/1.8/tutorials/05-firewall.md): To secure the CGW pod against unwanted traffic, use iptables as a firewall. This is especially important if a public IP is attached to the pod.

## Metrics

- [Metrics](https://docs.cennso.com/components/cgw/1.8/metrics.md): Connectivity Gateway (CGW) exposes the following metrics in the Prometheus format on the /metrics endpoint…

## Releases

- [1.8.0](https://docs.cennso.com/components/cgw/1.8/releases/1.8.0.md): Release date: 2024-06-04. Connectivity Gateway (CGW) in version 1.8.0 provides several new features and bug fixes.
- [1.7.1](https://docs.cennso.com/components/cgw/1.8/releases/1.7.1.md): Connectivity Gateway (CGW) in version 1.7.1 focuses on security fixes.
- [1.7.0](https://docs.cennso.com/components/cgw/1.8/releases/1.7.0.md): Connectivity Gateway (CGW) in version 1.7.0 provides several new features and bug fixes.

## Optional

- [Full documentation](https://docs.cennso.com/components/cgw/1.8/llms-full.txt): every page of Connectivity Gateway 1.8 inline, 29 pages
- [Documentation as PDF](https://docs.cennso.com/api/download/components/cgw/1.8/documentation.pdf): 963.4 kB
- [Release notes as PDF](https://docs.cennso.com/api/download/components/cgw/1.8/release-notes.pdf): 127.3 kB
- [PDFs with their images](https://docs.cennso.com/api/download/components/cgw/1.8/pdf_generated.zip): both PDFs and the images they show, as a ZIP archive, 1 MB
