https://github.com/catoverflow/inet-daemon
https://github.com/catoverflow/inet-daemon
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/catoverflow/inet-daemon
- Owner: Catoverflow
- Created: 2021-11-03T15:46:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-03T15:53:42.000Z (over 4 years ago)
- Last Synced: 2025-07-18T11:39:22.006Z (11 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Inet Daemon Version 2
## Dependencies
`python3` `wireguard-tools` `bird`
And python packages in `requirements.txt`
## Details
Set up WireGuard tunnel as basis of OSPF, maintaining a dynamic configurable Mesh network.
## Steps
1. Get keypair for this device
Add the public key and device info (if new) to remote config (refer to exp.yml)
2. Run `python setup.py ${github repo} $(this_device_uuid) $(wireguard_privatekey_in_string)`
Details:
1. Config will be fetched to local
2. Setup WireGuard interface according to the config
3. Bird runs OSPF and generates routing rules
3. Add daemon to crontab
Detailss:
1. Daemon will run periodly to download and renew config
2. WireGuard tunnel and bird OSPF will update accordingly
The config should be placed in github repo's root directory
## Todos
- Add internet access routing support (edge AS routing)