Closed imdrpn closed 3 years ago
Hi there,
To allow traffic from certain countries and your public IP, you can use the --exceptions
flag to explicitly allow packets from your public IP through the firewall.
So, given your example. You'll need to run the following command:
# nft-geo-filter --allow --exceptions <YOUR_PUBLIC_IP> US CN
Hello , Thanks a lot. I thought --exceptions flag will work only for those countries which we have mentioned in command .
Hello , firstly I really appreciated by your work on GEO filter . but at a time it's only taking one rule, also if I want to allow two countries IPs suppose US, CN and only My public ip (IN) Then how it will work ?