Replies: 4 comments 8 replies
-
|
Hi again
Yep, you can.
Generally geoip-shell code verifies firewall rules coherence when you call either the geoip-shell-manage script (including when using the That said, geoip-shell recreates its firewall rules structure every time any change to the firewall rules is requested, for example if you add another country code or change which ports are geoblocked, or during automatic ip lists update, or when geoip-shell is loaded after a reboot. So this is when this rule will come back. Technically, you could disable automatic updates of the ip lists and avoid using the
geoip-shell adds comments to the firewall rules it creates. These comments are internally used by geoip-shell to 1. distinguish its own rules from other rules which may exist in that table, 2. serve as an identifier for each rule, 3. categorize the rules somewhat The |
Beta Was this translation helpful? Give feedback.
-
|
To save you some time, you can use these commands to remove the 'related/established' rules for both ipv4 and ipv6: If you enabled outbound geoblocking then you may want to remove the outbound related/established rules as well using same commands, except replace But anyway, I think making the related/established rule optional may be useful in some cases, so you are welcome to make a feature request in a new issue. |
Beta Was this translation helpful? Give feedback.
-
|
BTW which source are you using? RIPE/ipdeny/MaxMind? This may affect the effectiveness of geoblocking. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @friendly-bits, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Since i'm fighting intruders i'd like to get rid of rule
ACCEPT ctstate RELATED,ESTABLISHED /* geoip-shell_aux_rel-est_4 */can i just remove (-D) the rule from command-line (it will come back when i rerun the script, right ?)
What does geoip-shell_aux_rel_est_4 refer to ?
My IP is whitelisted to prevent lockout.
If this can be done , i feel no need for a config option.
Beta Was this translation helpful? Give feedback.
All reactions