---
title: "Discussion on \"🇿🇦 cntgate - script to block access to all countries except South Africa for a host 📜\" | Hashnode"
description: "Discussion on \"🇿🇦 cntgate - script to block access to all countries except South Africa for a host 📜\". Script to accept only South African connections on a Linux host using nftables"
url: "https://hashnode.com/posts/cntgate-script-to-block-access-to-all-countries-except-south-africa-for-a-host/6632bb7a5e6e05ce9bf9040e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [🇿🇦 cntgate - script to block access to all countries except South Africa for a host 📜](https://hubandspoke.amastelek.com/cntgate-script-to-block-access-to-all-countries-except-south-africa-for-a-host?utm_source=hashnode&utm_medium=feed)

Script to accept only South African connections on a Linux host using nftables

May 1, 2024 · 5 min read · hubandspoke.amastelek.com  
Updated May 26, 2024  
Read the article

-   [#bash-scripts](https://hashnode.com/tag/bash-scripts)
-   [#netfilter](https://hashnode.com/tag/netfilter)
-   [#linux](https://hashnode.com/tag/linux)
-   [#southafrica](https://hashnode.com/tag/southafrica)

## Written by

[Ronald Bartels](https://hashnode.com/@Mastelek)

@Mastelek · Fourways, South Africa

  
[View profile](https://hashnode.com/@Mastelek)

Driving SD-WAN adoption in South Africa

Driving SD-WAN Adoption in South Africa

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
