Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/unredacted/krouter

A program to manage GRE tunnels and static routes on Linux
https://github.com/unredacted/krouter

Last synced: about 1 month ago
JSON representation

A program to manage GRE tunnels and static routes on Linux

Awesome Lists containing this project

README

        

# krouter
A program to manage GRE tunnels and static routes on Linux

### Requirements

A config file that exists at `/etc/krouter/config.yml`

### Example configuration

```
program_settings:
log_file_path: /var/log/krouter/krouter.log
logging:
info: True
error: True
debug: True

gre_tunnels:
- name: gre1
local_ip: 192.168.1.1
remote_ip: 10.0.0.1
tunnel_ip: 10.0.0.2
subnet_mask: 31
- name: gre2
local_ip: 192.168.1.2
remote_ip: 10.0.0.2
tunnel_ip: 10.0.0.3
subnet_mask: 31

static_routes:
- destination: 192.168.2.0/24
gateway: 192.168.1.254
- destination: 192.168.3.0/24
gateway: 192.168.1.254

ecmp_routes:
- route: default
table: GRE
nexthops:
- dev: gre1
via: 10.0.40.5
weight: 1
- dev: gre2
via: 10.0.41.5
weight: 1
```