{"id":22628032,"url":"https://github.com/turgon37/iptables","last_synced_at":"2025-10-29T19:32:24.386Z","repository":{"id":85533195,"uuid":"42397295","full_name":"Turgon37/Iptables","owner":"Turgon37","description":"An iptables bash loader script","archived":false,"fork":false,"pushed_at":"2016-11-18T20:36:09.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T06:27:52.073Z","etag":null,"topics":["firewall","iptables-rules"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Turgon37.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":"2015-09-13T13:43:16.000Z","updated_at":"2017-03-26T14:45:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f9b412e-d6ae-4789-8f22-0611e9f1a0a4","html_url":"https://github.com/Turgon37/Iptables","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Turgon37/Iptables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turgon37%2FIptables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turgon37%2FIptables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turgon37%2FIptables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turgon37%2FIptables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Turgon37","download_url":"https://codeload.github.com/Turgon37/Iptables/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turgon37%2FIptables/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266578680,"owners_count":23951150,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["firewall","iptables-rules"],"created_at":"2024-12-09T01:17:52.059Z","updated_at":"2025-10-29T19:32:19.353Z","avatar_url":"https://github.com/Turgon37.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iptables Loader\n\nThis project is licensed under the terms of the MIT license\n\nThis is a shell script which provide a way to load iptables rules based on a configuration file.\n\nIt consists in a main script iptables.sh, which read a configuration file and load all iptables rules according to this.\n\nThe main script is independant, if you want to load it as a system service (for example at boot time) you have to write a service script according to your distribution boot system (init, systemd ...)\n\nTake care, the default given configuration correspond to a server usage, and it's that why, some basic rules must not be configured to allow basic traffic.\n\n\n## Usage\n\nRun the script as root user manually from it location like\n\n```bash\n  ./iptables-loader.sh COMMAND  \n```\n\nUse the `help` command to show the full list of COMMAND\n\n!!!! Use the test command to start the firewall after rules editing.\nIt provide a facility to rollback if error cause lost of connection\n\n\n## Configuration\n\nSee the CONFIG.md file for configuration details\n\n[Configuration](CONFIG.md)\n\n## Installation\n\nCurrently this script is only available for System-V init\n\n### On debian installation\n\n  1. Put the script into an appropriate folder and copy the service files from github service/ folder into your system /etc/init.d/ folder\n  2. You can build the Debian deb package with the given Makefile. Use `make package-debian` then `make build-debian` \n    The service can be managed by /etc/init.d/iptables script or by the distribution available command such as ```service```\n\n##### Requires:\n  * A Debian based distribution\n\n\n### In all installation\n\nPut the script in a appropriate folder and write a system service script according to your booting manager if you want to run the firewall automatically at startup\n\n##### Requires:\n  * A Linux kernel \u003e 2.4\n  * The `iptables` command\n\n  * xtables-addons to use some extra features","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturgon37%2Fiptables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturgon37%2Fiptables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturgon37%2Fiptables/lists"}