{"id":22880628,"url":"https://github.com/elliotsecops/ufw-rules","last_synced_at":"2026-05-01T14:33:56.256Z","repository":{"id":213443278,"uuid":"734111302","full_name":"elliotsecops/UFW-Rules","owner":"elliotsecops","description":"A script to execute the essential UFW rules.","archived":false,"fork":false,"pushed_at":"2023-12-21T01:49:24.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T15:36:34.372Z","etag":null,"topics":["bash-script","cybersecurity","firewall","firewall-management","firewall-rules","linux-administration","sysadmin","ufw-firewall"],"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/elliotsecops.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}},"created_at":"2023-12-20T22:33:08.000Z","updated_at":"2024-10-02T14:16:23.000Z","dependencies_parsed_at":"2023-12-21T02:35:59.677Z","dependency_job_id":"26521ceb-f4e8-4113-a1fd-99b2f02794ad","html_url":"https://github.com/elliotsecops/UFW-Rules","commit_stats":null,"previous_names":["elliott-fibonacci/ufw-rules","elliotsecops/ufw-rules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elliotsecops/UFW-Rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FUFW-Rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FUFW-Rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FUFW-Rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FUFW-Rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elliotsecops","download_url":"https://codeload.github.com/elliotsecops/UFW-Rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotsecops%2FUFW-Rules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["bash-script","cybersecurity","firewall","firewall-management","firewall-rules","linux-administration","sysadmin","ufw-firewall"],"created_at":"2024-12-13T17:20:12.706Z","updated_at":"2026-05-01T14:33:56.234Z","avatar_url":"https://github.com/elliotsecops.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ufw rules \n(EN) A script to execute the essential UFW rules.\n(ES) Secuencias de comandos para ejecutar las reglas esenciales de UFW.\n\n# Configuración básica de UFW en Bash\n\nEste script permite aplicar la configuración básica de seguridad del firewall UFW de forma automatizada mediante Bash.\n\n## Objetivo \n\nEl objetivo del script es establecer las políticas predeterminadas de UFW en modo bloqueo (deny) y permitir sólo los puertos necesarios para poder navegar y acceder de forma remota al sistema de forma segura.\n\n## Uso\n\n1. Dar permisos de ejecución:\n\n```  \nchmod +x ufw-config.sh\n```\n  \n2. Ejecutar el script:\n\n```\n./ufw-config.sh\n```\n\n## Configuración\n\nEl script aplica la siguiente configuración de UFW:\n\n- Habilita el firewall\n- Establece políticas predeterminadas en deny para entrada y salida  \n- Permite la salida a través de la interfaz eth0\n- Permite los puertos 80, 443 y 22 entrantes desde cualquier IP\n\nEste script está diseñado para configurar de forma básica UFW en sistemas Debian/Ubuntu y puede ser utilizado como punto de partida para implementar el firewall. Favor revisar y probar en un entorno aislado antes de usarlo en producción.\n\n\n# Basic UFW configuration in Bash.\n\nThis script allows you to apply basic UFW firewall security configuration in an automated way using Bash.\n\n## Objective. \n\nThe goal of the script is to set the default UFW policies to block (deny) mode and allow only the necessary ports to securely browse and remotely access the system.\n\n## Usage\n\n1. Set permissions to run the script:\n   \n```\nchmod +x ufw-config.sh\n```\n   \n2. Run the script:\n\n```\n./ufw-config.sh\n```\n\n## Configuration\n\nThe script applies the following UFW configuration:\n\n- Enables the firewall\n- Sets default policies on deny for ingress and egress  \n- Allow outbound through eth0 interface\n- Allow incoming ports 80, 443 and 22 from any IP\n\nThis script is designed for basic UFW configuration on Debian/Ubuntu systems and can be used as a starting point for firewall implementation. Please review and test before using it in production.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotsecops%2Fufw-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felliotsecops%2Fufw-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotsecops%2Fufw-rules/lists"}