{"id":16162692,"url":"https://github.com/andrey0001/iptables-dynamic","last_synced_at":"2026-04-30T10:03:16.174Z","repository":{"id":95802684,"uuid":"489786242","full_name":"andrey0001/iptables-dynamic","owner":"andrey0001","description":"For use with ipset dynamically renewed","archived":false,"fork":false,"pushed_at":"2022-09-11T20:20:42.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T03:48:43.713Z","etag":null,"topics":["dynamic","firewall","firewall-rules","ipset","ipset-lists","iptables","linux"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/andrey0001.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,"publiccode":null,"codemeta":null}},"created_at":"2022-05-07T21:34:33.000Z","updated_at":"2023-05-12T17:08:00.000Z","dependencies_parsed_at":"2023-03-05T03:00:31.616Z","dependency_job_id":null,"html_url":"https://github.com/andrey0001/iptables-dynamic","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.33333333333333337","last_synced_commit":"eec3e3dad28fb0c6e0539f61d59cc896cfb7b924"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrey0001/iptables-dynamic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrey0001%2Fiptables-dynamic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrey0001%2Fiptables-dynamic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrey0001%2Fiptables-dynamic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrey0001%2Fiptables-dynamic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrey0001","download_url":"https://codeload.github.com/andrey0001/iptables-dynamic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrey0001%2Fiptables-dynamic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["dynamic","firewall","firewall-rules","ipset","ipset-lists","iptables","linux"],"created_at":"2024-10-10T02:32:20.049Z","updated_at":"2026-04-30T10:03:16.146Z","avatar_url":"https://github.com/andrey0001.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Use iptables with ipset and dymanic ip-s.\n\nSmall sripts to use with iptables for dynamic ip.\n\nipsetd - add ip of domain to ipset list (even if domain has more that one ip) . Check path of ipset programm inside.\n\u003e ipsetd (listname) (domain)\n\ntrustlist.sh - add multiple domains to ipset. Also for use with cron. You can customize ipset list name by cli argument 1. By default name is trust-ip\n\u003e trustlist.sh [listname]\n\nCheck and edit DomainsArray in trustlist.sh before use\n\nCreate new ipset list \"trust-ip\": ipset create trust-ip hash:ip\n\nRun trustlist.sh\n\nAdd rule to iptables:\n\u003e iptables -I INPUT -m set --match-set trust-ip src -j ACCEPT\n\nThen add cron job:\n\u003e */5 * * * * /root/bin/trustlist.sh trust-ip\n\nEvery 5 min list will be renewed \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrey0001%2Fiptables-dynamic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrey0001%2Fiptables-dynamic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrey0001%2Fiptables-dynamic/lists"}