{"id":14064386,"url":"https://github.com/Digressive/Internet-Access-Control","last_synced_at":"2025-07-29T18:32:02.490Z","repository":{"id":113371563,"uuid":"211530770","full_name":"Digressive/Internet-Access-Control","owner":"Digressive","description":"Control internet access with Windows Firewall","archived":false,"fork":false,"pushed_at":"2024-09-03T13:28:05.000Z","size":32,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-20T17:57:15.829Z","etag":null,"topics":["firewall","firewall-rule","powershell-script","windows"],"latest_commit_sha":null,"homepage":"https://gal.vin/posts/internet-access-control-utility/","language":"PowerShell","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/Digressive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-09-28T16:38:52.000Z","updated_at":"2024-09-03T13:28:10.000Z","dependencies_parsed_at":"2024-05-15T13:54:19.357Z","dependency_job_id":"d0021717-2997-4c0a-86f3-c3c20ed9b36a","html_url":"https://github.com/Digressive/Internet-Access-Control","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/Digressive%2FInternet-Access-Control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digressive%2FInternet-Access-Control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digressive%2FInternet-Access-Control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Digressive%2FInternet-Access-Control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Digressive","download_url":"https://codeload.github.com/Digressive/Internet-Access-Control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228040509,"owners_count":17860210,"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":["firewall","firewall-rule","powershell-script","windows"],"created_at":"2024-08-13T07:03:50.531Z","updated_at":"2024-12-04T03:30:28.318Z","avatar_url":"https://github.com/Digressive.png","language":"PowerShell","funding_links":["https://github.com/sponsors/Digressive","https://www.paypal.me/digressive"],"categories":["PowerShell"],"sub_categories":[],"readme":"# Internet Access Control Utility\n\n## Control internet access with Windows Firewall\n\nFor full change log and more information, [visit my site.](https://gal.vin/utils/internet-access-control-utility/)\n\nInternet Access Control Utility is available from:\n\n* [GitHub](https://github.com/Digressive/Internet-Access-Control)\n* [The Microsoft PowerShell Gallery](https://www.powershellgallery.com/packages/Internet-Access-Control)\n\nPlease consider supporting my work:\n\n* Support with [Github Sponsors](https://github.com/sponsors/Digressive).\n* Support with a one-time donation using [PayPal](https://www.paypal.me/digressive).\n\nPlease report any problems via the ‘issues’ tab on GitHub.\n\nThanks\n-Mike\n\n## Features and Requirements\n\n* It requires Windows Firewall to be active.\n* The utility requires at least PowerShell 5.0.\n* Tested on Windows 11 and Windows 10.\n\n## Configuration\n\nHere’s a list of all the command line switches and example configurations.\n\n| Command Line Switch | Description | Example |\n| ------------------- | ----------- | ------- |\n| -Disable | Block the internet. Create the firewall rule to block ports 80 and 443 | N/A |\n| -Enable | Allow the internet. Removes the firewall rule created, allowing the ports 80 and 443 | N/A |\n| -L | The path to output the log file to. | [path\\] |\n| -LogRotate | Remove logs produced by the utility older than X days | [number] |\n| -NoBanner | Use this option to hide the ASCII art title in the console. | N/A |\n| -Help | Display usage information. No arguments also displays help. | N/A |\n\n## Example\n\n``` txt\n[path\\]Internet-Access-Control.ps1 -Disable\n```\n\nThis will create a Windows Firewall rule to block internet access using ports 80 and 443.\n\n## Change Log\n\n### 2023-04-28: Version 23.04.28\n\n* Cleaned up the output.\n\n### 2022-06-14: Version 22.05.30\n\n* Added checks and balances to help with configuration as I'm very aware that the initial configuration can be troublesome. Running the utility manually is a lot more friendly and step-by-step now.\n* Added -Help to give usage instructions in the terminal. Running the script with no options will also trigger the -help switch.\n* Cleaned user entered paths so that trailing slashes no longer break things or have otherwise unintended results.\n* Added -LogRotate [days] to removed old logs created by the utility.\n* Streamlined config report so non configured options are not shown.\n* Added donation link to the ASCII banner.\n* Cleaned up code, removed unneeded log noise.\n\n### 2021-12-08: Version 21.12.08\n\n* Configured logs path now is created, if it does not exist.\n* Added OS version info.\n* Added Utility version info.\n* Added Hostname info.\n* Changed a variable to prevent conflicts with future PowerShell versions.\n\n### 2020-03-18: Version 20.03.18 'Lock'\n\n* Improved feedback in the console and log.\n* Improved documentation.\n\n### 2020-03-17: Version 20.03.17 'Lock'\n\n* Added logging.\n* Added config report.\n* Made available on PowerShell gallery.\n* Refactored code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDigressive%2FInternet-Access-Control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDigressive%2FInternet-Access-Control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDigressive%2FInternet-Access-Control/lists"}