{"id":18561880,"url":"https://github.com/sir-go/vyos-balancer","last_synced_at":"2025-08-12T00:33:16.178Z","repository":{"id":144671974,"uuid":"555833618","full_name":"sir-go/vyos-balancer","owner":"sir-go","description":"cli tool for balance traffic between two uplinks","archived":false,"fork":false,"pushed_at":"2022-11-24T12:33:48.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T17:09:55.701Z","etag":null,"topics":["balancer","cli","go","golang","network","vyos"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sir-go.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-22T12:46:02.000Z","updated_at":"2022-11-24T12:34:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"e81a9ef8-ec08-4106-92a2-2fa15f483ffb","html_url":"https://github.com/sir-go/vyos-balancer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sir-go/vyos-balancer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fvyos-balancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fvyos-balancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fvyos-balancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fvyos-balancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sir-go","download_url":"https://codeload.github.com/sir-go/vyos-balancer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fvyos-balancer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269980952,"owners_count":24507274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["balancer","cli","go","golang","network","vyos"],"created_at":"2024-11-06T22:08:09.346Z","updated_at":"2025-08-12T00:33:16.150Z","avatar_url":"https://github.com/sir-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traffic balancing daemon for [VyOS Router](https://vyos.io/vyos-router)\n[![Go](https://github.com/sir-go/vyos-balancer/actions/workflows/go.yml/badge.svg)](https://github.com/sir-go/vyos-balancer/actions/workflows/go.yml)\n\nWe have two uplink providers with different NAT subnets for each.\n\nThe daemon regularly checks the usage of each uplink interface and moves firewall NAT rules\nfrom the more loaded to the less.\n\n## Test\n```bash\ngo test -v ./cmd/vyosctl\ngosec -exclude=G402 ./...\n```\n\n## Build\n```bash\ngo mod download \u0026\u0026 go build -o vyosctl ./cmd/vyosctl\n```\n\n## Flags\n`-c \u003cconfig file path\u003e` - path to `*.toml` config file\n\n## Config\n```\noverflow_count = 6        # uplink overflow count\ncheck_period = \"5s\"       # how often check uplinks\n\n[vyos]\naddr = \"https://---\"      # url to VyOS API\nkey  = \"//\"               # VyOS API token\n\n[beeline]                 # 1st uplink name\nalias = \"enp3s0.304\"      # interface\nlz = 10                   # Mbps - zero level for traffic\nl0 = 850                  # Mbps - lower edge\nl1 = 2900                 # Mbps - upper edge\nnat = \"185.46.0.0/24\"   # NAT external subnet\n\n[TTK]                 # 2nd uplink name\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsir-go%2Fvyos-balancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsir-go%2Fvyos-balancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsir-go%2Fvyos-balancer/lists"}