# Connectivity Gateway 1.6

> Documentation for Connectivity Gateway 1.6. 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.6.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.

## Installation

- [Installation](https://docs.cennso.com/components/cgw/1.6/install.md): The Connection Gateway component is provided as a Helm chart. The installation procedure is similar to any usual Helm chart…

## Concepts

- [Introduction](https://docs.cennso.com/components/cgw/1.6/concepts.md): This part of the documentation will explain the overall ideas of the CGW and the concepts of the interworking of the components. If you want to be guided step by step through the different components, have a look at the Tutorials.
- [Policy and route-based VPN](https://docs.cennso.com/components/cgw/1.6/concepts/policy_route_based_vpn.md): The default routing mode ode Strongswan and also the older model of IPSEC VPNs in general is policy based routing.
- [Routing basics](https://docs.cennso.com/components/cgw/1.6/concepts/routing_basics.md): For announcing routes to external partners, we use the BGP protocol (Border Gateway Protocol). Using this, the routers connect and create a session and announce network prefixes.
- [Bidirectional Forwarding Detection](https://docs.cennso.com/components/cgw/1.6/concepts/bfd.md): Bidirectional Forwarding Detection 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.
- [Models › Introduction](https://docs.cennso.com/components/cgw/1.6/concepts/models.md): Models describe a certain architecture of implementing connectivity to other sides. This may include VPN, fire-walling, and routing, or any combination of these.
- [Models › Site-to-site route-based VPN](https://docs.cennso.com/components/cgw/1.6/concepts/models/s2s-route-based-vpn.md): In the following picture, you see the overall architecture of this model and the functions on each part.
- [Models › BGP routing with external default route](https://docs.cennso.com/components/cgw/1.6/concepts/models/bgp-default-route.md): As shown in the overview, the architecture consists of routers on our side as well as the side of the other party.
- [Models › High available routed attachment over VPN-secured links with liveliness probes](https://docs.cennso.com/components/cgw/1.6/concepts/models/bgp-ha-two-sides-full-vpn-bfd.md): As this is the currently mode complicated model, I assume, that you have read the documentation on MODEL-1 and MODEL-2 first, to get a basic understanding of the underlying components beeing BGP routing and IPSEC VPN termination.

## Tutorials

- [Imperative IP configuration](https://docs.cennso.com/components/cgw/1.6/tutorials/imperative_ip_configuration.md): This tutorial explains how to configure IP related entities like addresses, interfaces or tunnels using a shell script. This is the preferred way for setting up IP addresses, GRE tunnels, VTI devices, which will be explained in more details in later sections.
- [Set up a VPN connection with IPsec](https://docs.cennso.com/components/cgw/1.6/tutorials/setup_ipsec.md): In the current implementation of CGW we will use Strongswan as the software used for VPN termination using the IPSEC protocol. In the following, we will go through an example of setting up an IPSEC connection for the CGW Helm Chart.
- [Set up a certificate-based VPN](https://docs.cennso.com/components/cgw/1.6/tutorials/certificate_based_vpn.md): CGW has the option to use certificates for VPN connections. To use these, the certificates and keys have to be managed as Kubernetes secrets. These will then be mounted into the CGW pod. To configure CGW to use secrets for VPN connections there are two steps to fulfill…
- [Set up a route-based VPN](https://docs.cennso.com/components/cgw/1.6/tutorials/route_based_vpn.md): If you have not already read up on the differences between route-based and policy-based VPN, please do so. We will use the result of the tutorial on policy based vpn as a starting point. So if you did not went through this tutorial first, please do so.
- [Secure CGW using a firewall](https://docs.cennso.com/components/cgw/1.6/tutorials/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.

## Optional

- [Full documentation](https://docs.cennso.com/components/cgw/1.6/llms-full.txt): every page of Connectivity Gateway 1.6 inline, 15 pages
- [Documentation as PDF](https://docs.cennso.com/api/download/components/cgw/1.6/documentation.pdf): 4.1 MB
- [PDFs with their images](https://docs.cennso.com/api/download/components/cgw/1.6/pdf_generated.zip): both PDFs and the images they show, as a ZIP archive, 4 MB
