Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tux-00/routemanager
Manage routes to deal with overlapping networks.
https://github.com/tux-00/routemanager
flask manager network overlapping routes vpn
Last synced: 1 day ago
JSON representation
Manage routes to deal with overlapping networks.
- Host: GitHub
- URL: https://github.com/tux-00/routemanager
- Owner: tux-00
- License: gpl-3.0
- Created: 2017-08-29T10:04:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-04T10:17:55.000Z (about 7 years ago)
- Last Synced: 2024-06-11T02:05:04.083Z (5 months ago)
- Topics: flask, manager, network, overlapping, routes, vpn
- Language: JavaScript
- Size: 1.55 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# routemanager
[![Known Vulnerabilities](https://snyk.io/test/github/tux-00/routemanager/badge.svg)](https://snyk.io/test/github/tux-00/routemanager)Manage routes to deal with overlapping networks.
![Imgur](https://i.imgur.com/BPDQiAh.png)
## Use case
Suppose you need to connect to multiple clients/networks configured with the same network IP for any reason.
This app provide a way to easily add/remove routes to bypass overlapping.routemanager provide a way to easily manage routes.
**Warning:** as routemanager is changing routes, be carefull with this app.
## Installation
```
virtualenv -p python3 env
source env/bin/activate
pip3 install -r requirements.txt
pip3 install --editable .
```## Configuration
Open the file `routemanager/routemanager/routemanager.py` and edit the *app.config.update* dict to match your configuration.*IF_VPN* is the most important configuration, you need to provide the name of the interface to manage. If the interface doesn't exist, the app will raise an exception.
## Run
To run the app just type `routemanager` in your terminal.**Warning:** by default the app is in debug mode and listen on `0.0.0.0`.
Edit `bin/routemanager` to change listen address and debug option.
## Reset database
```
export FLASK_APP=routemanager
flask initdb
```