{"id":23409233,"url":"https://github.com/pilebones/fw-iptables-vps","last_synced_at":"2025-04-09T01:46:44.649Z","repository":{"id":88313703,"uuid":"45927020","full_name":"pilebones/fw-iptables-vps","owner":"pilebones","description":"Firewall configuration with Iptables for VPS","archived":false,"fork":false,"pushed_at":"2015-11-10T17:28:32.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T20:35:52.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pilebones.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}},"created_at":"2015-11-10T17:04:37.000Z","updated_at":"2015-11-17T10:15:30.000Z","dependencies_parsed_at":"2023-03-12T09:00:18.125Z","dependency_job_id":null,"html_url":"https://github.com/pilebones/fw-iptables-vps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Ffw-iptables-vps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Ffw-iptables-vps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Ffw-iptables-vps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Ffw-iptables-vps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilebones","download_url":"https://codeload.github.com/pilebones/fw-iptables-vps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247958706,"owners_count":21024827,"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-12-22T15:33:17.987Z","updated_at":"2025-04-09T01:46:44.632Z","avatar_url":"https://github.com/pilebones.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fw-iptables-vps\n\nFirewall configuration with Iptables for VPS (like OVH)\n\n## Requirements \n```bash\napt-get install chkconfig\n```\n\n## Optionnal requirements \n```bash\napt-get install fail2ban\n```\n## Security notice\n\nDefault allowed protocol :\n- SSH (port 22)\n- SMTP (port 25 : OUTPUT only)\n- DNS (port 53)\n- HTTP (port 80)\n- HTTPS (port 443: OUTPUT only)\n- GIT (port 9418)\n- OVH for the supervision (port 6100/6200)\n\nList of common attack this settings prevent :\n- TCP-SYN/FIN/ACK scan\n- TCP-XMAS scan\n- Ping of Death\n- Teardrop (fragmented UDP packets)\n- ...\n\n## How to install\n\n```bash\nsu\ncd /root/\ngit clone git@github.com:pilebones/fw-iptables-vps.git\nmv fw-iptables-vps/ firewall\ncd firewall\nvim ip-ban.bd\nvim ip-white-list.bd\n./deploy.sh\n./apply.sh\n```\n\n__Note :__ Don't miss to edit and update \"ip-ban.bd\" and \"ip-white-list.bd\" files by the future.\n\n## Limitations\n\nCurrently, tested only on a VPS with Debian Jessie as OS\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilebones%2Ffw-iptables-vps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilebones%2Ffw-iptables-vps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilebones%2Ffw-iptables-vps/lists"}