Skip to content

A program to manage GRE tunnels and static routes on Linux

License

Notifications You must be signed in to change notification settings

unredacted/krouter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A program to manage GRE tunnels and static routes on Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages