{"id":19413308,"url":"https://github.com/dushixiang/meteor","last_synced_at":"2025-04-24T12:31:30.155Z","repository":{"id":207907968,"uuid":"720361857","full_name":"dushixiang/meteor","owner":"dushixiang","description":"Meteor is a network tool that can quickly forward tcp and udp ports and start http, https and socks5 proxy servers.","archived":false,"fork":false,"pushed_at":"2024-02-29T09:22:26.000Z","size":40,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-15T00:17:27.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dushixiang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-11-18T08:42:47.000Z","updated_at":"2024-04-07T01:14:07.000Z","dependencies_parsed_at":"2023-11-18T12:22:25.070Z","dependency_job_id":"6a96282e-63fa-4f97-8de2-8f49e22f7b25","html_url":"https://github.com/dushixiang/meteor","commit_stats":null,"previous_names":["dushixiang/meteor"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dushixiang%2Fmeteor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dushixiang%2Fmeteor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dushixiang%2Fmeteor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dushixiang%2Fmeteor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dushixiang","download_url":"https://codeload.github.com/dushixiang/meteor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223952845,"owners_count":17230957,"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","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":[],"created_at":"2024-11-10T12:32:08.917Z","updated_at":"2024-11-10T12:32:09.376Z","avatar_url":"https://github.com/dushixiang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meteor\n\u003e Meteor is an access rule management software based on GeoIP, simpler and easier to use compared to Iptables, and supports both UDP and TCP protocols.\n## Usage\n\n**Installation**\n```shell\nmeteor install\n```\n\n**Modify Configuration File**\n\n```shell\nvim /etc/meteor/meteor.yaml\n```\n\nConfiguration file example:\n```shell\nlocation:\n  type: geoip                 # 目前仅支持 geoip\n  file: GeoLite2-City.mmdb    # 配置geoip后支持按城市配置规则, 数据库文件需自行下载，然后配置文件地址\nforwarders:\n  - protocol: tcp             # 仅支持 tcp 和 udp\n    addr: \":54321\"            # 本机监听地址\n    to: 127.0.0.1:12345       # 目标地址\n    rules:\n      - city: beijing,成都     # 城市，支持中文、拼音\n        allowed: true         # 是否允许访问 ✅\n      - ip: 0.0.0.0/0         # 0.0.0.0/0 代表全部的IP地址\n        allowed: false        # 这个配置的含义就是只允许 beijing和成都的IP地址访问，其他的全部禁止访问。🈲\n  - protocol: udp\n    addr: \":54321\"\n    to: 127.0.0.1:12345\nproxies:\n  - protocol: http           # 仅支持 http、https、socks5\n    addr: 127.0.0.1:80       # 本地监听地址\n    auth: true               # 是否开启认证\n    accounts:                # 账户列表\n      - username: a          # 账号\n        password: b          # 密码\n  - protocol: https\n    addr: 127.0.0.1:443   \n    key: /root/key.pem       # https key path\n    cert: /root/cert.pem     # https cert path\n    auth: true               # 是否开启认证\n    accounts:                # 账户列表\n      - username: a          # 账号\n        password: b          # 密码\n  - protocol: socks5\n    addr: 127.0.0.1:1080\n    auth: true               # 是否开启认证\n    accounts:                # 账户列表\n      - username: a          # 账号\n        password: b          # 密码\n```\n\nstart\n```shell\nmeteor start\n```\n\nstop\n```shell\nmeteor stop\n```\n\nuninstall\n```shell\nmeteor uninstall\n```\n\n## Other Parameters\n\n```shell \nmeteor -h\n```\n\n```shell\nMeteor is a network tool that can quickly forward tcp and udp ports and start http, https and socks5 proxy servers.\n\nUsage:\n  meteor [flags]\n  meteor [command]\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  install     Install meteor as a system service\n  restart     Restart meteor system service\n  start       Start meteor system service\n  stop        Stop meteor system service\n  uninstall   Uninstall meteor system service\n  version     Show version\n\nFlags:\n  -c, --config string   -c /path/config.yaml (default \"/etc/meteor/meteor.yaml\")\n  -d, --debug           print debug log\n  -h, --help            help for meteor\n\nUse \"meteor [command] --help\" for more information about a command.\n```\n\n### Example\nDynamic Debug Mode\n```shell\nmeteor install -d\n```\nView Running Logs\n```shell\njournalctl -u meteor -f\n```\n\n## TODO List\n- Status statistics function\n  - Connection times, total, total data transmission volume, top-level IP access, top-level IP rejection, and other information statistics and display (command line)\n- Structured logging\n  - Structured recording of connection logs for unified log takeover\n  - Log Elasticsearch bridging\n- Threat intelligence bridging\n  - download\n  - Upload\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdushixiang%2Fmeteor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdushixiang%2Fmeteor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdushixiang%2Fmeteor/lists"}