Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/unredacted/krouter
- Owner: unredacted
- License: gpl-3.0
- Created: 2024-01-03T00:05:49.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-03T08:02:16.000Z (12 months ago)
- Last Synced: 2024-06-20T22:28:58.220Z (6 months ago)
- Language: Go
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: Truegre_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: 31static_routes:
- destination: 192.168.2.0/24
gateway: 192.168.1.254
- destination: 192.168.3.0/24
gateway: 192.168.1.254ecmp_routes:
- route: default
table: GRE
nexthops:
- dev: gre1
via: 10.0.40.5
weight: 1
- dev: gre2
via: 10.0.41.5
weight: 1
```